Browse Source

Added -emacs flag.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268737 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
7f76769aba
4 changed files with 5 additions and 6 deletions
  1. +1
    -1
      bootstrap.bat
  2. +1
    -2
      bootstrap.sh
  3. +2
    -2
      build.bat
  4. +1
    -1
      build.sh

+ 1
- 1
bootstrap.bat View File

@@ -59,7 +59,7 @@ echo ... Building Ant Distribution

xcopy /s/q %CLASSDIR% build\classes

%JAVA% %ANT_OPTS% org.apache.tools.ant.Main bootstrap
%JAVA% %ANT_OPTS% org.apache.tools.ant.Main -emacs bootstrap

echo.
echo ... Cleaning Up Build Directories


+ 1
- 2
bootstrap.sh View File

@@ -77,8 +77,7 @@ echo ... Building Ant Distribution

cp -r ${CLASSDIR} build

${JAVA_HOME}/bin/java -classpath ${CLASSPATH} org.apache.tools.ant.Main \
-buildfile build.xml bootstrap
${JAVA_HOME}/bin/java -classpath ${CLASSPATH} org.apache.tools.ant.Main -emacs bootstrap

echo ... Cleaning Up Build Directories



+ 2
- 2
build.bat View File

@@ -13,11 +13,11 @@ set CLASSPATH=%LOCALCLASSPATH%;%CLASSPATH%
set LOCALCLASSPATH=

if not "%REAL_ANT_HOME%" == "" goto install_ant
call bootstrap\bin\ant.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
call bootstrap\bin\ant.bat -emacs %1 %2 %3 %4 %5 %6 %7 %8 %9
goto cleanup

:install_ant
call bootstrap\bin\ant.bat -Dant.install="%REAL_ANT_HOME%" %1 %2 %3 %4 %5 %6 %7 %8 %9
call bootstrap\bin\ant.bat -emacs -Dant.install="%REAL_ANT_HOME%" %1 %2 %3 %4 %5 %6 %7 %8 %9

rem clean up
:cleanup


+ 1
- 1
build.sh View File

@@ -26,5 +26,5 @@ if [ "$REALANTHOME" != "" ] ; then
ANT_INSTALL="-Dant.install=$REALANTHOME"
fi

bootstrap/bin/ant $ANT_INSTALL $*
bootstrap/bin/ant -emacs $ANT_INSTALL $*


Loading…
Cancel
Save