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

Dennis Kieselhorst commented on CXF-5052:
-----------------------------------------

The testcase automatically runs during the Maven build. Currently it fails:

{{[INFO] --- maven-invoker-plugin:3.0.0:integration-test (test-integration) @ 
cxf-codegen-plugin ---}}
{{[INFO] Running Setup Jobs}}
{{[INFO] Building: wsdl-classpath-resolution\pom.xml}}
{{[INFO]           wsdl-classpath-resolution\pom.xml ................ FAILED 
(8.9 s)}}
{{[INFO]   The build exited with code 1. See 
D:\dev\opensource-projects\cxf\maven-plugins\codegen-plugin\target\it\wsdl-classpath-resolution\build.log
 for details.}}

 

What I'm unsure about: Is using *classpath;* an intuitive syntax to use?

> 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