[ 
https://issues.apache.org/jira/browse/CXF-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16374792#comment-16374792
 ] 

ASF GitHub Bot commented on CXF-5052:
-------------------------------------

oli-ver opened a new pull request #384: [CXF-5052] Classpath references should 
be understood using wsdlRoot batch processing options in cxf-codegen
URL: https://github.com/apache/cxf/pull/384
 
 
   First proposal for a classpath replacement of local file url in generated 
class file.
   
   A wsdlPath set in defaultOptions beginning with classpath;<path to replace> 
replaces the file url "file:/path/to/package1/package2/myfile.wsdl" with 
"classpath:/package1/package2/myfile.wsdl".
   
   Just the first idea on how to achieve this, I am very open for different 
ideas.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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
>          Components: Tooling
>    Affects Versions: 2.7.5
>         Environment: All
>            Reporter: Zach Melnick
>            Priority: Major
>
> 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 was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to