You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by co...@apache.org on 2001/05/10 21:47:16 UTC

cvs commit: xml-xalan/java build.sh build.xml

costin      01/05/10 12:47:15

  Modified:    java     build.sh build.xml
  Log:
  Removed javax.xml.parsers from the generated jar file.
  The files are still in repository - to avoid build problems or new
  dependencies.
  
  Automatically add tools.jar in CLASSPATH ( as in build.bat )
  
  Added a note that build.sh can be replaced with using "ant" ( as people
  would use "make" ) - many other apache projects are using this "style".
  
  Revision  Changes    Path
  1.5       +13 -0     xml-xalan/java/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/build.sh,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.sh	2001/04/23 21:20:29	1.4
  +++ build.sh	2001/05/10 19:47:05	1.5
  @@ -2,6 +2,8 @@
   #	Name:   build.sh Build Xalan-J 2.x using Ant
   #	Author: Shane Curcuru
   
  +# Alternatively, you can just call "ant" 
  +
   echo "Xalan-J 2.x Build"
   echo "-------------"
   
  @@ -22,11 +24,22 @@
       PARSER_JAR=./bin/xerces.jar
   fi
   
  +# Use _underscore prefix to not conflict with user's settings
   # Default to UNIX-style pathing
   CLPATHSEP=:
   # if we're on a Windows box make it ;
   uname | grep WIN && CLPATHSEP=\;
   _CLASSPATH="$ANT_JAR${CLPATHSEP}$PARSER_JAR${CLPATHSEP}$CLASSPATH"
  +
  +# Attempt to automatically add system classes to _CLASSPATH
  +if [ -f $JAVA_HOME/lib/tools.jar ] ; then
  +  _CLASSPATH=${_CLASSPATH}${CLPATHSEP}${JAVA_HOME}/lib/tools.jar
  +fi
  +
  +if [ -f $JAVA_HOME/lib/classes.zip ] ; then
  +  _CLASSPATH=${_CLASSPATH}${CLPATHSEP}${JAVA_HOME}/lib/classes.zip
  +fi
  +
   
   echo "Starting Ant with targets: $@"
   echo "        ...with classpath: $_CLASSPATH"
  
  
  
  1.99      +3 -1      xml-xalan/java/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/build.xml,v
  retrieving revision 1.98
  retrieving revision 1.99
  diff -u -r1.98 -r1.99
  --- build.xml	2001/05/10 18:19:18	1.98
  +++ build.xml	2001/05/10 19:47:06	1.99
  @@ -49,7 +49,7 @@
     
     - Much of this file stolen from Stefano's xml-xerces build.xml  
     
  -   $Id: build.xml,v 1.98 2001/05/10 18:19:18 dleslie Exp $
  +   $Id: build.xml,v 1.99 2001/05/10 19:47:06 costin Exp $
      
   ==================================================================== -->
   
  @@ -318,6 +318,8 @@
       <jar jarfile="${build.xalan.jar}" manifest="src\MANIFEST.MF" basedir="${build.classes}" >
         <patternset><!-- relative to jar/@basedir -->
           <exclude name="${xsltc.reldir}/**/*" />
  +        <exclude name="javax/xml/parsers/**" />
  +        <exclude name="META-INF/services/javax.xml.parsers*" />
         </patternset>
       </jar>
     </target>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org