You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by cu...@apache.org on 2002/01/11 20:19:35 UTC

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

curcuru     02/01/11 11:19:34

  Modified:    java     build.sh build.bat
  Log:
  Add new xml-apis.jar to classpath so Ant can still find JAXP classes
  after we update to Xerces 2.x impl jar
  
  Revision  Changes    Path
  1.6       +5 -1      xml-xalan/java/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/build.sh,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.sh	10 May 2001 19:47:05 -0000	1.5
  +++ build.sh	11 Jan 2002 19:19:34 -0000	1.6
  @@ -24,12 +24,16 @@
       PARSER_JAR=./bin/xerces.jar
   fi
   
  +if [ "$XML-APIS_JAR" = "" ] ; then
  +    XML-APIS_JAR=./bin/xml-apis.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"
  +_CLASSPATH="$ANT_JAR${CLPATHSEP}$XML-APIS_JAR${CLPATHSEP}$PARSER_JAR${CLPATHSEP}$CLASSPATH"
   
   # Attempt to automatically add system classes to _CLASSPATH
   if [ -f $JAVA_HOME/lib/tools.jar ] ; then
  
  
  
  1.11      +4 -2      xml-xalan/java/build.bat
  
  Index: build.bat
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/build.bat,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- build.bat	6 Aug 2001 04:58:34 -0000	1.10
  +++ build.bat	11 Jan 2002 19:19:34 -0000	1.11
  @@ -35,15 +35,16 @@
   if "%_ANT_JAR%" == "" set _ANT_JAR=bin\ant.jar
   set _PARSER_JAR=%PARSER_JAR%
   if "%_PARSER_JAR%" == "" set _PARSER_JAR=bin\xerces.jar
  +set _XML-APIS_JAR=%XML-APIS_JAR%
  +if "%_XML-APIS_JAR%" == "" set _XML-APIS_JAR=bin\xml-apis.jar
   
   rem Attempt to automatically add system classes to _CLASSPATH
   rem Use _underscore prefix to not conflict with user's settings
   set _CLASSPATH=%CLASSPATH%
   if exist "%JAVA_HOME%\lib\tools.jar" set _CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
   if exist "%JAVA_HOME%\lib\classes.zip" set _CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\classes.zip
  -set _CLASSPATH=%_ANT_JAR%;%_PARSER_JAR%;%_CLASSPATH%
  +set _CLASSPATH=%_ANT_JAR%;%_XML-APIS_JAR%;%_PARSER_JAR%;%_CLASSPATH%
   
  -REM echo "%_JAVACMD%" %JAVA_OPTS% -Dant.home="%ANT_HOME%" -classpath "%_CLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
   @echo on
   "%_JAVACMD%" -mx64m %JAVA_OPTS% -Dant.home="%ANT_HOME%" -classpath "%_CLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
   @echo off
  @@ -57,4 +58,5 @@
   set _ANT_HOME=
   set _ANT_JAR=
   set _PARSER_JAR=
  +set _XML-APIS_JAR=
   
  
  
  

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