tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1443518 - /tomee/tomee/trunk/maven/tomee-maven-plugin/src/main/java/org/apache/openejb/maven/plugin/AbstractTomEEMojo.java
Date Thu, 07 Feb 2013 14:53:09 GMT
Author: rmannibucau
Date: Thu Feb  7 14:53:08 2013
New Revision: 1443518

URL: http://svn.apache.org/viewvc?rev=1443518&view=rev
Log:
deleting unpacked folder before starting tomee mvn plugin

Modified:
    tomee/tomee/trunk/maven/tomee-maven-plugin/src/main/java/org/apache/openejb/maven/plugin/AbstractTomEEMojo.java

Modified: tomee/tomee/trunk/maven/tomee-maven-plugin/src/main/java/org/apache/openejb/maven/plugin/AbstractTomEEMojo.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/maven/tomee-maven-plugin/src/main/java/org/apache/openejb/maven/plugin/AbstractTomEEMojo.java?rev=1443518&r1=1443517&r2=1443518&view=diff
==============================================================================
--- tomee/tomee/trunk/maven/tomee-maven-plugin/src/main/java/org/apache/openejb/maven/plugin/AbstractTomEEMojo.java
(original)
+++ tomee/tomee/trunk/maven/tomee-maven-plugin/src/main/java/org/apache/openejb/maven/plugin/AbstractTomEEMojo.java
Thu Feb  7 14:53:08 2013
@@ -452,7 +452,7 @@ public abstract class AbstractTomEEMojo 
             out = new File(parent, name);
         }
         delete(out);
-        if (out.exists() && !out.isDirectory()) {
+        if (!out.isDirectory()) {
             final String dir = name.substring(0, name.lastIndexOf('.'));
             final File unpacked;
             if (war) {



Mime
View raw message