Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-714

logback.xml not found in ant, checkstyle task

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.0.5
    • logback-core
    • None

    Description

      the following works when using checkstyle-5.5:
      <path id="checkstyle.classpath">
      <pathelement path="path-where-logback.xml-is-located"/>

      <taskdef resource="checkstyletask.properties" classpathref="checkstyle.classpath" onerror="failall"/>
      <target name="checkstyle">

      without putting it in the tasks classpath, but doing:
      ant -k -Dlogback.configurationFile=path-where-logback.xml-is-located/logback.xml

      seems not to find logback.xml.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            rupertthurner rupert thurner
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: