[ http://issues.apache.org/jira/browse/AXIS2-925?page=all ]

Ajith Harshana Ranabahu resolved AXIS2-925.
-------------------------------------------

    Resolution: Fixed

Done - please check with the nightlies. It was a minor fix :)

> WSDL2Java namespace2package option should be additive
> -----------------------------------------------------
>
>                 Key: AXIS2-925
>                 URL: http://issues.apache.org/jira/browse/AXIS2-925
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: databinding
>    Affects Versions: 1.0
>            Reporter: Derek Foster
>            Priority: Minor
>
> Currently, if I use the --namespace2package command line option in WSDL2Java, 
> it completely replaces the contents of any previous --namespace2package 
> options that were encountered when parsing the command line. This means that 
> if I have, say, ten different namespace-to-package mappings, they must all be 
> specified one after the other in a single very long command-line argument. 
> This makes for an ANT file or other invocation script that is really ugly, 
> with a single line that scrolls off the screen far to the right.
> I would like to be able to specify multiple namespace2package options on the 
> command line, with each additional one adding to the previous ones, so that I 
> can do something like this in ANT:
>          <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true" 
> failonerror="true">
>             <classpath refid="axis.classpath"/>
>             <arg value="--databinding-method"/>
>             <arg value="xmlbeans"/>
>             <arg value="--uri"/>
>             <arg value="@{wsdl}"/>
>             <arg value="--server-side"/>
>             <arg value="--generate-all"/>
>             <arg value="--service-description"/>
>             <arg value="--output"/>
>             <arg value="@{path}"/>
>             <arg value="--package"/>
>             <arg value="[EMAIL PROTECTED]"/>
>             <arg value="--namespace2package"/>
>             <arg value="http\://[EMAIL PROTECTED]"/>
>             <arg value="--namespace2package"/>
>             <arg value="http\://[EMAIL PROTECTED]"/>
>             <arg value="--namespace2package"/>
>             <arg value="http\://[EMAIL PROTECTED]"/>
>             <arg value="${tempFile}"/>
>          </java>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to