bloritsch    01/07/24 13:24:51

  Modified:    .        build.bat build.sh
  Added:       bin      ant.bat antRun.bat lcp.bat
  Log:
  upgrade windows build system so that no batch files need to be edited
  
  Revision  Changes    Path
  1.7       +8 -27     xml-cocoon2/build.bat
  
  Index: build.bat
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.bat,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.bat 2001/06/26 07:25:21     1.6
  +++ build.bat 2001/07/24 20:24:51     1.7
  @@ -1,34 +1,15 @@
   @echo off
  -:: -----------------------------------------------------------------------------
  -:: build.bat - Win32 Build Script for Apache Cocoon
  -::
  -:: $Id: build.bat,v 1.6 2001/06/26 07:25:21 cziegeler Exp $
  -:: -----------------------------------------------------------------------------
  +rem ----------------------------------------------------------------------------
  +rem build.bat - Win32 Build Script for Apache Cocoon
  +rem
  +rem $Id: build.bat,v 1.7 2001/07/24 20:24:51 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
   
  
  
  
  1.6       +1 -1      xml-cocoon2/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.sh,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.sh  2001/06/14 10:47:23     1.5
  +++ build.sh  2001/07/24 20:24:51     1.6
  @@ -10,7 +10,7 @@
   unset ANT_HOME
   
   export CP=$CLASSPATH
  -export CLASSPATH=lib/xerces_1_4_0.jar
  +unset CLASSPATH
   
   $PWD/bin/ant -logger org.apache.tools.ant.NoBannerLogger -emacs $@ 
   
  
  
  
  1.2       +97 -0     xml-cocoon2/bin/ant.bat
  
  
  
  
  1.2       +20 -0     xml-cocoon2/bin/antRun.bat
  
  
  
  
  1.2       +2 -0      xml-cocoon2/bin/lcp.bat
  
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to