HI todd Have you tried the following option ?? 1. -lib option 2. classpath attribute in taskdef
On Nov 21, 2007 2:15 AM, todd runstein <[EMAIL PROTECTED]> wrote: > 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] > > -- Thank you Ramu S If A is success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut. - Albert Einstein