incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r578113 - /incubator/sling/trunk/maven-jspc-plugin/src/main/java/org/apache/sling/maven/jspc/JspcMojo.java
Date Fri, 21 Sep 2007 13:59:11 GMT
Author: fmeschbe
Date: Fri Sep 21 06:59:10 2007
New Revision: 578113

URL: http://svn.apache.org/viewvc?rev=578113&view=rev
Log:
Remove Java source and SMAP file after successfull compilation to prevent copying them into
the bundle

Modified:
    incubator/sling/trunk/maven-jspc-plugin/src/main/java/org/apache/sling/maven/jspc/JspcMojo.java

Modified: incubator/sling/trunk/maven-jspc-plugin/src/main/java/org/apache/sling/maven/jspc/JspcMojo.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/maven-jspc-plugin/src/main/java/org/apache/sling/maven/jspc/JspcMojo.java?rev=578113&r1=578112&r2=578113&view=diff
==============================================================================
--- incubator/sling/trunk/maven-jspc-plugin/src/main/java/org/apache/sling/maven/jspc/JspcMojo.java
(original)
+++ incubator/sling/trunk/maven-jspc-plugin/src/main/java/org/apache/sling/maven/jspc/JspcMojo.java
Fri Sep 21 06:59:10 2007
@@ -362,6 +362,10 @@
                 clctxt.getServletPackageName() + "."
                     + clctxt.getServletClassName());
 
+            // remove the java source and smap file
+            new File(clctxt.getClassFileName()+".smap").delete();
+            new File(clctxt.getServletJavaFileName()).delete();
+            
         } catch (JasperException je) {
             Throwable rootCause = je;
             while (rootCause instanceof JasperException



Mime
View raw message