Browse Source

Made win32 scripts similar to unixs by adding .antrc facility

Submitted By: "Craig R. McClanahan" <Craig.McClanahan@eng.sun.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268307 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
907f0601dd
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/bin/ant.bat

+ 3
- 0
src/bin/ant.bat View File

@@ -1,5 +1,7 @@
@echo off

if exist "%HOME%\antrc_pre.bat" call "%HOME%\antrc_pre.bat"

rem Slurp the command line arguments. This loop allows for an unlimited number of
rem agruments (up to the command line limit, anyway).

@@ -63,6 +65,7 @@ goto end
%JAVACMD% -classpath %LOCALCLASSPATH% -Dant.home="%ANT_HOME%" -Djikes.class.path=%JIKESPATH% %ANT_OPTS% org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS%

:end
if exist "%HOME%\antrc_post.bat" call "%HOME%\antrc_post.bat"
set LOCALCLASSPATH=
set ANT_CMD_LINE_ARGS=


Loading…
Cancel
Save