diff --git a/proposal/sandbox/junit/build.bat b/proposal/sandbox/junit/build.bat new file mode 100755 index 000000000..ae9ffc17b --- /dev/null +++ b/proposal/sandbox/junit/build.bat @@ -0,0 +1,30 @@ +@echo off + +set OLDCLASSPATH=%CLASSPATH% +set REAL_ANT_HOME=%ANT_HOME% +set ANT_HOME=bootstrap +if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist bootstrap\bin\lcp.bat if exist bootstrap\bin\antRun.bat goto runAnt +call bootstrap.bat +if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist bootstrap\bin\lcp.bat if exist bootstrap\bin\antRun.bat goto runAnt +echo Bootstrap FAILED +goto cleanup + +:runAnt +set LOCALCLASSPATH=lib\crimson.jar;bootstrap\lib\ant.jar +for %%i in (lib\optional\*.jar) do call bootstrap\bin\lcp.bat %%i +set CLASSPATH=lib\optional\xalanj1compat.jar;%LOCALCLASSPATH%;%CLASSPATH% +set LOCALCLASSPATH= + +if not "%REAL_ANT_HOME%" == "" goto install_ant +call bootstrap\bin\ant.bat -emacs %1 %2 %3 %4 %5 %6 %7 %8 %9 +goto cleanup + +:install_ant +call bootstrap\bin\ant.bat -emacs -Dant.install="%REAL_ANT_HOME%" %1 %2 %3 %4 %5 %6 %7 %8 %9 + +rem clean up +:cleanup +set ANT_HOME=%REAL_ANT_HOME% +set REAL_ANT_HOME= +set CLASSPATH=%OLDCLASSPATH% +set OLDCLASSPATH= diff --git a/proposal/sandbox/junit/build.sh b/proposal/sandbox/junit/build.sh new file mode 100644 index 000000000..f15a7e7af --- /dev/null +++ b/proposal/sandbox/junit/build.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +cygwin=false; +case "`uname`" in + CYGWIN*) cygwin=true ;; +esac + +PWD=`pwd` +if $cygwin ; then + PWD=`cygpath --windows "$PWD"` +fi + +cd ../../.. +/bin/sh ./build.sh -buildfile $PWD/build.xml $* +cd $PWD + diff --git a/proposal/sandbox/junit/build.xml b/proposal/sandbox/junit/build.xml new file mode 100644 index 000000000..f4516a92a --- /dev/null +++ b/proposal/sandbox/junit/build.xml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file