You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2008/02/06 19:02:31 UTC

svn commit: r619086 - /incubator/tuscany/java/sca/tools/maven/maven-web-junit/src/main/java/org/apache/tuscany/tools/sca/web/junit/plugin/WebJUnitGeneratorMojo.java

Author: rfeng
Date: Wed Feb  6 10:02:24 2008
New Revision: 619086

URL: http://svn.apache.org/viewvc?rev=619086&view=rev
Log:
Use project.build.finaName as the folder to generate the WEB-INF/web.xml

Modified:
    incubator/tuscany/java/sca/tools/maven/maven-web-junit/src/main/java/org/apache/tuscany/tools/sca/web/junit/plugin/WebJUnitGeneratorMojo.java

Modified: incubator/tuscany/java/sca/tools/maven/maven-web-junit/src/main/java/org/apache/tuscany/tools/sca/web/junit/plugin/WebJUnitGeneratorMojo.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/maven/maven-web-junit/src/main/java/org/apache/tuscany/tools/sca/web/junit/plugin/WebJUnitGeneratorMojo.java?rev=619086&r1=619085&r2=619086&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tools/maven/maven-web-junit/src/main/java/org/apache/tuscany/tools/sca/web/junit/plugin/WebJUnitGeneratorMojo.java (original)
+++ incubator/tuscany/java/sca/tools/maven/maven-web-junit/src/main/java/org/apache/tuscany/tools/sca/web/junit/plugin/WebJUnitGeneratorMojo.java Wed Feb  6 10:02:24 2008
@@ -100,9 +100,7 @@
     public void execute() throws MojoExecutionException {
         File base =
             new File(project.getBasedir(), "target" + File.separator
-                + project.getArtifactId()
-                + "-"
-                + project.getVersion()
+                + project.getBuild().getFinalName()
                 + File.separator
                 + "WEB-INF");
         base.mkdirs();



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org