portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r201493 - /portals/jetspeed-2/trunk/maven.xml
Date Thu, 23 Jun 2005 21:23:45 GMT
Author: taylor
Date: Thu Jun 23 14:23:44 2005
New Revision: 201493

URL: http://svn.apache.org/viewcvs?rev=201493&view=rev
Log:
allow for drop drops to run for both prod and test environments
(dropdrops drops sql drop statements from the script)

Modified:
    portals/jetspeed-2/trunk/maven.xml

Modified: portals/jetspeed-2/trunk/maven.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/maven.xml?rev=201493&r1=201492&r2=201493&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/maven.xml (original)
+++ portals/jetspeed-2/trunk/maven.xml Thu Jun 23 14:23:44 2005
@@ -518,12 +518,21 @@
         <j:set var="recreateDB" value="false"/>
         <attainGoal name="doStart"/>
     </goal>
-    
+
    <goal name="dropdrops">
-    <attainGoal name="java:compile"/>
+    <attainGoal name="db.production.properties"/>
+    <attainGoal name="all.dropdrops"/>
+   </goal>
+
+   <goal name="test.dropdrops">
     <attainGoal name="db.test.properties"/>
+    <attainGoal name="all.dropdrops"/>
+   </goal>
+      
+   <goal name="all.dropdrops">
+    <attainGoal name="java:compile"/>
    
-    <attainGoal name="run.dropdrops" />
+    <attainGoal name="run.dropdrops" />               
     <j:set var="dropstable" value="./target/src/sql/${org.apache.jetspeed.database.default.name}/phase1-schema.sql"
/>
     <attainGoal name="run.dropdrops" />
     <j:set var="dropstable" value="./target/src/sql/${org.apache.jetspeed.database.default.name}/phase2-schema.sql"
/>



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


Mime
View raw message