Re: How do I set a classpath for my custom task?

2007-11-21 Thread todd runstein
The project is non platform specific, so it can run in a container, in a swing app, or from the command line. The project applies schema changes to a database. The user creates a class that implements a single interface, adding code that the project uses to apply the changes. I've currently got

Re: How do I set a classpath for my custom task?

2007-11-21 Thread todd runstein
which the interface class is loaded. And your own > code must also be loaded in a classloader that is the child of the > classloader in which the interface class is loaded (or the same). > > Gilles > > 2007/11/21, todd runstein <[EMAIL PROTECTED]>: > > > > > Ramu,

Re: How do I set a classpath for my custom task?

2007-11-21 Thread todd runstein
may be about to run into a brick wall, so if I'm obviously going down the wrong path, please let me know. Todd On Nov 20, 2007 8:43 PM, Ramu Sethu <[EMAIL PROTECTED]> wrote: > HI todd > > Have you tried the following option ?? > 1. -lib option > 2. classpath at

How do I set a classpath for my custom task?

2007-11-20 Thread todd runstein
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 i