Thank you very much Wayne ( I didnt know that ) :
But in out case we explicitly specified teh jar files within the <tasks>
<path id="wl-jars4compiler">
<fileset
dir="${project.build.directory}/weblogic10.3supportfiles">
<include name="**/*.jar"/>
</fileset>
<pathelement
location="${java.home}/../lib/tools.jar"/>
</path>
<taskdef name="jwsc"
classname="weblogic.wsee.tools.anttasks.JwscTask"
classpathref="wl-jars4compiler"/>
<jwsc srcdir="${project.basedir}/src/main/java"
destdir="${project.build.directory}" verbose="true" debug="on"
keepGenerated="true" deprecation="true" keepTempFiles="true"
listfiles="true" classpathref="j2eejar4app" fork="true">
<module contextPath="cramerwrapper" name="cramerprotocolbroker">
<jws type="JAXWS"
file="com/att/canopi/idis/ordermanagement/cramerinterface/impl/CramerQueryService_CramerQueryPortImpl.java"
compiledWsdl="${project.build.directory}/wsdlcjar/cramerinterface-wsdlc-3.1-SNAPSHOT.jar"/>
<jws type="JAXWS"
file="com/att/canopi/idis/ordermanagement/cramerinterface/impl/FeasibilityService_FeasibilityPortImpl.java"
compiledWsdl="${project.build.directory}/wsdlcjar/cramerinterface-wsdlc-3.1-SNAPSHOT.jar"/>
</module>
</jwsc>
wont this result in all teh classes being reloaded again ? ( because taskdef
forced it to reload )
--sony
On Tue, Nov 17, 2009 at 10:11 AM, Wayne Fay <[email protected]> wrote:
> > 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 sees at that time.
>
> You need to collect your Antrun plugin dependencies from the various
> places you have declared it and copy them so each declaration has the
> full set of plugin deps (or figure out which one will be seen first
> and just ensure it has the full set of plugin deps).
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>