cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gree...@apache.org
Subject cvs commit: xml-cocoon build.sh
Date Thu, 25 Jan 2001 18:45:55 GMT
greenrd     01/01/25 10:45:53

  Modified:    .        build.sh
  Log:
  check for xml jars added like in build.bat
  
  Revision  Changes    Path
  1.22      +12 -0     xml-cocoon/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/build.sh,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- build.sh	2000/08/18 22:35:09	1.21
  +++ build.sh	2001/01/25 18:45:46	1.22
  @@ -12,6 +12,18 @@
     exit 1
   fi
   
  +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/ext/xml.jar ] ;
  +then xmlerror;
  +elif [ -e $JAVA_HOME/jre/lib/ext/parser.jar ] ;
  +then xmlerror;
  +elif [ -e $JAVA_HOME/jre/lib/ext/crimson.jar ] ;
  +then xmlerror;
  +fi
  +
   ANT_HOME=./lib
   LOCALCLASSPATH=`echo lib/*.jar | tr ' ' ':'`:$JAVA_HOME/lib/tools.jar:$CLASSPATH
   
  
  
  

Mime
View raw message