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:[EMAIL PROTECTED] 
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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to