curcuru     01/08/15 15:06:56

  Modified:    test     build.bat
  Log:
  Update comments and help/usage text; now passes JAVA_OPTS along to the JVM
  
  Revision  Changes    Path
  1.4       +13 -6     xml-xalan/test/build.bat
  
  Index: build.bat
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/build.bat,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.bat 2001/08/01 05:54:02     1.3
  +++ build.bat 2001/08/15 22:06:56     1.4
  @@ -1,12 +1,12 @@
   @echo off
   @goto start
  -rem     Name:   test.bat
  +rem     Name:   build.bat
   rem     Author: [EMAIL PROTECTED]
  -rem     See:    test.xml
  +rem     See:    build.xml
   :usage
  [EMAIL PROTECTED] test.bat - executes Xalan Java-based test automation
  [EMAIL PROTECTED] build.bat - compiles and executes Xalan Java-based test 
automation
   @echo   Usage:   test [target] [-D options]
  [EMAIL PROTECTED]   Example: test api -DtestClass=TransformerAPITest 
-Dqetest.loggingLevel
  [EMAIL PROTECTED]   Example: test api -DtestClass=TransformerAPITest 
-Dqetest.loggingLevel=99
   @echo.
   @echo   EITHER: set environment variable JARDIR to point to dir 
   @echo   containing *all* needed .jars to run, ...
  @@ -15,11 +15,17 @@
   @echo   ... OR: pass appropriate ANT_OPTS or the like to reset .jar 
   @echo   file locations to your locations
   @echo.
  [EMAIL PROTECTED]   Note that even when JARDIR is set, normal .jar files may 
still be 
  [EMAIL PROTECTED]     on the end of the classpath; see build.xml for details
  [EMAIL PROTECTED]
   @echo   You should have JAVA_HOME/lib/tools.jar, etc. in your CLASSPATH
   @echo   You may set PARSER_JAR to specific path/filename.jar of parser
  [EMAIL PROTECTED]     Note: PARSER_JAR is ignored when JARDIR is set
   @echo   You may set JAVA_OPTS to be passed to java program
   @echo   All other command line opts are passed to Ant
  [EMAIL PROTECTED]   build -projecthelp   will show you Ant help and build 
targets
   @echo.
  +
   goto mainEnd
   rem ------------------------------------------------------------------------
   rem Blatantly modeled on ant.bat
  @@ -76,6 +82,7 @@
   rem Else if JARDIR is set, then put all Xalan-J 2.x required .jar files 
   rem    in the classpath first from that one dir
   rem Note: Does not yet support xsltc testing! TBD -sc
  +rem Note: Does not yet support using crimson from JARDIR (forces 
xerces.jar)! TBD -sc
   if not "%JARDIR%" == "" set 
_ANT_CP=%JARDIR%\xerces.jar;%JARDIR%\xalan.jar;%JARDIR%\bsf.jar;%JARDIR%\js.jar;%_ANT_HOME%\bin\ant.jar;%CLASSPATH%
   
   if "%JAVA_HOME%" == "" goto noJavaHome
  @@ -92,11 +99,11 @@
   if not "%JIKESPATH%" == "" goto runAntWithJikes
   
   :runAnt
  -"%_JAVACMD%" -classpath "%_ANT_CP%" -Dant.home="%_ANT_HOME%" %ANT_OPTS% 
org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS%
  +"%_JAVACMD%" %JAVA_OPTS% -classpath "%_ANT_CP%" -Dant.home="%_ANT_HOME%" 
%ANT_OPTS% org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS%
   goto end
   
   :runAntWithJikes
  -"%_JAVACMD%" -classpath "%_ANT_CP%" -Dant.home="%_ANT_HOME%" 
-Djikes.class.path=%JIKESPATH% %ANT_OPTS% org.apache.tools.ant.Main 
%ANT_CMD_LINE_ARGS%
  +"%_JAVACMD%" %JAVA_OPTS% -classpath "%_ANT_CP%" -Dant.home="%_ANT_HOME%" 
-Djikes.class.path=%JIKESPATH% %ANT_OPTS% org.apache.tools.ant.Main 
%ANT_CMD_LINE_ARGS%
   
   :end
   set _ANT_CP=
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to