Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3193

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

    XMLWordPrintable

Details

    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

          Activity

            People

              rhn-engineering-ema Jim Ma
              rhn-engineering-ema Jim Ma
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: