ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pareti, Joseph" <Joseph.Par...@hp.com>
Subject Usage of classpath/path constructs
Date Mon, 29 Sep 2008 14:18:32 GMT
I have modified an existing build file  wrt a construct within the javac target:


My intention is to expand the classpath already defined in jboss.jars with additional libraries
under /usr/java/jdk1.5.0_02/jre/lib

However (being a novice) I am not sure the code I have written does what I want, infact I
suspect it be wrong
===============

Original construct

<javac srcdir="${srcDirClientApp}"
destdir="${buildDirClientApp}"
deprecation="${compile.deprecation}"
optimize="${compile.optimize}"
debug="${compile.debug}"
includes="**/*.java">
<classpath path="${classpath}">
<path refid="jboss.jars"/>
<path location="${buildDirCommon}"/>
<path location="${buildDirClientCommon}"/>
</classpath>
</javac>


Modified construct:

<javac  srcdir="${srcDirClientApp}"
destdir="${buildDirClientApp}"
deprecation="${compile.deprecation}"
optimize="${compile.optimize}"
debug="${compile.debug}"
includes="**/*.java">
<classpath path="/usr/java/jdk1.5.0_02/jre/lib">
<path refid="jboss.jars"/>
<path location="${buildDirCommon}"/>
<path location="${buildDirClientCommon}"/>
</classpath>
</javac>




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message