directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r601332 - /directory/sandbox/felixk/studio-plugin/src/main/java/org/apache/directory/studio/maven/plugins/StudioCleanMojo.java
Date Wed, 05 Dec 2007 13:35:31 GMT
Author: felixk
Date: Wed Dec  5 05:35:30 2007
New Revision: 601332

URL: http://svn.apache.org/viewvc?rev=601332&view=rev
Log:
Clean should always be possible

Modified:
    directory/sandbox/felixk/studio-plugin/src/main/java/org/apache/directory/studio/maven/plugins/StudioCleanMojo.java

Modified: directory/sandbox/felixk/studio-plugin/src/main/java/org/apache/directory/studio/maven/plugins/StudioCleanMojo.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-plugin/src/main/java/org/apache/directory/studio/maven/plugins/StudioCleanMojo.java?rev=601332&r1=601331&r2=601332&view=diff
==============================================================================
--- directory/sandbox/felixk/studio-plugin/src/main/java/org/apache/directory/studio/maven/plugins/StudioCleanMojo.java
(original)
+++ directory/sandbox/felixk/studio-plugin/src/main/java/org/apache/directory/studio/maven/plugins/StudioCleanMojo.java
Wed Dec  5 05:35:30 2007
@@ -47,20 +47,18 @@
     protected MavenProject project;
 
     public void execute() throws MojoExecutionException {
-        if (!skip) {
-            try {
-                File file = new File(project.getBasedir(), "maven-eclipse.xml");
-                getLog().info("Deleting " + file);
-                file.delete();
-                file = new File(project.getBasedir(), ".externalToolBuilder");
-                getLog().info("Deleting " + file);
-                deleteDirectory(file);
-                file = new File(project.getBasedir(), "lib");
-                getLog().info("Deleting " + file);
-                deleteDirectory(file);
-            } catch (Exception e) {
-                getLog().error(e);
-            }
+        try {
+            File file = new File(project.getBasedir(), "maven-eclipse.xml");
+            getLog().info("Deleting " + file);
+            file.delete();
+            file = new File(project.getBasedir(), ".externalToolBuilder");
+            getLog().info("Deleting " + file);
+            deleteDirectory(file);
+            file = new File(project.getBasedir(), "lib");
+            getLog().info("Deleting " + file);
+            deleteDirectory(file);
+        } catch (Exception e) {
+            getLog().error(e);
         }
     }
 



Mime
View raw message