directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r741547 - /directory/studio-plugin/trunk/src/main/java/org/apache/directory/studio/maven/plugins/StudioCleanMojo.java
Date Fri, 06 Feb 2009 12:00:11 GMT
Author: seelmann
Date: Fri Feb  6 12:00:10 2009
New Revision: 741547

URL: http://svn.apache.org/viewvc?rev=741547&view=rev
Log:
Delete META-INF on studio:clean

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

Modified: directory/studio-plugin/trunk/src/main/java/org/apache/directory/studio/maven/plugins/StudioCleanMojo.java
URL: http://svn.apache.org/viewvc/directory/studio-plugin/trunk/src/main/java/org/apache/directory/studio/maven/plugins/StudioCleanMojo.java?rev=741547&r1=741546&r2=741547&view=diff
==============================================================================
--- directory/studio-plugin/trunk/src/main/java/org/apache/directory/studio/maven/plugins/StudioCleanMojo.java
(original)
+++ directory/studio-plugin/trunk/src/main/java/org/apache/directory/studio/maven/plugins/StudioCleanMojo.java
Fri Feb  6 12:00:10 2009
@@ -41,6 +41,7 @@
 
     private final String MAVEN_ECLIPSE_XML = "maven-eclipse.xml";
     private final String EXTERNAL_TOOL_BUILDERS_DIR = ".externalToolBuilders";
+    private final String META_INF = "META-INF";
 
 
     public void execute() throws MojoExecutionException
@@ -68,6 +69,9 @@
             file = new File( project.getBasedir(), libraryPath );
             getLog().info( "Deleting " + file );
             deleteDirectory( file );
+            file = new File( project.getBasedir(), META_INF );
+            getLog().info( "Deleting " + file );
+            deleteDirectory( file );
         }
         catch ( Exception e )
         {



Mime
View raw message