aboutsummaryrefslogtreecommitdiffstats
path: root/build.bat
diff options
context:
space:
mode:
Diffstat (limited to 'build.bat')
-rwxr-xr-xbuild.bat22
1 files changed, 6 insertions, 16 deletions
diff --git a/build.bat b/build.bat
index 57c087d4b3..3a2c9ef8d8 100755
--- a/build.bat
+++ b/build.bat
@@ -1,23 +1,13 @@
@echo off
-rem ----------------------------------------------------------------------------
-rem build.bat - Win32 Build Script for Apache Cocoon
-rem
-rem $Id$
-rem ----------------------------------------------------------------------------
-rem ----- Copy Xalan and Xerces for the build system ------------------------
-copy lib\optional\xerces*.jar tools\lib
-copy lib\optional\xalan*.jar tools\lib
-copy lib\optional\xml-api*.jar tools\lib
-copy lib\optional\jtidy*.jar tools\lib
+set OLD_ANT_HOME=%ANT_HOME%
+set ANT_HOME=tools\ant
-rem ----- Verify and Set Required Environment Variables ------------------------
+set OLD_CLASSPATH=%CLASSPATH%
+set CLASSPATH=tools\centipede\lib\xml-apis.jar;tools\centipede\lib\xerces.jar;tools\centipede\lib\xalan.jar;tools\centipede\lib\junit.jar;tools\centipede\lib\jIzPress.jar;tools\centipede\lib\jtidy.jar
-REM Commented out so it always uses poi's ant -- gjs -- if not "%ANT_HOME%" == "" goto gotAntHome
-set OLD_ANT_HOME=%ANT_HOME%
-set ANT_HOME=tools
-:gotAntHome
+call %ANT_HOME%\bin\ant -listener org.apache.tools.ant.XmlLogger %1 %2 %3 %4 %5 %6 %7 %8 %9
-call %ANT_HOME%\bin\ant %1 %2 %3 %4 %5 %6 %7 %8 %9
set ANT_HOME=%OLD_ANT_HOME%
+set CLASSPATH=%OLD_CLASSPATH%