You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2014/07/20 09:53:02 UTC

svn commit: r1612050 - /ofbiz/trunk/ant.bat

Author: jleroux
Date: Sun Jul 20 07:53:02 2014
New Revision: 1612050

URL: http://svn.apache.org/r1612050
Log:
Most of the time I don't need all this information on screen, only the running command.
If you need them simply replace the top ECHO OFF command by ECHO ON

Modified:
    ofbiz/trunk/ant.bat

Modified: ofbiz/trunk/ant.bat
URL: http://svn.apache.org/viewvc/ofbiz/trunk/ant.bat?rev=1612050&r1=1612049&r2=1612050&view=diff
==============================================================================
--- ofbiz/trunk/ant.bat (original)
+++ ofbiz/trunk/ant.bat Sun Jul 20 07:53:02 2014
@@ -1,4 +1,4 @@
-ECHO OFF
+@ECHO OFF
 REM #####################################################################
 REM # Licensed to the Apache Software Foundation (ASF) under one
 REM # or more contributor license agreements.  See the NOTICE file
@@ -17,12 +17,11 @@ REM # KIND, either express or implied.  
 REM # specific language governing permissions and limitations
 REM # under the License.
 REM #####################################################################
-ECHO ON
 
 IF DEFINED JAVA_HOME (
-	SET JAVA="%JAVA_HOME%\bin\java"
+  SET JAVA="%JAVA_HOME%\bin\java"
 ) ELSE (
-	SET JAVA="java"
+  SET JAVA="java"
 )
 
 SET TOP=%~dp0
@@ -30,10 +29,11 @@ SET LAUNCHER_JAR=
 SET BASE_LIB=%TOP%\framework\base\lib
 SET ANT_LIB=%BASE_LIB%\ant
 FOR %%G IN (%BASE_LIB%\ant-*-ant-launcher.jar) DO SET LAUNCHER_JAR=%%G
-ECHO %LAUNCHER_JAR%
+REM ECHO %LAUNCHER_JAR%
 IF [%LAUNCHER_JAR%] == [] (
-	ECHO "Couldn't find ant-launcher.jar"
-) ELSE (
-	%JAVA% -jar "%LAUNCHER_JAR%" -lib "%ANT_LIB%" %1 %2 %3 %4 %5 %6
+  ECHO "Couldn't find ant-launcher.jar"
+) ELSE (      
+  ECHO %JAVA% -jar "%LAUNCHER_JAR%" -lib "%ANT_LIB%" %1 %2 %3 %4 %5 %6
+  %JAVA% -jar "%LAUNCHER_JAR%" -lib "%ANT_LIB%" %1 %2 %3 %4 %5 %6
 )