-
Bug
-
Resolution: Done
-
Minor
-
jbossws-cxf-4.0.2
-
None
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.
- is related to
-
JBWS-3193 JBossWS-CXF - 'nocompile' and 'source' option for wsconsume (command line) generates .java files into output directory not source directory
- Closed