Re: Can I set the classpath for a plugin?

2004-02-13 Thread David Jencks
Hi Eric, Thanks for the suggestion. Right now it does not seem to be applicable to my situation since I am running xmlbeans in the same vm as maven, so I think I need maven to set up the classloader for me before the plugin is called. If there is no other way I may try the separate vm approac

Re: Can I set the classpath for a plugin?

2004-02-13 Thread Eric Giguere
Hi David From your message, I'm not sure if this solution may apply but I'll give it a try. You can, if you can use the Ant classpath element in your plugin. If you need to refer to the classpath of the project (dependencies for instance), you still can access it and "insert" those entries in

Re: Can I set the classpath for a plugin?

2004-02-13 Thread David Jencks
dependencies via the subnode... Is this not adequate? -john -Original Message- From: David Jencks [mailto:[EMAIL PROTECTED] Sent: Friday, February 13, 2004 12:52 PM To: [EMAIL PROTECTED] Subject: Can I set the classpath for a plugin? I'm working on a maven plugin for xmlbeans. I need

RE: Can I set the classpath for a plugin?

2004-02-13 Thread CaseyJD
What about using the project.xml from the plugin? You can add dependencies via the subnode... Is this not adequate? -john -Original Message- From: David Jencks [mailto:[EMAIL PROTECTED] Sent: Friday, February 13, 2004 12:52 PM To: [EMAIL PROTECTED] Subject: Can I set the classpath

Can I set the classpath for a plugin?

2004-02-13 Thread David Jencks
I'm working on a maven plugin for xmlbeans. I need to be able to specify for each use of the plugin which dependencies are in the classloader that loads the java class used by the plugin (which is included in the plugin) or what is in the thread context classloader (I think). Before I go off