vmassol 01/06/30 11:56:25 Modified: cactus/conf/sample/build/servlet23 build-tests-tomcat-40.xml Log: modifications for accepting the -Dbuild.sysclasspath=only parameter when starting Ant Revision Changes Path 1.3 +14 -1 jakarta-commons/cactus/conf/sample/build/servlet23/build-tests-tomcat-40.xml Index: build-tests-tomcat-40.xml =================================================================== RCS file: /home/cvs/jakarta-commons/cactus/conf/sample/build/servlet23/build-tests-tomcat-40.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- build-tests-tomcat-40.xml 2001/06/30 18:33:51 1.2 +++ build-tests-tomcat-40.xml 2001/06/30 18:56:24 1.3 @@ -29,7 +29,13 @@ <arg value="${out.tomcat40.full.dir}/conf/server.xml"/> <arg value="start"/> <classpath> - <pathelement location="${java.home}/../lib/tools.jar"/> + + <!-- This is to allow the use of -Dbuild.sysclasspath=only when + starting Ant - Meaning that all jars need to be on the + initial classpath --> + <pathelement path="${java.class.path}"/> + + <!-- These are ignore if -Dbuild.sysclasspath=only is used --> <fileset dir="${tomcat.home.40}"> <include name="bin/bootstrap.jar"/> <include name="server/catalina.jar"/> @@ -50,6 +56,13 @@ <jvmarg value="-Dcatalina.home=${tomcat.home.40}"/> <arg value="stop"/> <classpath> + + <!-- This is to allow the use of -Dbuild.sysclasspath=only when + starting Ant - Meaning that all jars need to be on the + initial classpath --> + <pathelement path="${java.class.path}"/> + + <!-- These are ignore if -Dbuild.sysclasspath=only is used --> <fileset dir="${tomcat.home.40}"> <include name="bin/bootstrap.jar"/> <include name="server/catalina.jar"/>