ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: rexec
Date Fri, 14 Dec 2007 19:25:49 GMT
Use the -lib option when running ant. For example...

ant -lib /path/to/jars target

See the documentation for more details. http://ant.apache.org/manual/running.html#options


-Rob Anderson

-----Original Message-----
From: Bourzeix, Hervé [mailto:Herve.Bourzeix@Genesys.com] 
Sent: Wednesday, December 12, 2007 10:54 AM
To: Ant Users List; user@ant.apache.org
Subject: rexec

question regarding rexec task , how I can build dymically the classpath used by this task
? it required commons-net-xx.jar 

I want to avoid to put the dependency jars in the ant lib. I tried to redefine the task and
use a user defined classpath but it seems the task is still using the main ant classloader
instead of the taskdef classpath I indicate to search for commons-net.

regards,



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


Mime
View raw message