You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by cr...@locus.apache.org on 2000/10/10 02:39:05 UTC

cvs commit: jakarta-tomcat-4.0/catalina build.bat

craigmcc    00/10/09 17:39:05

  Modified:    catalina build.bat
  Log:
  Change to DOS line endings.
  
  Revision  Changes    Path
  1.9       +91 -90    jakarta-tomcat-4.0/catalina/build.bat
  
  Index: build.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/build.bat,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- build.bat	2000/09/30 22:35:23	1.8
  +++ build.bat	2000/10/10 00:39:04	1.9
  @@ -1,90 +1,91 @@
  -@echo off
  -rem ---------------------------------------------------------------------------
  -rem build.bat - Build Script for Catalina
  -rem
  -rem Environment Variable Prerequisites:
  -rem
  -rem   ANT_HOME         Must point at your Ant installation [../../jakarta-ant]
  -rem
  -rem   ANT_OPTS         Command line options to the Java runtime
  -rem                    that executes Ant [NONE]
  -rem
  -rem   JAVA_HOME        Must point at your Java Development Kit [REQUIRED]
  -rem
  -rem   XERCES_HOME      Must point at your XERCES installation [REQUIRED]
  -rem
  -rem   JSSE_HOME        Must point at your JSSE installation [REQUIRED]
  -rem
  -rem   JMX_HOME         Must point at your JMX installation [REQUIRED]
  -rem
  -rem   REGEXP_HOME      Must point at your Regexp installation [REQUIRED]
  -rem
  -rem   SERVLETAPI_HOME  Must point at your "jakarta-servletapi" installation.
  -rem                    [REQUIRED]
  -rem
  -rem $Id: build.bat,v 1.8 2000/09/30 22:35:23 remm Exp $
  -rem ---------------------------------------------------------------------------
  -
  -
  -rem ----- Save Environment Variables ------------------------------------------
  -
  -set _ANT_HOME=%ANT_HOME%
  -set _CLASSPATH=%CLASSPATH%
  -
  -
  -rem ----- Verify and Set Required Environment Variables -----------------------
  -
  -if not "%JAVA_HOME%" == "" goto gotJavaHome
  -echo You must set JAVA_HOME to point at your Java Development Kit installation
  -goto cleanup
  -:gotJavaHome
  -
  -if not "%XERCES_HOME%" == "" goto gotXercesHome
  -echo You must set XERCES_HOME to point at your Xerces install
  -goto cleanup
  -:gotXercesHome
  -
  -if not "%JSSE_HOME%" == "" goto gotJsseHome
  -echo You must set JSSE_HOME to point at your Java Security Extensions install
  -goto cleanup
  -:gotJsseHome
  -
  -if not "%JMX_HOME%" == "" goto gotJmxHome
  -echo You must set JMX_HOME to point at your Java Management Extensions install
  -goto cleanup
  -:gotJmxHome
  -
  -if not "%ANT_HOME%" == "" goto gotAntHome
  -set ANT_HOME=../../jakarta-ant
  -:gotAntHome
  -
  -if not "%REGEXP_HOME%" == "" goto gotRegexpHome
  -echo You must set REGEXP_HOME to point at your Regular Expressions distribution install
  -goto cleanup
  -:gotRegexpHome
  -
  -if not "%SERVLETAPI_HOME%" == "" goto gotServletapiHome
  -echo You must set SERVLETAPI_HOME to your Servlet API distribution that includes the Servlet 2.3 and JSP 1.2 API classes.
  -goto cleanup
  -:gotServletapiHome
  -
  -
  -rem ----- Set Up The Runtime Classpath ----------------------------------------
  -
  -if not "%CLASSPATH%" == "" set CLASSPATH=%CLASSPATH%;
  -set CLASSPATH=%CLASSPATH%;%ANT_HOME%\lib\ant.jar;%JAVA_HOME%\lib\tools.jar;%XERCES_HOME%\xerces.jar;%JMX_HOME%\lib\jmxri.jar
  -
  -
  -rem ----- Execute The Requested Build -----------------------------------------
  -
  -%JAVA_HOME%\bin\java %ANT_OPTS% org.apache.tools.ant.Main -Dant.home=%ANT_HOME% -Dxerces.home="%XERCES_HOME%" -Djsse.home=%JSSE_HOME% -Djmx.home=%JMX_HOME% -Dregexp.home=%REGEXP_HOME% -Dservletapi.home=%SERVLETAPI_HOME% %1 %2 %3 %4 %5 %6 %7 %8 %9
  -
  -
  -rem ----- Restore Environment Variables ---------------------------------------
  -
  -:cleanup
  -set CLASSPATH=%_CLASSPATH%
  -set _CLASSPATH=
  -set ANT_HOME=%_ANT_HOME%
  -set _ANT_HOME=
  -:finish
  +@echo off
  +rem ---------------------------------------------------------------------------
  +rem build.bat - Build Script for Catalina
  +rem
  +rem Environment Variable Prerequisites:
  +rem
  +rem   ANT_HOME         Must point at your Ant installation [../../jakarta-ant]
  +rem
  +rem   ANT_OPTS         Command line options to the Java runtime
  +rem                    that executes Ant [NONE]
  +rem
  +rem   JAVA_HOME        Must point at your Java Development Kit [REQUIRED]
  +rem
  +rem   XERCES_HOME      Must point at your XERCES installation [REQUIRED]
  +rem
  +rem   JSSE_HOME        Must point at your JSSE installation [REQUIRED]
  +rem
  +rem   JMX_HOME         Must point at your JMX installation [REQUIRED]
  +rem
  +rem   REGEXP_HOME      Must point at your Regexp installation [REQUIRED]
  +rem
  +rem   SERVLETAPI_HOME  Must point at your "jakarta-servletapi" installation.
  +rem                    [REQUIRED]
  +rem
  +rem $Id: build.bat,v 1.9 2000/10/10 00:39:04 craigmcc Exp $
  +rem ---------------------------------------------------------------------------
  +
  +
  +rem ----- Save Environment Variables ------------------------------------------
  +
  +set _ANT_HOME=%ANT_HOME%
  +set _CLASSPATH=%CLASSPATH%
  +
  +
  +rem ----- Verify and Set Required Environment Variables -----------------------
  +
  +if not "%JAVA_HOME%" == "" goto gotJavaHome
  +echo You must set JAVA_HOME to point at your Java Development Kit installation
  +goto cleanup
  +:gotJavaHome
  +
  +if not "%XERCES_HOME%" == "" goto gotXercesHome
  +echo You must set XERCES_HOME to point at your Xerces install
  +goto cleanup
  +:gotXercesHome
  +
  +if not "%JSSE_HOME%" == "" goto gotJsseHome
  +echo You must set JSSE_HOME to point at your Java Security Extensions install
  +goto cleanup
  +:gotJsseHome
  +
  +if not "%JMX_HOME%" == "" goto gotJmxHome
  +echo You must set JMX_HOME to point at your Java Management Extensions install
  +goto cleanup
  +:gotJmxHome
  +
  +if not "%ANT_HOME%" == "" goto gotAntHome
  +set ANT_HOME=../../jakarta-ant
  +:gotAntHome
  +
  +if not "%REGEXP_HOME%" == "" goto gotRegexpHome
  +echo You must set REGEXP_HOME to point at your Regular Expressions distribution install
  +goto cleanup
  +:gotRegexpHome
  +
  +if not "%SERVLETAPI_HOME%" == "" goto gotServletapiHome
  +echo You must set SERVLETAPI_HOME to your Servlet API distribution that includes the Servlet 2.3 and JSP 1.2 API classes.
  +goto cleanup
  +:gotServletapiHome
  +
  +
  +rem ----- Set Up The Runtime Classpath ----------------------------------------
  +
  +if not "%CLASSPATH%" == "" set CLASSPATH=%CLASSPATH%;
  +set CLASSPATH=%CLASSPATH%;%ANT_HOME%\lib\ant.jar;%JAVA_HOME%\lib\tools.jar;%XERCES_HOME%\xerces.jar;%JMX_HOME%\lib\jmxri.jar
  +
  +
  +rem ----- Execute The Requested Build -----------------------------------------
  +
  +%JAVA_HOME%\bin\java %ANT_OPTS% org.apache.tools.ant.Main -Dant.home=%ANT_HOME% -Dxerces.home="%XERCES_HOME%" -Djsse.home=%JSSE_HOME% -Djmx.home=%JMX_HOME% -Dregexp.home=%REGEXP_HOME% -Dservletapi.home=%SERVLETAPI_HOME% %1 %2 %3 %4 %5 %6 %7 %8 %9
  +
  +
  +rem ----- Restore Environment Variables ---------------------------------------
  +
  +:cleanup
  +set CLASSPATH=%_CLASSPATH%
  +set _CLASSPATH=
  +set ANT_HOME=%_ANT_HOME%
  +set _ANT_HOME=
  +:finish
  +