Browse Source

Removed warning message, since it no longer applies.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271290 13f79535-47bb-0310-9956-ffa450edef68
master
adammurdoch 23 years ago
parent
commit
f8fdbeedec
2 changed files with 1 additions and 13 deletions
  1. +1
    -6
      proposal/myrmidon/src/script/ant
  2. +0
    -7
      proposal/myrmidon/src/script/ant.bat

+ 1
- 6
proposal/myrmidon/src/script/ant View File

@@ -28,12 +28,7 @@ done
ANT_HOME=`dirname "$PRG"`/..

if [ "$JAVA_HOME" == "" ] ; then

echo "Warning: JAVA_HOME environment variable is not set."
echo " If build fails because sun.* classes could not be found"
echo " you will need to set the JAVA_HOME environment variable"
echo " to the installation directory of java."
if [ "$JAVACMD" = "" ] ; then
if [ "$JAVACMD" = "" ] ; then
JAVACMD=java
fi
else


+ 0
- 7
proposal/myrmidon/src/script/ant.bat View File

@@ -28,13 +28,6 @@ goto end

if not "%JAVA_HOME%" == "" goto javaCmdSetup

echo.
echo Warning: JAVA_HOME environment variable is not set.
echo If build fails because sun.* classes could not be found
echo you will need to set the JAVA_HOME environment variable
echo to the installation directory of java.
echo.

rem hope that there is java command in path
if "%JAVACMD%" == "" set JAVACMD=java
goto argSetup


Loading…
Cancel
Save