incubator-easyant-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlboud...@apache.org
Subject svn commit: r1372075 - /incubator/easyant/plugins/trunk/compile-test-groovy/src/main/resources/compile-test-groovy.ant
Date Sun, 12 Aug 2012 11:53:03 GMT
Author: jlboudart
Date: Sun Aug 12 11:53:02 2012
New Revision: 1372075

URL: http://svn.apache.org/viewvc?rev=1372075&view=rev
Log:
Use groovy 2.0

Modified:
    incubator/easyant/plugins/trunk/compile-test-groovy/src/main/resources/compile-test-groovy.ant

Modified: incubator/easyant/plugins/trunk/compile-test-groovy/src/main/resources/compile-test-groovy.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/plugins/trunk/compile-test-groovy/src/main/resources/compile-test-groovy.ant?rev=1372075&r1=1372074&r2=1372075&view=diff
==============================================================================
--- incubator/easyant/plugins/trunk/compile-test-groovy/src/main/resources/compile-test-groovy.ant
(original)
+++ incubator/easyant/plugins/trunk/compile-test-groovy/src/main/resources/compile-test-groovy.ant
Sun Aug 12 11:53:02 2012
@@ -36,13 +36,14 @@
             <groovyc  srcdir="${src.@{prefix}.groovy}"
                 destdir="${target.@{prefix}.classes}"
                 classpathref="compile.test.classpath"
+                indy="${@{prefix}.compile.indy}"
                 includes="${@{prefix}.compile.includes.pattern}"
                 excludes="${@{prefix}.compile.excludes.pattern}"/>
         </sequential>
     </macrodef>
 
     <target name="compile-test-groovy:configure" depends="abstract-compile:compile-ready">
-        <ea:findclasspath pathid="resolved.groovy.classpath" organisation="org.codehaus.groovy"
module="groovy-all" revision="1.6.0">
+        <ea:findclasspath pathid="resolved.groovy.classpath" organisation="org.codehaus.groovy"
module="groovy-all" revision="2.0.0">
             <ea:project-dependency-strategy />
             <ea:environment-strategy env="GROOVY_HOME"/>
             <ea:basic-configuration-strategy />
@@ -56,7 +57,8 @@
             description="Pattern describing files included in test compilation process" />
         <ea:parameter property="test.compile.excludes.pattern" default="" 
             description="Pattern describing files excluded in test compilation process" />
-
+        <ea:parameter property="test.compile.indy" default="false" 
+            description="Enable compilation with the invoke dynamic support when using Groovy
2.0 and beyond and running on JDK 7"/>
     	<compile-groovy-tests prefix="test"/>
     </target>
 
@@ -65,7 +67,9 @@
             description="Pattern describing files included in integration test compilation
process" />
         <ea:parameter property="test.integration.compile.excludes.pattern" default=""

             description="Pattern describing files excluded in integration test compilation
process" />
-
+        <ea:parameter property="test.integration.compile.indy" default="false" 
+            description="Enable compilation with the invoke dynamic support when using Groovy
2.0 and beyond and running on JDK 7"/>
+ 
     	<compile-groovy-tests prefix="test.integration"/>
     </target>
 



Mime
View raw message