User: vincent
Date: 00/08/25 11:45:33
Modified: build build.bat
Log:
Updated batch file to match the Unix shell script.
Revision Changes Path
1.3 +5 -18 spyderMQ/build/build.bat
Index: build.bat
===================================================================
RCS file: /products/cvs/ejboss/spyderMQ/build/build.bat,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- build.bat 2000/06/01 01:39:31 1.2
+++ build.bat 2000/08/25 18:45:33 1.3
@@ -1,24 +1,11 @@
@echo off
-set JDK=1.3
-set BF=build
-set TARGET=%1
+LIB=..\lib
+# there is a path for Ant build files
-if "%TARGET%" == "" goto setdist
-goto final
-
-:setdist
-set TARGET=dist
-
-:final
+BF=.
-cd ..
+CP=%BF%\xml.jar;%BF%\ant.jar;%BF%\javac.jar;%LIB%\jms.jar;%LIB%\jnp.jar
-set CP=%BF%/ant.jar;%BF%/javac.jar;%BF%/xml.jar
-set BUILDFILE=%BF%/build.xml
-
-echo "Classpath: %CP%"
-set CLASSPATH=%CP%
-
-java -classpath %CP% -Djdk="%JDK%" -Dbuild.files=%BF% org.apache.tools.ant.Main
-buildfile %BUILDFILE% %TARGET%
+java -classpath %CP% org.apache.tools.ant.Main %1 %2 %3 %4 %5 %6 %7 %8 %9