Jeroen Benckhuijsen created CXF-4982:
----------------------------------------

             Summary: Codegen maven plugin fails forked execution on Windows XP 
environment
                 Key: CXF-4982
                 URL: https://issues.apache.org/jira/browse/CXF-4982
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.6.7
         Environment: Windows XP, JDK 1.6
            Reporter: Jeroen Benckhuijsen


Execution of the Maven cxf-codegen-plugin fails on Windows XP environment when 
using fork mode. Cause it that the JAR file created to hold the classpath is 
created in the temporary directory, which on Windpws XP points to C:\Documents 
and Settings\... Result is an error when executing the command line stating the 
jar file C:\Documents cannot be found.

For reference see: 
https://fisheye6.atlassian.com/browse/cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java?r=1465636

Proposed solutions is to apply quotes to the path. Other way is to create the 
jar file in the target/ folder of the current execution (which is often in a 
path without spaces, as multiple plugins are otherwise affected).

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

Reply via email to