[prev in list] [next in list] [prev in thread] [next in thread] 

List:       turbine-torque-dev
Subject:    svn commit: r728462 - /db/torque/torque4/trunk/torque-test/pom.xml
From:       tfischer () apache ! org
Date:       2008-12-21 17:48:43
Message-ID: 20081221174844.20DFD238895D () eris ! apache ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic