You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2013/09/27 19:40:46 UTC

svn commit: r1526994 - /cxf/branches/2.7.x-fixes/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java

Author: dkulp
Date: Fri Sep 27 17:40:46 2013
New Revision: 1526994

URL: http://svn.apache.org/r1526994
Log:
Merged revisions 1526991 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1526991 | dkulp | 2013-09-27 13:37:17 -0400 (Fri, 27 Sep 2013) | 3 lines

  [CXF-5215] Fix problem with certain path names on Windows in the codegen plugin
  Patch from Grzegorz Grzybek applied

........

Modified:
    cxf/branches/2.7.x-fixes/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java

Modified: cxf/branches/2.7.x-fixes/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java?rev=1526994&r1=1526993&r2=1526994&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java (original)
+++ cxf/branches/2.7.x-fixes/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java Fri Sep 27 17:40:46 2013
@@ -357,7 +357,6 @@ public abstract class AbstractCodegenMoh
             Resource r2 = scanForResources(genroot, sourceRoot);
             if (r2 != sourceRoot) {
                 r2.setDirectory(getGeneratedSourceRoot().getAbsolutePath());
-                r2.setTargetPath(project.getBuild().getOutputDirectory());
                 project.addResource(r2);
             }
         }
@@ -373,7 +372,6 @@ public abstract class AbstractCodegenMoh
             Resource r2 = scanForResources(genroot, testRoot);
             if (r2 != testRoot) {
                 r2.setDirectory(getGeneratedTestRoot().getAbsolutePath());
-                r2.setTargetPath(project.getBuild().getTestOutputDirectory());
                 project.addTestResource(r2);
             }
         }