geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r462638 - /geronimo/genesis/trunk/plugins/script-maven-plugin/src/main/java/org/apache/geronimo/genesis/plugins/script/GroovyMojo.java
Date Tue, 10 Oct 2006 23:36:22 GMT
Author: jdillon
Date: Tue Oct 10 16:36:21 2006
New Revision: 462638

URL: http://svn.apache.org/viewvc?view=rev&rev=462638
Log:
Pass the log instance to the script

Modified:
    geronimo/genesis/trunk/plugins/script-maven-plugin/src/main/java/org/apache/geronimo/genesis/plugins/script/GroovyMojo.java

Modified: geronimo/genesis/trunk/plugins/script-maven-plugin/src/main/java/org/apache/geronimo/genesis/plugins/script/GroovyMojo.java
URL: http://svn.apache.org/viewvc/geronimo/genesis/trunk/plugins/script-maven-plugin/src/main/java/org/apache/geronimo/genesis/plugins/script/GroovyMojo.java?view=diff&rev=462638&r1=462637&r2=462638
==============================================================================
--- geronimo/genesis/trunk/plugins/script-maven-plugin/src/main/java/org/apache/geronimo/genesis/plugins/script/GroovyMojo.java
(original)
+++ geronimo/genesis/trunk/plugins/script-maven-plugin/src/main/java/org/apache/geronimo/genesis/plugins/script/GroovyMojo.java
Tue Oct 10 16:36:21 2006
@@ -155,7 +155,7 @@
         
         GroovyObject groovyObject = (GroovyObject)groovyClass.newInstance();
         
-        // Set some properties
+        groovyObject.setProperty("log", log);
         groovyObject.setProperty("project", project);
         groovyObject.setProperty("properties", resolveProperties(project.getProperties()));
// Force all properties to resolve
 



Mime
View raw message