geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r502123 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/commands/MavenCommand.groovy
Date Thu, 01 Feb 2007 05:02:47 GMT
Author: jdillon
Date: Wed Jan 31 21:02:46 2007
New Revision: 502123

URL: http://svn.apache.org/viewvc?view=rev&rev=502123
Log:
Log everything before separator() so we can see what the command output was

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/commands/MavenCommand.groovy

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/commands/MavenCommand.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/commands/MavenCommand.groovy?view=diff&rev=502123&r1=502122&r2=502123
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/commands/MavenCommand.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/commands/MavenCommand.groovy
Wed Jan 31 21:02:46 2007
@@ -63,6 +63,8 @@
         
         log.info "POM: $pom"
         log.info "Args: $args"
+        log.info "Maven Home: $mavenHome"
+        log.info "Java Home: $javaHome"
         
         def mvn = "$mavenHome/bin/mvn"
         
@@ -72,14 +74,11 @@
         
         try {
             ant.exec(executable: mvn, failonerror: true) {
-                log.info "Maven Home: $mavenHome"
-                
                 // Make sure to not pickup existing vars from environment
                 env(key: 'MAVEN_HOME', value: mavenHome)
                 env(key: 'M2_HOME', value: mavenHome)
                 
                 if (javaHome != null) {
-                    log.info "Java Home: $javaHome"
                     env(key: 'JAVA_HOME', file: javaHome)
                 }
                 



Mime
View raw message