Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 25617 invoked from network); 25 Jan 2001 13:04:51 -0000 Received: from unknown (HELO lithium.amxstudios.com) (62.7.231.136) by h31.sny.collab.net with SMTP; 25 Jan 2001 13:04:51 -0000 Received: from predestination.amxstudios.com ([192.168.3.27]) by lithium.amxstudios.com (Netscape Messaging Server 3.6) with ESMTP id AAA1D80 for ; Thu, 25 Jan 2001 13:00:13 +0000 Received: from thom by predestination.amxstudios.com with local (Exim 3.20 #1 (Debian)) id 14Lm09-0008LU-00 for ; Thu, 25 Jan 2001 12:59:45 +0000 Date: Thu, 25 Jan 2001 12:59:45 +0000 From: Thom May To: cocoon-dev@xml.apache.org Subject: Re: cvs commit: xml-cocoon build.bat Message-ID: <20010125125945.I8609@amxstudios.com> Mail-Followup-To: cocoon-dev@xml.apache.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.12i In-Reply-To: ; from greenrd@hotmail.com on Thu, Jan 25, 2001 at 12:59:55 -0000 X-Operating-System: Linux/2.4.0 (i686) X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Yep. That's all standard POSIX stuff... -Thom * Robin Green (greenrd@hotmail.com) wrote on Thu Jan 25, 2001 at 12:59:55 -0000: > Great, but (with the missing } ) should this run on all Unices? > > Thom May wrote: > >xmlerror(){ > > print "ERROR: Please delete any XML jars from $JAVA_HOME/jre/lib/ext," > > print " otherwise Cocoon will not compile!\n" > >if [ -e $JAVA_HOME/jre/lib/xml.jar ] ; > > then xmlerror; > >elif [ -e $JAVA_HOME/jre/lib/ext/xml.jar ] ; > > then xmlerror; > ># etc etc > >fi > > > >* Robin Green (greenrd@hotmail.com) wrote on Thu Jan 25, 2001 at 01:36:03 > >-0000: > > > 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. > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > > > For additional commands, email: cocoon-dev-help@xml.apache.org > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > >For additional commands, email: cocoon-dev-help@xml.apache.org > > > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > For additional commands, email: cocoon-dev-help@xml.apache.org >