blob: 58e7d1e25e7b52ad2450f7bd34e01e815f368a4f [file] [log] [blame]
echo off
setlocal
REM *********** Local envars ***************************
REM The JRE java.exe to be used
set JAVAEXE="C:\j2sdk1.4.2_07\jre\bin\java.exe"
REM The Eclipse Equinox Launcher jar. Usually in eclipse\plugins\org.eclipse.equinox.launcher*.jar
set LAUNCHER_JAR="D:\wtp\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070208a.jar"
REM The location of your workspace
set WORKSPACE=D:\workspaces\ant_task
REM ****************************************************
if not exist %JAVAEXE% echo ERROR: incorrect java.exe=%JAVAEXE%, edit this file and correct the JAVAEXE envar
if not exist %JAVAEXE% goto done
if not exist %LAUNCHER_JAR% echo ERROR: incorrect launcher jar=%LAUNCHER_JAR%, edit this file and correct the LAUNCHER_JAR envar
if not exist %LAUNCHER_JAR% goto done
:run
@echo on
%JAVAEXE% -jar %LAUNCHER_JAR% -application org.eclipse.ant.core.antRunner -data %WORKSPACE% -file wsgen.xml %* >wsgen.txt 2>&1
:done
pause