portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r371441 - /portals/jetspeed-2/trunk/maven.xml
Date Mon, 23 Jan 2006 02:16:04 GMT
Author: taylor
Date: Sun Jan 22 18:16:02 2006
New Revision: 371441

URL: http://svn.apache.org/viewcvs?rev=371441&view=rev
Log:
three steps when testing db unit tests to regenerate schema and test data

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=371441&r1=371440&r2=371441&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/maven.xml (original)
+++ portals/jetspeed-2/trunk/maven.xml Sun Jan 22 18:16:02 2006
@@ -294,7 +294,17 @@
     <goal name='pages'>
 	<copy todir="${org.apache.jetspeed.deploy.war.dir}/jetspeed/WEB-INF/pages/">
         <fileset dir="./src/webapp/WEB-INF/pages/"/>        
-  	</copy>        
-        
+  	</copy>                
     </goal>
+	
+	<!-- when running tests that use the database, and when you change the db-schema
+		 or test data for that test, you need to regenerate the schema and reload 
+		 the test data. I often forget the 3 holy steps. Here they are
+	 -->
+	<goal name='mht'>
+		<attainGoal name='j2:portal.conf.sql'/>
+		<attainGoal name='j2:db.create.test'/>
+		<echo>and the holy ghost...run your test... dont forget -Dmaven.test.skip=false</echo>
+	</goal>
+	
 </project>



---------------------------------------------------------------------
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