You are viewing a plain text version of this content. The canonical link for it is here.
Posted to tdk-dev@turbine.apache.org by Will Stranathan <wi...@thestranathans.com> on 2001/04/03 02:24:17 UTC
[PATCH] build-project.bat
Replaced UNIX line endings. Moved system classpath to end of classpath in
use so we use the correct servlet.jar.
Index: build-project.bat
===================================================================
RCS file:
/home/cvspublic/jakarta-turbine-tdk/src/share/common/build/build-project.bat
,v
retrieving revision 1.4
diff -u -r1.4 build-project.bat
--- build-project.bat 2000/11/23 23:56:23 1.4
+++ build-project.bat 2001/04/03 00:24:05
@@ -1,38 +1,39 @@
-@echo off
-
-REM --------------------------------------------
-REM No need to edit anything past here
-REM --------------------------------------------
-set _BUILDFILE=%BUILDFILE%
-set BUILDFILE=build-project.xml
-
-:final
-
-
-set LOCALCLASSPATH=%CLASSPATH%
-
-if "%JAVA_HOME%" == "" goto javahomeerror
-if exist %JAVA_HOME%\lib\tools.jar set
LOCALCLASSPATH=%LOCALCLASSPATH%;%JAVA_HOME%\lib\tools.jar
-set LOCALCLASSPATH=%LOCALCLASSPATH%;..\..\..\..\lib\ant.jar
-for %%i in (..\lib\*.jar) do call bin\lcp.bat %%i
-
-set _JAVAC=%JAVAC%
-set JAVAC=classic
-if not "%JIKES%" == "" set JAVAC=jikes
-
-%JAVA_HOME%\bin\java.exe -classpath "%LOCALCLASSPATH%" -DJAVAC=%JAVAC%
org.apache.tools.ant.Main -buildfile %BUILDFILE% %1 %2 %3 %4 %5 %6 %7 %8 %9
-
-goto end
-
-REM -----------ERROR-------------
-:javahomeerror
-echo "ERROR: JAVA_HOME not found in your environment."
-echo "Please, set the JAVA_HOME variable in your environment to match the"
-echo "location of the Java Virtual Machine you want to use."
-
-:end
-set LOCALCLASSPATH=
-set BUILDFILE=%_BUILDFILE%
-set _BUILDFILE=
-set JAVAC=%_JAVAC%
-set _JAVAC=
+@echo off
+
+REM --------------------------------------------
+REM No need to edit anything past here
+REM --------------------------------------------
+set _BUILDFILE=%BUILDFILE%
+set BUILDFILE=build-project.xml
+
+:final
+
+
+set LOCALCLASSPATH=
+
+if "%JAVA_HOME%" == "" goto javahomeerror
+if exist %JAVA_HOME%\lib\tools.jar set
LOCALCLASSPATH=%LOCALCLASSPATH%;%JAVA_HOME%\lib\tools.jar
+set LOCALCLASSPATH=%LOCALCLASSPATH%;..\..\..\..\lib\ant.jar
+for %%i in (..\lib\*.jar) do call bin\lcp.bat %%i
+
+set _JAVAC=%JAVAC%
+set JAVAC=classic
+if not "%JIKES%" == "" set JAVAC=jikes
+
+set LOCALCLASSPATH=%LOCALCLASSPATH%;%CLASSPATH%
+%JAVA_HOME%\bin\java.exe -classpath "%LOCALCLASSPATH%" -DJAVAC=%JAVAC%
org.apache.tools.ant.Main -buildfile %BUILDFILE% %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+goto end
+
+REM -----------ERROR-------------
+:javahomeerror
+echo "ERROR: JAVA_HOME not found in your environment."
+echo "Please, set the JAVA_HOME variable in your environment to match the"
+echo "location of the Java Virtual Machine you want to use."
+
+:end
+set LOCALCLASSPATH=
+set BUILDFILE=%_BUILDFILE%
+set _BUILDFILE=
+set JAVAC=%_JAVAC%
+set _JAVAC=
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-tdk-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-tdk-dev-help@jakarta.apache.org