Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4982

Codegen maven plugin fails forked execution on Windows XP environment

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.7
    • 2.6.8, 2.7.5, 2.5.11, 3.0.0-milestone1
    • None
    • None
    • Windows XP, JDK 1.6

    • Novice

    Description

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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ffang Freeman Yue Fang
            jeroen.benckhuijsen Jeroen Benckhuijsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment