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

WSConsume generates sources in current dir even if -keep option is not specified

    XMLWordPrintable

Details

    Description

      The JBWS-CXF WSConsume tool always generates/write java classes for generated sources, even if -k option is not provided. Moreover, the sources are generated in the current dir, as that's the default value for the internal CXF impl. WSDLToJavaContainer does something like:

      if (context.get(ToolConstants.CFG_OUTPUTDIR) == null) {
            context.put(ToolConstants.CFG_OUTPUTDIR, ".");
      }
      

      when the cxf -d option is not set.

      So, we should be setting a temp dir for sources when -k is not provided and eventually cleanup the temp dir when returning control to the tool caller.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-asoldano Alessio Soldano
              rhn-support-asoldano Alessio Soldano
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: