bloritsch 01/06/12 06:39:58 Modified: . Tag: cocoon_20_branch build.sh Log: no message Revision Changes Path No revision No revision 1.4.2.1 +10 -27 xml-cocoon2/build.sh Index: build.sh =================================================================== RCS file: /home/cvs/xml-cocoon2/build.sh,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -u -r1.4 -r1.4.2.1 --- build.sh 2001/06/04 11:27:04 1.4 +++ build.sh 2001/06/12 13:39:57 1.4.2.1 @@ -1,34 +1,17 @@ #!/bin/sh -# ----------------------------------------------------------------------------- -# build.sh - Unix Build Script for Apache Cocoon -# -# $Id: build.sh,v 1.4 2001/06/04 11:27:04 dims Exp $ -# ----------------------------------------------------------------------------- -# ----- Verify and Set Required Environment Variables ------------------------- +echo +echo "Avalon Build System" +echo "-------------------" -if [ "$ANT_HOME" = "" ] ; then - ANT_HOME=. -fi +chmod u+x ./bin/antRun +chmod u+x ./bin/ant -if [ "$JAVA_HOME" = "" ] ; then - echo You must set JAVA_HOME to point at your Java Development Kit installation - exit 1 -fi +unset ANT_HOME -# ----- Set Up The Runtime Classpath ------------------------------------------ +export CP=$CLASSPATH +export CLASSPATH=lib/xerces_1_4_0.jar -CP=$JAVA_HOME/lib/tools.jar:$ANT_HOME/lib/ant_1_3.jar:$ANT_HOME/lib/ant_1_3-optional.jar:./lib/xerces_1_4_0.jar:./lib/xalan-2.1.0.jar - -# ----- Make sure Ant script is executable ------------------------------------ +$PWD/bin/ant -logger org.apache.tools.ant.NoBannerLogger -emacs $@ -if [ ! -x $ANT_HOME/bin/antRun ] ; then - chmod 0755 $ANT_HOME/bin/antRun -fi - -# ----- Execute The Requested Build ------------------------------------------- - -$JAVA_HOME/bin/java $ANT_OPTS -classpath $CP org.apache.tools.ant.Main -Djava.home=$JAVA_HOME -Dant.home=$ANT_HOME -logger org.apache.tools.ant.NoBannerLogger -emacs $* - - - +export CLASSPATH=$CP
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
