From f8fdbeedec500ab26713b250c26f9d81fe58de6c Mon Sep 17 00:00:00 2001 From: adammurdoch Date: Tue, 12 Feb 2002 10:22:01 +0000 Subject: [PATCH] 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 --- proposal/myrmidon/src/script/ant | 7 +------ proposal/myrmidon/src/script/ant.bat | 7 ------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/proposal/myrmidon/src/script/ant b/proposal/myrmidon/src/script/ant index 3e0fbb194..ac4c704c8 100644 --- a/proposal/myrmidon/src/script/ant +++ b/proposal/myrmidon/src/script/ant @@ -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 diff --git a/proposal/myrmidon/src/script/ant.bat b/proposal/myrmidon/src/script/ant.bat index 897eb459e..c11b7d83f 100644 --- a/proposal/myrmidon/src/script/ant.bat +++ b/proposal/myrmidon/src/script/ant.bat @@ -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