Hi!
I'm trying to get cxf's codegen plugin to build wsdls from a root wsdl
directory. This works great! However, I'd like the client code to reference
a relative classpath rather than an absolute one.
It appears that this can be done when using something like
<wsdlLocation>classpath:wsdl/foo.wsdl</wsdlLocation>. However, using the
classpath reference in wsdlRoot does not seem to work.
This is my configuration:
<configuration>
<sourceRoot>${basedir}/target/generated/src/main/java</sourceRoot>
<wsdlRoot>classpath:wsdl/</wsdlRoot>
<includes>
<include>**/*.wsdl</include>
</includes>
</configuration>
Replacing ${basedir}/src/main/resources in the wsdlRoot works fine, as does
just removing that field. Is there a way to get a relative path when using
the wsdlRoot options?
--
View this message in context:
http://cxf.547215.n5.nabble.com/wsdlRoot-and-relative-claspath-tp5728544.html
Sent from the cxf-user mailing list archive at Nabble.com.