cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morrison, John" <John.Morri...@uk.experian.com>
Subject RE: [patch] bin/ant & solaris
Date Tue, 11 Dec 2001 08:42:39 GMT
Is this the bin/ant file from the ant distribution?  If it is - when was it
fixed in there? 

The ant -version from cvs reports as 1.4 compiled on September 3 2001, I'm
using 1.4.1 from October 11.  Would it be worth upgrading cvs?

J.

> -----Original Message-----
> From: Marcus Crafter [mailto:crafterm@fztig938.bank.dresdner.net]
> Sent: Monday, 10 December 2001 5:11 pm
> To: Cocoon Developers Mailing List
> Subject: [patch] bin/ant & solaris
> 
> 
> Hi All,
> 
> 	Hope all is well.
> 
> 	Unfortunately the bin/ant script fails on Solaris due 
> to some bash
> 	specifics when testing for Darwin:
> 
> if [ $( expr $OSTYPE : '[dD]arwin.*' ) -gt 0 ]; then
>         $JAVACMD -classpath "$LOCALCLASSPATH" 
> -Dant.home="${ANT_HOME}" $ANT_OPTS org.apache.tools.ant.Main "$@"
> else
>         $JAVACMD -classpath "$LOCALCLASSPATH" 
> -Dant.home="${ANT_HOME}" $ANT_OPTS org.apache.tools.ant.Main "$@"
> fi
> 
> causes:
> 
> ffzj0ia9[/export/home/crafterm/workarea/xml-cocoon2]:37>./build.sh 
> 
> Apache Cocoon 2 Build System
> ----------------------------
> /export/home/crafterm/workarea/xml-cocoon2/bin/ant: syntax 
> error at line 107: `(' unexpected
> ffzj0ia9[/export/home/crafterm/workarea/xml-cocoon2]:38>
> 
> 	Since the if and else branches actually perform the same thing
> 	attached is a patch to remove the test altogether and make the
> 	script /bin/sh compatible again. Hope it's ok.
> 
> 	Cheers,
> 
> 	Marcus
> -- 
>         .....
>      ,,$$$$$$$$$,      Marcus Crafter
>     ;$'      '$$$$:    Computer Systems Engineer
>     $:         $$$$:   ManageSoft GmbH
>      $       o_)$$$:   82-84 Mainzer Landstrasse
>      ;$,    _/\ &&:'   60327 Frankfurt Germany
>        '     /( &&&
>            \_&&&&'     Email : Marcus.Crafter@managesoft.com
>           &&&&.        Business Hours : +49 69 9757 200
>     &&&&&&&:
> 


=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message