Author: bimargulies
Date: Thu Dec 15 02:41:21 2011
New Revision: 1214605
URL: http://svn.apache.org/viewvc?rev=1214605&view=rev
Log:
[CXF-3972] another fix to marker suffixes.
Modified:
cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java
Modified:
cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java
URL:
http://svn.apache.org/viewvc/cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java?rev=1214605&r1=1214604&r2=1214605&view=diff
==============================================================================
---
cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java
(original)
+++
cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java
Thu Dec 15 02:41:21 2011
@@ -367,7 +367,7 @@ public abstract class AbstractCodegenMoh
}
URI basedir = project.getBasedir().toURI();
URI wsdlURI = getWsdlURI(wsdlOption, basedir);
- File doneFile = getDoneFile(basedir, wsdlURI, "java");
+ File doneFile = getDoneFile(basedir, wsdlURI, getMarkerSuffix());
try {
doneFile.createNewFile();
} catch (Throwable e) {
@@ -461,7 +461,7 @@ public abstract class AbstractCodegenMoh
getLog().debug(e);
throw new MojoExecutionException(e.getMessage(), e);
}
-
+
String output = StringUtils.isEmpty(out.getOutput()) ? null : '\n' +
out.getOutput().trim();
String cmdLine = CommandLineUtils.toString(cmd.getCommandline());