geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r439733 - /geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/genesis/AntMojoSupport.java
Date Sun, 03 Sep 2006 06:21:30 GMT
Author: jdillon
Date: Sat Sep  2 23:21:29 2006
New Revision: 439733

URL: http://svn.apache.org/viewvc?rev=439733&view=rev
Log:
Enable verbose Ant output when Maven DEBUG logging is enabled (so mvn -X shows more Ant details)

Modified:
    geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/genesis/AntMojoSupport.java

Modified: geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/genesis/AntMojoSupport.java
URL: http://svn.apache.org/viewvc/geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/genesis/AntMojoSupport.java?rev=439733&r1=439732&r2=439733&view=diff
==============================================================================
--- geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/genesis/AntMojoSupport.java
(original)
+++ geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/genesis/AntMojoSupport.java
Sat Sep  2 23:21:29 2006
@@ -65,7 +65,14 @@
         antLogger.setEmacsMode(true);
         antLogger.setOutputPrintStream(System.out);
         antLogger.setErrorPrintStream(System.err);
-        antLogger.setMessageOutputLevel(Project.MSG_INFO);
+        
+        if (log.isDebugEnabled()) {
+            antLogger.setMessageOutputLevel(Project.MSG_VERBOSE);
+        }
+        else {
+            antLogger.setMessageOutputLevel(Project.MSG_INFO);
+        }
+        
         ant.addBuildListener(antLogger);
     }
     



Mime
View raw message