antnewbie,

you can try this:

<project name"project">
[...]
<path id="master-classpath">
<fileset dir="${your.lib.dir}">
<include name="*.jar"/>
</fileset>
</path>

[...]
<target name="compilation">
<javac destdir="${build.dir}" target="1.4" source="1.4" >
<src path="${src.dir}"/>
<classpath refid="master-classpath"/>
</javac>
</target>
[...]
</project>

check out this :
http://ant.apache.org/manual/using.html#references

hope this help
Hi,

I am a newbie with ant. My application uses about 10 jar files.Now, to
compile with ant, I would need to add reference to these jar files.How can I
do this? regards
newbie


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to