View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/experimental/sant/trunk/sant/bin/sant.cmd
(Generate patch)

Comparing experimental/sant/trunk/sant/bin/sant.cmd (file contents):
Revision 2191 by jstuyts, Tue May 9 11:49:06 2006 UTC vs.
Revision 2192 by jstuyts, Tue May 9 12:35:53 2006 UTC

5if "%JAVA_HOME%" == "" goto environmentNotSetUp 5if "%JAVA_HOME%" == "" goto environmentNotSetUp
6 6
7set ANT_SCRIPT=%SANT_HOME%\sant\ant\bin\ant 7set ANT_SCRIPT=%SANT_HOME%\sant\ant\bin\ant
8if exist "%SANT_HOME%\local-sant-scripts\ant\bin\ant.bat" set ANT_SCRIPT=%SANT_HOME%\local-sant-scripts\ant\bin\ant 8if exist "%SANT_HOME%\local-sant-scripts\ant\bin\ant.bat" set ANT_SCRIPT=%SANT_HOME%\local-sant-scripts\ant\bin\ant
9 9
10set APPEND_TO_CLASSPATH_SCRIPT=%SANT_HOME%\sant\bin\append-to-classpath
11if exist "%SANT_HOME%\local-sant-scripts\bin\append-to-classpath.cmd" set APPEND_TO_CLASSPATH_SCRIPT=%SANT_HOME%\local-sant-scripts\bin\append-to-classpath
12
10set ANT_HOME=%SANT_HOME%\sant\ant 13set ANT_HOME=%SANT_HOME%\sant\ant
14
15set SANT_CLASSPATH=
16for %%j in ("%SANT_HOME%\sant\lib\*.jar") do call "%APPEND_TO_CLASSPATH_SCRIPT%" "%%j"
17"%JAVA_HOME%\bin\java" -cp "%SANT_CLASSPATH%" nl.hippo.sant.WriteProjectSettingsScriptForWindows
18
19call project-settings.cmd
20del project-settings.cmd
21
22set SANT_CLASSPATH=
23for %%j in ("%SANT_HOME%\project-domains\%PROJECT_DOMAIN%\ant-lib-%PROJECT_JAVA_VERSION%\*.jar") do call "%APPEND_TO_CLASSPATH_SCRIPT%" "%%j"
24for %%j in ("%SANT_HOME%\project-domains\%PROJECT_DOMAIN%\ant-lib\*.jar") do call "%APPEND_TO_CLASSPATH_SCRIPT%" "%%j"
25for %%j in ("%SANT_HOME%\sant\ant\lib-%PROJECT_JAVA_VERSION%\*.jar") do call "%APPEND_TO_CLASSPATH_SCRIPT%" "%%j"
26set CLASSPATH=%SANT_CLASSPATH%
11 27
12call "%ANT_SCRIPT%" -nouserlib -f sbuild.xml %* 28call "%ANT_SCRIPT%" -nouserlib -f sbuild.xml %*
13 29
14goto end 30goto end
15 31

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines