Issue Type: Bug Bug
Affects Versions: jbossws-cxf-4.0.2
Assignee: Unassigned
Components: jbossws-cxf, tools-jaxws
Created: 17/Jun/12 7:14 AM
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.

Fix Versions: jbossws-cxf-4.1
Project: JBoss Web Services
Priority: Minor Minor
Reporter: Alessio Soldano
Security Level: Public (Everyone can see)
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira