You are viewing a plain text version of this content. The canonical link for it is here.
Posted to easyant-commits@incubator.apache.org by jl...@apache.org on 2012/07/23 15:13:21 UTC

svn commit: r1364669 - in /incubator/easyant/plugins/trunk/antunit: module.ivy src/main/resources/antunit.ant

Author: jlboudart
Date: Mon Jul 23 15:13:20 2012
New Revision: 1364669

URL: http://svn.apache.org/viewvc?rev=1364669&view=rev
Log:
Add a reference to easyant.ivy.instance, then antunit test would be able to invoke ivy to resolve dependencies

Modified:
    incubator/easyant/plugins/trunk/antunit/module.ivy
    incubator/easyant/plugins/trunk/antunit/src/main/resources/antunit.ant

Modified: incubator/easyant/plugins/trunk/antunit/module.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/plugins/trunk/antunit/module.ivy?rev=1364669&r1=1364668&r2=1364669&view=diff
==============================================================================
--- incubator/easyant/plugins/trunk/antunit/module.ivy (original)
+++ incubator/easyant/plugins/trunk/antunit/module.ivy Mon Jul 23 15:13:20 2012
@@ -17,7 +17,7 @@
 <ivy-module version="2.0" xmlns:ea="http://www.easyant.org"> 
     <info organisation="org.apache.easyant.plugins" module="antunit" revision="0.9">
            <description>This module provides antunit test features.</description>
-           <ea:build organisation="org.apache.easyant.buildtypes" module="build-std-ant-plugin" revision="0.9"/>
+           <ea:build organisation="org.apache.easyant.buildtypes" module="build-std-ant-plugin" revision="0.1"/>
         </info>
         <configurations>
                 <conf name="default" description="runtime dependencies artifact can be used with this conf"/>

Modified: incubator/easyant/plugins/trunk/antunit/src/main/resources/antunit.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/plugins/trunk/antunit/src/main/resources/antunit.ant?rev=1364669&r1=1364668&r2=1364669&view=diff
==============================================================================
--- incubator/easyant/plugins/trunk/antunit/src/main/resources/antunit.ant (original)
+++ incubator/easyant/plugins/trunk/antunit/src/main/resources/antunit.ant Mon Jul 23 15:13:20 2012
@@ -71,6 +71,10 @@
 		<attribute name="prefix" />
 		<sequential>
 			<au:antunit failOnError="false" errorProperty="antunit.@{prefix}.failed">
+                                <referenceSet>
+                                    <!--copy easyant.ivy.instance, then antunit test would be able to invoke ivy to resolve dependencies -->
+                                    <reference refid="easyant.ivy.instance"/>
+                                </referenceSet>
 				<fileset dir="${src.@{prefix}.antunit}" includes="${@{prefix}.antunit.includes.pattern}" excludes="${@{prefix}.antunit.excludes.pattern}" />
 				<au:plainlistener logLevel="${test.antunit.log.level}" />
 				<au:xmllistener toDir="${target.antunit.xml}" logLevel="${test.antunit.log.level}" />