You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by gr...@apache.org on 2001/01/24 18:33:57 UTC
cvs commit: xml-cocoon build.bat
greenrd 01/01/24 09:33:57
Modified: . build.bat
Log:
added quick and dirty check for old xml.jar
Revision Changes Path
1.19 +8 -0 xml-cocoon/build.bat
Index: build.bat
===================================================================
RCS file: /home/cvs/xml-cocoon/build.bat,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- build.bat 2000/08/18 22:35:09 1.18
+++ build.bat 2001/01/24 17:33:54 1.19
@@ -12,6 +12,8 @@
echo Cocoon Build System
echo -------------------
+if exist "%JAVA_HOME%\jre\lib\xml.jar" goto xmlerror
+
set ANT_HOME=.\lib
set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar
@@ -33,6 +35,12 @@
echo.
echo "Please, set the JAVA_HOME variable in your environment to match the"
echo "location of the Java Virtual Machine you want to use."
+goto end
+
+:xmlerror
+
+echo "ERROR: Please delete %JAVA_HOME%\jre\lib\xml.jar, otherwise Cocoon will not"
+echo "compile!"
:end