Actually, if I can just do extrargs as Freeman suggested I'd be happy, it maps 100% to the command line opts that way without needing to maintain two sets of flags. I'll test this shortly.

Glen

On 27.01.2011 14:45, Daniel Kulp wrote:
On Wednesday 26 January 2011 10:13:15 am Glen Mazza wrote:
Hello, using cxf-codegen-plugin[1], let's say I want to add the
"-server" setting defined here[2].

What do I place in the ???:
<wsdlOptions><wsdlOption>???</wsdlOption></wsdlOptions>.

Text (w or w/o leading hyphen)? An empty element? I need to add to the
CXF docs on this.
Are you talking about updating the codegen plugin to include specific elements
for that?

I think you would add something like:

     /**
      * Enables generating the server.   Default is false;
      */
     Boolean server;


That would allow:
  <server>true</server>

I'm not sure what maven would do internally if someone just did:

  <server/>

You would need to test that.

Dan



Thanks,
Glen

[1] http://cxf.apache.org/docs/maven-cxf-codegen-plugin-wsdl-to-java.html
[2] http://cxf.apache.org/docs/wsdl-to-java.html


--
Glen Mazza
Software Engineer, Talend (http://www.talend.com)
blog: http://www.jroller.com/gmazza


Reply via email to