ANT_HOME is used for ant

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 1.1
    • Affects Version/s: 1.0.1
    • Component/s: Tasks
    • None
    • Environment:

      war distribution running on Windows in Tomcat 5.5.23

      ANT_HOME environment variable appears to take precedence over which version of Ant is configured as the builder.

      ANT_HOME pointed to a 1.6.2 version. I was getting a Class org.apache.tools.ant.taskdefs.ConditionTask doesn't support the "else" attribute error, even though the builder was version 1.6.5. Once I reset the variable and restarted tomcat, everything worked properly.

        1. buildresults1.xml
          3 kB
          Doug South

            Assignee:
            MarkC
            Reporter:
            Doug South
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: