ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Is it possible to use <script> without putting JARs in $ANT_HOME/lib?
Date Wed, 05 Apr 2006 03:58:44 GMT
Hi Matt,

I know you've solved your problem already, but still want to chime in.

On Tue, 4 Apr 2006, Matt Raible <mraible@gmail.com> wrote:

> I'd like to use the <script> task without putting bsf.jar and js.jar
> in ANT_HOME/lib.  Is that possible?

Yes, the easy way would be to place them in ${user.dir}/.ant/lib or
use -lib on the command line.  The harder way would be to remove the
optional jar that depends on bsf from ANT_HOME/lib and add it to the
same <classpath> that holds bsf.jar and js.jar.

The stuff said in the FAQ
<http://ant.apache.org/faq.html#delegating-classloader> applies to the
script task as well.

Stefan

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


Mime
View raw message