>> Inside the buildfile you could use <path>s, e.g.
>>
>> <path id="classpath">
>>     <fileset dir="lib" excludes="dont-use-this.jar"/> </path> <java 
>> .... classpathref="classpath"/>

>I have tested this. It does not work. I tested by 
>creating a dummy class, and installing it's jar in the 
>standard ant library directory. Even when I explicitly tell 
>ant to ignore this jar in the way you suggested, using the 
>javac task in another project finds the class.

Why do you put libs in ANT_HOME/lib ?
All classes there are added to Ants classpath by Ants launcher class.
And
only tasks and external libraries for tasks make little sence here.


Jan

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

Reply via email to