Details
-
Bug
-
Resolution: Done
-
Major
-
jbossws-cxf-3.4.1
-
None
Description
Wsconsume command line tool with specified 'nocompile' and 'source' option generates .java files into output directory not source directory.
This applies for Native stack, wsconsume command line tool from CXF stack generates .java files into source directory.
'nocompile' option was introduced with JBPAPP-2906
Example 1:
[rsvoboda@rosta-ntb TESTING]$ jboss-eap-5.1/jboss-as/bin/wsconsume.sh -n -p org.jboss.test.script -s sources BenchmarkWebService.wsdl
parsing WSDL...
generating code...
org/jboss/test/script/Address.java
...
[rsvoboda@rosta-ntb TESTING]$ ls
BenchmarkWebService.wsdl jboss-eap-5.0 jboss-eap-5.1 output
Example 2:
[rsvoboda@rosta-ntb TESTING]$ jboss-eap-5.1/jboss-as/bin/wsconsume.sh -n -p org.jboss.test.script -s sources -o outputDir BenchmarkWebService.wsdl
...
[rsvoboda@rosta-ntb TESTING]$ ls
BenchmarkWebService.wsdl jboss-eap-5.0 jboss-eap-5.1 outputDir
Classes are generated into output directory not into source directory (-s sources).
Attachments
Issue Links
- is incorporated by
-
JBPAPP-5220 JBossWS - 'nocompile' and 'source' option for wsconsume (command line) generates .java files into output directory not source directory
- Closed
- relates to
-
JBWS-3519 WSConsume generates sources in current dir even if -keep option is not specified
- Closed