cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vgritse...@hns.com>
Subject RE: [PATCH] Re: C2 - cannot compile
Date Wed, 11 Jul 2001 13:28:30 GMT
Stuart, other Mac OS X users,

patch is checked in, please check.

Thanks,
Vadim

> -----Original Message-----
> From: Stuart Roebuck [mailto:stuart.roebuck@adolos.co.uk]
> Sent: Tuesday, July 10, 2001 13:37
> To: cocoon-dev@xml.apache.org
> Cc: vgritsenko@hns.com; jeremy@media.demon.co.uk
> Subject: [PATCH] Re: C2 - cannot compile
> 
> 
> 
> On Tuesday, July 10, 2001, at 02:55  pm, Jeremy Quinn wrote:
> 
> > At 9:28 AM -0400 9/7/01, Vadim Gritsenko wrote:
> >> Can we add check for MacOS X to ant script, so other people don't have
> >> similar problem?
> >
> > That would be a nice idea.
> >
> > The problem may be about to go away, though I am not sure. Apple have just
> > released a Developer Preview of Java 1.3.1 for MacOS X, maybe it has this
> > switch.
> >
> The switch doesn't appear to be there at the moment...
> 
> > Meanwhile, if you want to apply the patch to bin/ant there is an
> > environment variable in MacOS X, $OSTYPE=macos.
> 
> Can I suggest the following patch to bin/ant for Mac OS X at the moment 
> (replacing last line):
> 
> if [ $( expr $OSTYPE : '^[dD]arwin.*' ) > 0 ]; then
> 	$JAVACMD -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" 
> $ANT_OPTS org.apache.tools.ant.Main "$@"
> else
> 	$JAVACMD -classic -classpath "$LOCALCLASSPATH" 
> -Dant.home="${ANT_HOME}" $ANT_OPTS org.apache.tools.ant.Main "$@"
> fi
> 
> On Mac OS X 10.0.4 the value of OSTYPE in the /bin/sh shell appears to be 
> "darwin1.0", but it is "Darwin1.3" in Bash and "macos" in csh and tcsh!
> 
> Stuart.
> 
> 
> -------------------------------------------------------------------------
> Stuart Roebuck                                  stuart.roebuck@adolos.com
> Lead Developer                               Java, XML, MacOS X, XP, etc.
> ADOLOS                                           <http://www.adolos.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


Mime
View raw message