ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Gill" <Ben.G...@t-mobile.co.uk>
Subject RE: Appending to ANT classpath
Date Mon, 18 Oct 2004 10:46:03 GMT
That would certainly fix my problem nicely... (I would not even have to
remove the jar file ant-apache-bsf.jar from my lib dir as, for some
reason, it does not contain BSFException which is the class it cannot
find!)
 
But it seems there is a bug in the taskdef class whereby it does not
load the classpath properly...

I'll just copy them to ANT_HOME/lib and be done with it!

Thanks



-----Original Message-----
From: Ivan Ivanov [mailto:rambiusparkisanius@yahoo.com] 
Sent: 18 October 2004 11:26
To: Ant Users List
Subject: RE: Appending to ANT classpath

See this:
http://ant.apache.org/faq.html#delegating-classloader

You can predefine <scriptdef> task to load bgs.jar and
js.jar from your custom location but thus requires
copying ant-apache-bsf.jar out of ant distro to your
custom location.

Sorry, cannot think of something better.

--- Ben Gill <Ben.Gill@t-mobile.co.uk> wrote:

> The jar files are bsf.jar (apache BSF) and js.jar
> (rhino) ...
> 
> The trouble is, the scriptdef tag does not allow you
> to specify a
> classpath...
> 



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

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



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


Mime
View raw message