[
https://jira.jboss.org/jira/browse/JBWS-3024?page=com.atlassian.jira.plug...
]
Richard Opalka commented on JBWS-3024:
--------------------------------------
In order to execute ANT tasks with enabled endorsing
two steps are necessary:
* set fork to true
* provide java.endorsed.dirs JVM argument
Examples:
<wsconsume
wsdl="@{wsdl}"
package="@{package}"
sourcedestdir="@{outputdir}/wsconsume/java"
destdir="@{outputdir}"
nocompile="true"
keep="true"
verbose="false"
target="2.2"
fork="true">
<jvmarg line="-Djava.endorsed.dirs=@{jbossHome}/lib/endorsed"/>
<jvmarg line="-Dlog4j.output.dir=@{loggingDir}"/>
</wsconsume>
<wsprovide
sei="@{sei}"
fork="true"
genwsdl="true"
verbose="false"
classpath="@{outputDir}/test-classes"
destdir="@{outputDir}/test-classes/@{destDir}"
resourcedestdir="@{outputDir}/test-resources/@{resourcesDir}"
<jvmarg
line="-Djava.endorsed.dirs=@{jbossHome}/lib/endorsed"/>
<jvmarg line="-Dlog4j.output.dir=@{loggingDir}"/>
</wsprovide>
Implement endorsing support for JBossWS ANT tools
-------------------------------------------------
Key: JBWS-3024
URL:
https://jira.jboss.org/jira/browse/JBWS-3024
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-cxf, jbossws-metro, jbossws-native
Reporter: Richard Opalka
Assignee: Richard Opalka
Fix For: jbossws-native-3.3.0, jbossws-cxf-3.3.0, jbossws-metro-3.3.0
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira