Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-5220

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

    XMLWordPrintable

    Details

    • Release Notes Docs Status:
      Not Required

      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).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jim.ma Jim Ma
                  Reporter:
                  rsvoboda Rostislav Svoboda
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: