You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Zach Melnick (JIRA)" <ji...@apache.org> on 2013/05/31 21:17:19 UTC
[jira] [Created] (CXF-5052) Classpath references should be
understood using wsdlRoot batch processing options in cxf-codegen
Zach Melnick created CXF-5052:
---------------------------------
Summary: Classpath references should be understood using wsdlRoot batch processing options in cxf-codegen
Key: CXF-5052
URL: https://issues.apache.org/jira/browse/CXF-5052
Project: CXF
Issue Type: Improvement
Affects Versions: 2.7.5
Environment: All
Reporter: Zach Melnick
The generated client code should be able to reference a relative classpath rather than an absolute one when using the wsdlRoot option to generate clients and services via the cxf-codegen plugin.
Relative classpaths can be specified when using the non-batch processing wsdlLocation options. This can be done when using something like <wsdlLocation>classpath:wsdl/foo.wsdl</wsdlLocation>.
However, using the classpath reference in wsdlRoot does not work in the same fashion.
<wsdlRoot>classpath:wsdl/</wsdlRoot> should be able to find the wsdl directory in ${basedir}/src/main/resources/wsdl, and generate the clients with a wsdlLocation value relative to the classpath, making the behavior between <wsdlRoot> and <wsdlLocation> consistant.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira