[
https://issues.apache.org/jira/browse/CXF-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521794
]
Daniel Kulp commented on CXF-930:
---------------------------------
This really should NOT be necessary. Everything should work fine with the
stuff built into the JDK.
Most likely, your <java> task above should add the fork="true" flag to not get
the classpath and system properties that have been polluted by ant.
> XercesImpl.jar needs to be added to CXF_HOME/lib directory
> ----------------------------------------------------------
>
> Key: CXF-930
> URL: https://issues.apache.org/jira/browse/CXF-930
> Project: CXF
> Issue Type: Improvement
> Components: Tooling
> Reporter: Glen Mazza
> Priority: Minor
>
> I was unable to run WSDL2JAVA using the classpath below, until I placed
> because XercesImpl.jar in the lib directory. I think it is important to add
> XercesImpl.jar there, so there can be a standardized way to activate the
> WSDL2Java class. See[1] for more info.
> <path id="ws-stack.classpath">
> <pathelement location="${build.classes.dir}"/>
> <fileset dir="${env.CXF_HOME}/lib">
> <include name="*.jar"/>
> </fileset>
> </path>
>
> <target name="generateClientCode">
> <java classname="org.apache.cxf.tools.wsdlto.WSDLToJava">
> <arg value="-client"/>
> <arg value="-d"/>
> <arg value="src"/>
> <arg value="ShoppingService.wsdl"/>
> <classpath>
> <path refid="ws-stack.classpath"/>
> </classpath>
> </java>
> </target>
> [1]
> http://www.nabble.com/Problem-generating-CXF-client-for-eBay-Shopping-API-WSDL-tf4291138.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.