I am trying to define an arbitrary directory to hold all jar files I
need in a <scriptdef> and "somehow" force ant to use that directory (and
its contents) as part of the classpath...
I know I can use -lib option for ant, but I am hoping there is something
I can do inside my ant script. I was able to include the ant-contrib
package programatically using:
<taskdef classpath = "/foo/bar/ant-contrib.jar" resource =
"net/sf/antcontrib/antlib.xml"/>
I'm hoping there is a similar mechanism I am missing.
The script language I am trying to use is beanshell. For various
reasons (long story) I want to do this inside an ant script if
possible. I do know I can also put the jars in $ANT_HOME/lib - again
I'm not wanting to do that...
Thanks ahead of time...
Scot
--
Scot P. Floess
27 Lake Royale
Louisburg, NC 27549
252-478-8087 (Home)
919-754-4592 (Work)
Chief Architect JPlate http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]