[jbpm-commits] JBoss JBPM SVN: r5731 - jbpm4/trunk/modules/test-cactus.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Oct 12 04:27:44 EDT 2009


Author: tom.baeyens at jboss.com
Date: 2009-10-12 04:27:44 -0400 (Mon, 12 Oct 2009)
New Revision: 5731

Modified:
   jbpm4/trunk/modules/test-cactus/pom.xml
Log:
added removal of the existing original test-suite-source file to the runtest scripts in the pom. 

Modified: jbpm4/trunk/modules/test-cactus/pom.xml
===================================================================
--- jbpm4/trunk/modules/test-cactus/pom.xml	2009-10-12 08:18:56 UTC (rev 5730)
+++ jbpm4/trunk/modules/test-cactus/pom.xml	2009-10-12 08:27:44 UTC (rev 5731)
@@ -45,6 +45,32 @@
      </dependency>
   </dependencies>
 
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>delete.previous.generated.files</id>
+            <phase>compile</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <tasks>
+                <delete>
+                  <fileset dir=".">
+                    <include name="src/test/java/org/jbpm/test/AllIntegrationTests.java*" />
+                  </fileset>
+                </delete>
+              </tasks>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>         
+    </plugins>
+  </build>
+
   <profiles>
     <profile>
       <id>integration</id>
@@ -179,7 +205,11 @@
 		              <tasks>
 		                <property name="test_classpath" refid="maven.test.classpath"/>
 		                <echo message="${test_classpath}" />
-		                <delete file="src/test/java/org/jbpm/test/AllIntegrationTests.java" />
+                    <delete>
+                      <fileset dir=".">
+                        <include name="src/test/java/org/jbpm/test/AllIntegrationTests.java*" />
+                      </fileset>
+                    </delete>
 		                <java classname="org.jbpm.cactustool.CactusTestGenerator">
 		                  <classpath path="${test_classpath}"/>
 		                  <arg line="src/test/java ../examples/src/test/java ../test-db/src/test/java" />
@@ -195,7 +225,11 @@
                 </goals>
                 <configuration>
                   <tasks>
-                    <delete file="src/test/java/org/jbpm/test/AllIntegrationTests.java" />
+                    <delete>
+                      <fileset dir=".">
+                        <include name="src/test/java/org/jbpm/test/AllIntegrationTests.java*" />
+                      </fileset>
+                    </delete>
                   </tasks>
                 </configuration>
               </execution>



More information about the jbpm-commits mailing list