[cvs] expresso commit by lhamel: add useful var

JCorporate Ltd jcorp at jcorporate.com
Sun Jun 19 17:39:21 UTC 2005


Log Message:
-----------
add useful var

Modified Files:
--------------
    expresso:
        build.xml

Revision Data
-------------
Index: build.xml
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/build.xml,v
retrieving revision 1.96
retrieving revision 1.97
diff -Lbuild.xml -Lbuild.xml -u -r1.96 -r1.97
--- build.xml
+++ build.xml
@@ -1224,7 +1224,8 @@
 
         <property name="logdir" value="${container.home}/logs"/>
         <property name="outfile" value="${container.home}/testout.txt"/>
-        <property name="containedWebinf" value="${container.home}/webapps/${app.name}/WEB-INF"/>
+        <property name="containedappdir" value="${container.home}/webapps/${app.name}"/>
+        <property name="containedWebinf" value="${containedappdir}/WEB-INF"/>
         <mkdir dir="${logdir}"/>
         <echo message="output going to: ${outfile} (you might want to tail -f that file)"/>
         <echo message="logs going to: ${logdir}"/>
@@ -1254,7 +1255,7 @@
             <jvmarg value="-Xms128m"/>
             <jvmarg value="-Xmx128m"/>
             <jvmarg value="-Djunit.argv.configDir=${containedWebinf}/config"/>
-            <jvmarg value="-Djunit.argv.webAppDir=${containedWebinf}/.."/>
+            <jvmarg value="-Djunit.argv.webAppDir=${containedappdir}"/>
             <jvmarg value="-Djunit.argv.testContext=test"/>
             <jvmarg value="-Djunit.argv.logDir=${logdir}"/>
 


More information about the cvs mailing list