Browse Source

Removed checking of default ant install location.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268207 13f79535-47bb-0310-9956-ffa450edef68
master
metasim 25 years ago
parent
commit
c3a1e41dbb
2 changed files with 8 additions and 8 deletions
  1. +7
    -7
      src/antidote/bin/antidote.bat
  2. +1
    -1
      src/antidote/build.xml

+ 7
- 7
src/antidote/bin/antidote.bat View File

@@ -19,15 +19,15 @@ rem find ANT_HOME
if not "%ANT_HOME%"=="" goto checkJava

rem check for ant in Program Files on system drive
if not exist "%SystemDrive%\Program Files\ant" goto checkSystemDrive
set ANT_HOME=%SystemDrive%\Program Files\ant
goto checkJava
rem if not exist "%SystemDrive%\Program Files\ant" goto checkSystemDrive
rem set ANT_HOME=%SystemDrive%\Program Files\ant
rem goto checkJava

:checkSystemDrive
rem :checkSystemDrive
rem check for ant in root directory of system drive
if not exist "%SystemDrive%\ant" goto noAntHome
set ANT_HOME=%SystemDrive%\ant
goto checkJava
rem if not exist "%SystemDrive%\ant" goto noAntHome
rem set ANT_HOME=%SystemDrive%\ant
rem goto checkJava

:noAntHome
echo ANT_HOME is not set and ant could not be located. Please set ANT_HOME.


+ 1
- 1
src/antidote/build.xml View File

@@ -31,7 +31,7 @@
<!-- =================================================================== -->
<!-- Set some the defaults the user can override in .ant.properties -->
<!-- =================================================================== -->
<property name="build.compiler" value="jikes"/>
<property name="build.compiler" value="modern"/>
<property name="build.compiler.emacs" value="on"/>

<!-- =================================================================== -->


Loading…
Cancel
Save