Sorry, something went wrong:

@echo off
REM ------------------------------------------
REM  Script for creating Turbine applications.
REM ------------------------------------------

set _NEWAPP=%NEWAPP%
set NEWAPP=%1%
set _TARGET=%TARGET%
set TARGET=%2%

REM If an application wasn't specified then we'll
REM use the newapp.props file as the default.

if "%NEWAPP%" == "" set NEWAPP=newapp

REM --------------------------------------------
REM No need to edit anything past here
REM --------------------------------------------
set _BUILDFILE=%BUILDFILE%
set BUILDFILE=newapp.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%;.\lib\ant.jar
set CLASSPATH=%CLASSPATH%;.\share\tdk-lib\xerces-1.3.0.jar

set _JAVAC=%JAVAC%
set JAVAC=classic
if not "%JIKES%" == "" set JAVAC=jikes

%JAVA_HOME%\bin\java.exe -classpath "%CLASSPATH%" -DJAVAC=%JAVAC%
org.apache.tools.ant.Main -buildfile
%BUILDFILE% -Dnewapp=%NEWAPP% -Dnewapp.props=%NEWAPP%.props %TARGET%

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."
@echo line 39
:end

set BUILDFILE=%_BUILDFILE%
set _BUILDFILE=
set CLASSPATH=%_CLASSPATH%
set _CLASSPATH=
set JAVAC=%_JAVAC%
set _JAVAC=

So something goes wrong. The JAVA_HOME has been set to c:\JDK1.3. do i need
to add things to the classpath from turbine?

Thanks,
Maarten


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to