| Summary: | ANT ignores CLASSPATH from project settings | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Autumn <bung> |
| Component: | Build tools: ANT | Assignee: | KDevelop Developers <kdevelop-devel> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 3.0.1 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
ant support is dead since a long time, this won't get fixed. |
Version: 3.0.1 (using KDE 3.1.5) Installed from: (testing/unstable) Compiler: gcc version 3.3.3 20031229 (prerelease) (Debian) OS: Linux (i686) release 2.4.24-1-686-smp For ANT projects only, the value of the CLASSPATH dialog is ignored at buildtime. KDevelop sets CLASSPATH prior to calling ANT, which sets an overriding value. In the output below, I have added an <echo> ecp = ${env.CLASSPATH}"</echo> to the <target name=compile> section of build.xml. *CLASSPATH=/home/aumanetz/data/dev/robocode/robocode.jar cd /home/aumanetz/kdd && ant dist -buildfile build.xml -verbose <snip> *[echo] ecp = /usr/share/ant/lib/ant-optional.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/antlr.jar:/usr/share/ant/lib/bsf.jar:/usr/share/ant/lib/jdepend.jar:/usr/share/ant/lib/junit.jar:/usr/share/ant/lib/jython.jar:/usr/share/ant/lib/log4j-1.2.jar:/usr/share/ant/lib/oro.jar:/usr/share/ant/lib/regexp.jar:/usr/share/ant/lib/xalan2.jar:/usr/share/ant/lib/xercesImpl.jar:/usr/share/ant/lib/xmlParserAPIs.jar:/usr/lib/j2se/1.4//lib/tools.jar" <snip> *[javac] Using modern compiler *[javac] Compilation arguments: *[javac] '-d' *[javac] '/home/aumanetz/kdd/build' *[javac] '-classpath' *[javac] '/home/aumanetz/kdd/build:/usr/share/ant/lib/ant-optional.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/antlr.jar:/usr/share/ant/lib/bsf.jar:/usr/share/ant/lib/jdepend.jar:/usr/share/ant/lib/junit.jar:/usr/share/ant/lib/jython.jar:/usr/share/ant/lib/log4j-1.2.jar:/usr/share/ant/lib/oro.jar:/usr/share/ant/lib/regexp.jar:/usr/share/ant/lib/xalan2.jar:/usr/share/ant/lib/xercesImpl.jar:/usr/share/ant/lib/xmlParserAPIs.jar:/usr/lib/j2se/1.4/lib/tools.jar' *[javac] '-sourcepath' *[javac] '/home/aumanetz/kdd' *[javac] '-g:none'