[Bug 76919] New: ANT ignores CLASSPATH from project settings
Autumn
bung at sympatico.ca
Sun Mar 7 05:07:06 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=76919
Summary: ANT ignores CLASSPATH from project settings
Product: kdevelop
Version: 3.0.1
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-devel kdevelop org
ReportedBy: bung sympatico ca
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'
More information about the KDevelop-devel
mailing list