[ 
https://issues.apache.org/jira/browse/CXF-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Liguori updated CXF-3245:
--------------------------------

    Description: 
1) Add -classpath option to java2js and java2wsdl.
Rationale: The java2js and java2wsdl commands use the -cp option.   Consider 
adding -classpath to these two commands to serve the same purpose.  Case study: 
java and javac support both the -cp and -classpath options.

2) Add -fe to java2wsdl and -frontend to wsdl2java.
Rationale.  wsdl2java support -fe and not -frontend.  java2wsdl support 
-frontend and not -fe.  Since the options provide the same feature, why not 
have command utilites support both options.

3) Add -address to wsdl2xml, wsdl2service, wsdl2corba and idl2wsdl.  and -a to 
java2wsdl.
Rationale.  java2wsdl uses -address and not -a.  wsdl2xml, wsdl2service, 
wsdl2corba and idl2wsdl use -a and not -address.  Since they appear to serve 
the same or similar purposes (i.e., the corba address for one command differs 
slightly from the port address of the other command), I reccommed supporting 
-address wherever -a is used and supporting -a wherever -address is used.

4) Support -db where -databinding is used and suport -databinding where -db is 
used.  The commands java2js, java2wsdl and wsdl2java would be affected.

5) Examine and streamline the use of the -o option.  Consider supporting the 
-output flag whereever this is used, if appropriate.

Please examine the supporting spreadsheet for more information.

  was:
1) Add -classpath option to java2js and java2wsdl.
Rationale: The java2js and java2wsdl commands use the -cp option.   Consider 
adding -cp to these two commands to serve the same purpose.  Case study: java 
and javac support botht the -cp and -classpath options.

2) Add -fe to java2wsdl and -frontend to wsdl2java.
Rationale.  wsdl2java support -fe and not -frontend.  java2wsdl support 
-frontend and not -fe.  Since the options provide the same feature, why not 
have command utilites support both options.

3) Add -address to wsdl2xml, wsdl2service, wsdl2corba and idl2wsdl.  and -a to 
java2wsdl.
Rationale.  java2wsdl uses -address and not -a.  wsdl2xml, wsdl2service, 
wsdl2corba and idl2wsdl use -a and not -address.  Since they appear to serve 
the same or similar purposes (i.e., the corba address for one command differs 
slightly from the port address of the other command), I reccommed supporting 
-address wherever -a is used and supporting -a wherever -address is used.

4) Support -db where -databinding is used and suport -databinding where -db is 
used.  The commands java2js, java2wsdl and wsdl2java would be affected.

5) Examine and streamline the use of the -o option.  Consider supporting the 
-output flag whereever this is used, if appropriate.

Please examine the supporting spreadsheet for more information.


> Command line options are not uniform across CXF tools
> -----------------------------------------------------
>
>                 Key: CXF-3245
>                 URL: https://issues.apache.org/jira/browse/CXF-3245
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>    Affects Versions: 2.3.1
>            Reporter: Robert Liguori
>         Attachments: command line options for tooling.doc
>
>
> 1) Add -classpath option to java2js and java2wsdl.
> Rationale: The java2js and java2wsdl commands use the -cp option.   Consider 
> adding -classpath to these two commands to serve the same purpose.  Case 
> study: java and javac support both the -cp and -classpath options.
> 2) Add -fe to java2wsdl and -frontend to wsdl2java.
> Rationale.  wsdl2java support -fe and not -frontend.  java2wsdl support 
> -frontend and not -fe.  Since the options provide the same feature, why not 
> have command utilites support both options.
> 3) Add -address to wsdl2xml, wsdl2service, wsdl2corba and idl2wsdl.  and -a 
> to java2wsdl.
> Rationale.  java2wsdl uses -address and not -a.  wsdl2xml, wsdl2service, 
> wsdl2corba and idl2wsdl use -a and not -address.  Since they appear to serve 
> the same or similar purposes (i.e., the corba address for one command differs 
> slightly from the port address of the other command), I reccommed supporting 
> -address wherever -a is used and supporting -a wherever -address is used.
> 4) Support -db where -databinding is used and suport -databinding where -db 
> is used.  The commands java2js, java2wsdl and wsdl2java would be affected.
> 5) Examine and streamline the use of the -o option.  Consider supporting the 
> -output flag whereever this is used, if appropriate.
> Please examine the supporting spreadsheet for more information.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to