[Yanel-commits] rev 41958 - public/yanel/trunk/src/build/resource-types

guillaume at wyona.com guillaume at wyona.com
Mon Mar 16 10:19:45 CET 2009


Author: guillaume
Date: 2009-03-16 10:19:45 +0100 (Mon, 16 Mar 2009)
New Revision: 41958

Modified:
   public/yanel/trunk/src/build/resource-types/resource-type.build.xml
Log:
Now retrieving the Yanel test JAR Maven artifact only when needed,
 that is, when calling the "eclipse:classpath" target,
 which does not break the whole Yanel build anymore!


Modified: public/yanel/trunk/src/build/resource-types/resource-type.build.xml
===================================================================
--- public/yanel/trunk/src/build/resource-types/resource-type.build.xml	2009-03-16 08:29:22 UTC (rev 41957)
+++ public/yanel/trunk/src/build/resource-types/resource-type.build.xml	2009-03-16 09:19:45 UTC (rev 41958)
@@ -21,13 +21,6 @@
   <target name="init" description="Initialize build" depends="dependencies">
     <artifact:remoteRepository id="wyona.remote.repository" url="${maven.url}"/>
 
-    <artifact:dependencies pathId="Yanel.test.jars.classpath" filesetId="Yanel.test.jars.fileset">
-      <remoteRepository refid="wyona.remote.repository"/>
-      <dependency groupId="wyona-org-yanel" artifactId="yanel-test" version="${yanel.source.version}"/>
-    </artifact:dependencies>
-    <echo level="verbose">Yanel test JARs classpath: ${toString:Yanel.test.jars.classpath}</echo>
-
-
     <property file="${resource.home.dir}/src/build/local.build.properties"/>
     <property file="${resource.home.dir}/src/build/build.properties"/>
 
@@ -44,6 +37,12 @@
   </target>
 
   <target name="eclipse:classpath" description="Update Eclipse's .classpath file" depends="init">
+    <artifact:dependencies pathId="Yanel.test.jars.classpath" filesetId="Yanel.test.jars.fileset">
+      <remoteRepository refid="wyona.remote.repository"/>
+      <dependency groupId="wyona-org-yanel" artifactId="yanel-test" version="${yanel.source.version}"/>
+    </artifact:dependencies>
+    <echo level="verbose">Yanel test JARs classpath: ${toString:Yanel.test.jars.classpath}</echo>
+
     <path id="eclipse.classpath">
       <fileset refid="maven2.fileset"/>
       <fileset refid="Yanel.test.jars.fileset"/>



More information about the Yanel-commits mailing list