I'm writing an ant task that calls a Java class named Engine.  Engine
is in a jar file that is included in my taskdef using the classpath
tag.  This all works great.

The problem I'm having is that one of Engine's methods calls
"Class.forName()", trying to dynamically add a class file that is not
in it's jar file.  Here I'm getting a ClassNotFoundException.  I've
tried a few things to manually set the classpath that Ant uses, but
I'm just hacking aimlessly and have had no luck.  Could someone give
me some direction to manually adding to the classpath that Engine will
ultimately work with?

Thanks in advance!

Todd

-- 


----------------------------------------------------------------------
The only "dumb question" is the one you were too afraid to ask.
________________________________________
Check out RouteRuler - Free software for runners, cyclists, walkers, etc.
http://routeruler.sourceforge.net
________________________________________

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

Reply via email to