You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by vm...@apache.org on 2003/03/29 12:45:01 UTC
cvs commit: jakarta-cactus/integration/ant/src/scripts/j2ee13 build-tests-jboss3x.xml
vmassol 2003/03/29 03:45:01
Modified: integration/ant/src/scripts/j2ee13 build-tests-jboss3x.xml
Log:
Added support for specifying a specific jboss server configuration
Revision Changes Path
1.2 +11 -4 jakarta-cactus/integration/ant/src/scripts/j2ee13/build-tests-jboss3x.xml
Index: build-tests-jboss3x.xml
===================================================================
RCS file: /home/cvs/jakarta-cactus/integration/ant/src/scripts/j2ee13/build-tests-jboss3x.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build-tests-jboss3x.xml 3 Feb 2003 10:52:46 -0000 1.1
+++ build-tests-jboss3x.xml 29 Mar 2003 11:45:01 -0000 1.2
@@ -3,6 +3,13 @@
<property name="cactus.conf.jboss3x" value="${cactus.conf.dir}/jboss3x"/>
<property name="cactus.target.jboss3x" value="${cactus.target.dir}/jboss3x"/>
+ <!-- Location of the server configurations -->
+ <property name="cactus.jboss3x.config.dir"
+ value="${cactus.home.jboss3x}/server"/>
+
+ <!-- Name of the server configuration to use -->
+ <property name="cactus.jboss3x.config.name" value="default"/>
+
<!--
========================================================================
Run JBoss 3.x tests
@@ -37,10 +44,10 @@
<java jvm="${cactus.jvm}" classname="org.jboss.Main" fork="yes">
<jvmarg value="-Dprogram.name=${cactus.home.jboss3x}/bin/run.bat"/>
- <jvmarg value="-Djboss.server.home.dir=${cactus.home.jboss3x}/server/default"/>
- <jvmarg value="-Djboss.server.home.url=file:/${cactus.home.jboss3x}/server/default"/>
+ <jvmarg value="-Djboss.server.home.dir=${cactus.jboss3x.config.dir}/${cactus.jboss3x.config.name}"/>
+ <jvmarg value="-Djboss.server.home.url=file:/${cactus.jboss3x.config.dir}/${cactus.jboss3x.config.name}"/>
- <arg line="-c default"/>
+ <arg line="-c ${cactus.jboss3x.config.name}"/>
<classpath>
<pathelement location="${cactus.home.jboss3x}/bin/run.jar"/>
@@ -114,7 +121,7 @@
</fileset>
</copy>
- <jar destfile="${cactus.home.jboss3x}/server/default/deploy/${cactus.context}.war">
+ <jar destfile="${cactus.jboss3x.config.dir}/${cactus.jboss3x.config.name}/deploy/${cactus.context}.war">
<fileset dir="${cactus.target.jboss3x}/tmp/${cactus.context}"/>
</jar>
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org