db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r728462 - /db/torque/torque4/trunk/torque-test/pom.xml
Date Sun, 21 Dec 2008 17:48:43 GMT
Author: tfischer
Date: Sun Dec 21 09:48:43 2008
New Revision: 728462

URL: http://svn.apache.org/viewvc?rev=728462&view=rev
Log:
remove all generated sources during clean

Modified:
    db/torque/torque4/trunk/torque-test/pom.xml

Modified: db/torque/torque4/trunk/torque-test/pom.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/pom.xml?rev=728462&r1=728461&r2=728462&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/pom.xml (original)
+++ db/torque/torque4/trunk/torque-test/pom.xml Sun Dec 21 09:48:43 2008
@@ -101,9 +101,24 @@
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
-            <phase>generate-sources</phase>
+            <id>clean-generated-sources</id>
+            <phase>clean</phase>
             <configuration>
               <tasks>
+                <!--  remove old generated sources -->
+                <echo message="Deleting directory src/main/generated-java"/>
+                <delete dir="src/main/generated-java"/>
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>filter-schema</id>
+            <phase>generate-sources</phase>
+            <configuration>
+              <tasks>                
                 <!-- schema files need to be copied to insert idMethod -->
                 <copy todir="target/torque/test/schema">
                   <fileset dir="src/main/schema">



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message