cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: cvs commit: xml-cocoon build.bat
Date Thu, 25 Jan 2001 01:36:03 GMT
Quick question from a scripting newbie - how can I do the same check in 
build.sh?

greenrd@apache.org wrote:
>greenrd     01/01/24 17:15:41
>
>   Modified:    .        build.bat
>   Log:
>   better checking
>
>   Revision  Changes    Path
>   1.20      +6 -3      xml-cocoon/build.bat
>
>   Index: build.bat
>   ===================================================================
>   RCS file: /home/cvs/xml-cocoon/build.bat,v
>   retrieving revision 1.19
>   retrieving revision 1.20
>   diff -u -r1.19 -r1.20
>   --- build.bat	2001/01/24 17:33:54	1.19
>   +++ build.bat	2001/01/25 01:15:40	1.20
>   @@ -12,7 +12,10 @@
>    echo Cocoon Build System
>    echo -------------------
>
>   -if exist "%JAVA_HOME%\jre\lib\xml.jar" goto xmlerror
>   +if exist "%JAVA_HOME%\jre\lib\ext\xml.jar" goto xmlerror
>   +if exist "%JAVA_HOME%\jre\lib\ext\parser.jar" goto xmlerror
>   +if exist "%JAVA_HOME%\jre\lib\ext\jaxp.jar" goto xmlerror
>   +if exist "%JAVA_HOME%\jre\lib\ext\crimson.jar" goto xmlerror
>
>    set ANT_HOME=.\lib
>
>   @@ -39,8 +42,8 @@
>
>    :xmlerror
>
>   -echo "ERROR: Please delete %JAVA_HOME%\jre\lib\xml.jar, otherwise 
>Cocoon will not"
>   -echo "compile!"
>   +echo "ERROR: Please delete any XML jars from %JAVA_HOME%\jre\lib\ext,"
>   +echo "otherwise Cocoon will not compile!"
>
>    :end
>
>
>
>
>
>----------------------------------------------------------------------
>In case of troubles, e-mail:     webmaster@xml.apache.org
>To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-cvs-help@xml.apache.org
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Mime
View raw message