[jbossws-issues] [JBoss JIRA] Created: (JBWS-3193) JBossWS-CXF - 'nocompile' and 'source' option for wsconsume (command line) generates .java files into output directory not source directory

Jim Ma (JIRA) jira-events at lists.jboss.org
Tue Dec 28 01:09:17 EST 2010


JBossWS-CXF - 'nocompile' and 'source' option for wsconsume (command line) generates .java files into output directory not source directory
-------------------------------------------------------------------------------------------------------------------------------------------

                 Key: JBWS-3193
                 URL: https://issues.jboss.org/browse/JBWS-3193
             Project: JBoss Web Services
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: jbossws-cxf
    Affects Versions: jbossws-cxf-3.4.1
            Reporter: Jim Ma
            Assignee: Jim Ma
             Fix For:  jbossws-cxf-4.0


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 at 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 at rosta-ntb TESTING]$ ls
BenchmarkWebService.wsdl jboss-eap-5.0 jboss-eap-5.1 output

Example 2:
[rsvoboda at 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 at 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). 

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

        


More information about the jbossws-issues mailing list