On 24 Jul 2001, <[EMAIL PROTECTED]> wrote: > I want to make it easy for my projects to be downloaded and built > without any major CLASSPATH hacks. I am putting all my .jar files > into PROJECT/lib but I am hving to manually add EACH .jar into the > "classpath" attribute on the javac task.
This should do it (possible since Ant 1.2):
<javac ...>
<classpath>
<fileset dir="PROJECT/lib">
<include name="*.jar" />
</fileset>
</classpath>
</javac>
Stefan
