You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by mp...@apache.org on 2001/04/20 01:54:45 UTC

cvs commit: jakarta-turbine-flux/build build.bat

mpoeschl    01/04/19 16:54:45

  Added:       build    build.bat
  Log:
  added for win users like me
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-flux/build/build.bat
  
  Index: build.bat
  ===================================================================
  @echo off
  
  REM --------------------------------------------
  REM No need to edit anything past here
  REM --------------------------------------------
  set _BUILDFILE=%BUILDFILE%
  set BUILDFILE=build.xml
  
  :final
  
  set _CLASSPATH=%CLASSPATH%
  
  if "%JAVA_HOME%" == "" goto javahomeerror
  if exist %JAVA_HOME%\lib\tools.jar set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
  
  set CLASSPATH=%CLASSPATH%;..\..\jakarta-turbine\build\ant-1.2.jar;
  set CLASSPATH=%CLASSPATH%;..\..\jakarta-turbine\build\ant-1.2-optional.jar
  set CLASSPATH=%CLASSPATH%;..\..\jakarta-turbine\lib\xerces-1.3.0.jar
  set CLASSPATH=%CLASSPATH%;..\..\jakarta-turbine\lib\velocity-1.0.jar
  set CLASSPATH=%CLASSPATH%;..\..\jakarta-site2\lib\jdom-b6.jar
  
  
  %JAVA_HOME%\bin\java.exe org.apache.tools.ant.Main -buildfile %BUILDFILE% %1 %2 %3 %4 %5 %6 %7 %8 %9
  
  goto end
  
  REM -----------ERROR-------------
  :javahomeerror
  echo "ERROR: JAVA_HOME not found in your environment."
  echo "Please, set the JAVA_HOME variable in your environment to match the"
  echo "location of the Java Virtual Machine you want to use."
  
  :end
  set BUILDFILE=%_BUILDFILE%
  set _BUILDFILE=
  set CLASSPATH=%_CLASSPATH%
  set _CLASSPATH=
  
  @pause
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org