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 : [EMAIL PROTECTED] &&&&. Business Hours : +49 69 9757 200 &&&&&&&:
Index: bin/ant =================================================================== RCS file: /home/cvspublic/xml-cocoon2/bin/ant,v retrieving revision 1.9 diff -u -r1.9 ant --- bin/ant 2001/09/18 20:13:14 1.9 +++ bin/ant 2001/12/10 16:54:28 @@ -104,8 +104,4 @@ LOCALCLASSPATH=`cygpath --path --windows "$LOCALCLASSPATH"` fi -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 +$JAVACMD -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" $ANT_OPTS +org.apache.tools.ant.Main "$@"
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]