You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2004/05/08 19:40:22 UTC
cvs commit: jakarta-jetspeed-2/components/rdbms maven.xml
taylor 2004/05/08 10:40:22
Modified: components/rdbms maven.xml
Log:
required dbsetup pregoal for test:single
PR:
Obtained from:
Submitted by:
Reviewed by:
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.4 +10 -2 jakarta-jetspeed-2/components/rdbms/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/components/rdbms/maven.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- maven.xml 29 Apr 2004 02:51:23 -0000 1.3
+++ maven.xml 8 May 2004 17:40:22 -0000 1.4
@@ -20,7 +20,8 @@
xmlns:reactor="reactor">
<!-- Target of maven test:single test -->
- <property name='testcase' value='org.apache.jetspeed.components.TestComponentManager'/>
+ <property name='testcase' value='org.apache.jetspeed.components.TestRDBMS'/>
+
<goal name="deployJar">
<echo message="BaseDir=${basedir}"/>
<attainGoal name="jar:install"/>
@@ -30,6 +31,13 @@
</goal>
<preGoal name="test:test">
+ <attainGoal name='dbsetup'/>
+ </preGoal>
+ <preGoal name="test:single">
+ <attainGoal name='dbsetup'/>
+ </preGoal>
+
+ <goal name="dbsetup">
<j:set var="org.apache.jetspeed.database.url" value="${org.apache.jetspeed.test.database.url}"/>
<j:set var="org.apache.jetspeed.database.driver" value="${org.apache.jetspeed.test.database.driver}"/>
<j:set var="org.apache.jetspeed.database.user" value="${org.apache.jetspeed.test.database.user}"/>
@@ -37,6 +45,6 @@
<path id="jdbc.drivers.path" path="${org.apache.jetspeed.test.jdbc.drivers.path}"/>
<maven:addPath id="maven.dependency.classpath" refid="jdbc.drivers.path"/>
- </preGoal>
+ </goal>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org