From 907f0601ddb5ca0fe3428074aa5a13b30a8ecdd1 Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Tue, 5 Dec 2000 10:08:57 +0000 Subject: [PATCH] Made win32 scripts similar to unixs by adding .antrc facility Submitted By: "Craig R. McClanahan" git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268307 13f79535-47bb-0310-9956-ffa450edef68 --- src/bin/ant.bat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bin/ant.bat b/src/bin/ant.bat index 6f9ee7629..4ae353490 100755 --- a/src/bin/ant.bat +++ b/src/bin/ant.bat @@ -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=