bloritsch 01/07/24 13:24:43 Modified: . Tag: cocoon_20_branch build.bat Added: bin Tag: cocoon_20_branch ant.bat antRun.bat lcp.bat Log: upgrade windows build system so that no batch files need to be changed Revision Changes Path No revision No revision 1.4.2.3 +8 -27 xml-cocoon2/build.bat Index: build.bat =================================================================== RCS file: /home/cvs/xml-cocoon2/build.bat,v retrieving revision 1.4.2.2 retrieving revision 1.4.2.3 diff -u -r1.4.2.2 -r1.4.2.3 --- build.bat 2001/06/26 07:27:30 1.4.2.2 +++ build.bat 2001/07/24 20:24:43 1.4.2.3 @@ -1,34 +1,15 @@ @echo off -:: ----------------------------------------------------------------------------- -:: build.bat - Win32 Build Script for Apache Cocoon -:: -:: $Id: build.bat,v 1.4.2.2 2001/06/26 07:27:30 cziegeler Exp $ -:: ----------------------------------------------------------------------------- +rem ---------------------------------------------------------------------------- +rem build.bat - Win32 Build Script for Apache Cocoon +rem +rem $Id: build.bat,v 1.4.2.3 2001/07/24 20:24:43 bloritsch Exp $ +rem ---------------------------------------------------------------------------- -:: ----- Verify and Set Required Environment Variables ------------------------- +rem ----- Verify and Set Required Environment Variables ------------------------ -if not "%JAVA_HOME%" == "" goto gotJavaHome -echo You must set JAVA_HOME to point at your Java Development Kit installation -goto cleanup -:gotJavaHome - -if not "%ANT_HOME%" == "" goto gotAntHome +if defined ANT_HOME goto gotAntHome set ANT_HOME=. :gotAntHome - -:: ----- Set Up The Runtime Classpath ------------------------------------------ - -set CP=%JAVA_HOME%\lib\tools.jar;%ANT_HOME%\lib\ant_1_3.jar;%ANT_HOME%\lib\ant_1_3-optional.jar -for %%i in (.\lib\xerces*.jar) do call appendcp.bat %%i -for %%i in (.\lib\xalan*.jar) do call appendcp.bat %%i - -:: ----- Execute The Requested Build ------------------------------------------- - -%JAVA_HOME%\bin\java.exe %ANT_OPTS% -classpath %CP% org.apache.tools.ant.Main -Djava.home=%JAVA_HOME% -Dant.home=%ANT_HOME% %1 %2 %3 %4 %5 %6 %7 %8 %9 - -:: ----- Cleanup the environment ----------------------------------------------- - -:cleanup -set CP= +call %ANT_HOME%\bin\ant %1 %2 %3 %4 %5 %6 %7 %8 %9 No revision No revision 1.1.2.1 +97 -0 xml-cocoon2/bin/Attic/ant.bat 1.1.2.1 +20 -0 xml-cocoon2/bin/Attic/antRun.bat 1.1.2.1 +2 -0 xml-cocoon2/bin/Attic/lcp.bat ---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]