source: release-kits/lirk3/resources/gs3-release-maker/apache-ant-1.6.5/build.bat@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 850 bytes
Line 
1@echo off
2
3REM Copyright (c) 2000-2003 The Apache Software Foundation. All rights
4REM reserved.
5
6set REAL_ANT_HOME=%ANT_HOME%
7set ANT_HOME=%~dp0\bootstrap
8if 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
9call bootstrap.bat
10if 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
11echo Bootstrap FAILED
12goto cleanup
13
14:runAnt
15if not "%REAL_ANT_HOME%" == "" goto install_ant
16call bootstrap\bin\ant.bat -lib lib/optional %1 %2 %3 %4 %5 %6 %7 %8 %9
17goto cleanup
18
19:install_ant
20call bootstrap\bin\ant.bat -lib lib/optional -Dant.install="%REAL_ANT_HOME%" %1 %2 %3 %4 %5 %6 %7 %8 %9
21
22rem clean up
23:cleanup
24set ANT_HOME=%REAL_ANT_HOME%
25set REAL_ANT_HOME=
26
Note: See TracBrowser for help on using the repository browser.