Re: antrun messes up classloader ?

2009-11-17 Thread Wayne Fay
> But in out case we explicitly specified teh jar files within the > > wont this result in all teh classes being reloaded again ? ( because taskdef > forced it to reload ) Obviously not, or it would work properly, right? Also, I would convert those Ant scripts into proper Maven plugins. It is ea

Re: antrun messes up classloader ?

2009-11-17 Thread Sony Antony
Thank you very much Wayne ( I didnt know that ) : But in out case we explicitly specified teh jar files within the wont

Re: antrun messes up classloader ?

2009-11-17 Thread Wayne Fay
> But when this submodule is called from a parent pom ( which also calls other > submodules ), it complains about a missing class for the weblogic compiler. This is a known problem in M2. Maven only loads the plugin once (the first time it sees it) in a build, and only loads plugin dependencies it

Re: antrun messes up classloader ?

2009-11-17 Thread Stephen Coy
Hi there, I have also found that the antrun plugin behaves as you say below. The solution was to define the antrun plugin in a pluginManagement fragment of the parent pom, with the classpath set up to satisfy the requirements for all modules. Cheers, Steve C On 17/11/2009, at 7:54 PM, Sony A