[Yanel-commits] rev 41914 - in public/yanel/trunk: src/build/resource-types tools

guillaume at wyona.com guillaume at wyona.com
Thu Mar 12 13:21:44 CET 2009


Author: guillaume
Date: 2009-03-12 13:21:43 +0100 (Thu, 12 Mar 2009)
New Revision: 41914

Modified:
   public/yanel/trunk/src/build/resource-types/resource-type.build.xml
   public/yanel/trunk/tools/
Log:
Resource types using the latest build system can now generate their Eclipse's .classpath file! :)

Issue: 6942


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-12 12:17:22 UTC (rev 41913)
+++ public/yanel/trunk/src/build/resource-types/resource-type.build.xml	2009-03-12 12:21:43 UTC (rev 41914)
@@ -30,8 +30,17 @@
     <property name="resource.java.dir" value="${resource.home.dir}/src/java"/>
     <property name="resource.resource.xml" value="${resource.home.dir}/resource.xml"/>
     <xmlproperty prefix="resource.resource.xml" file="${resource.resource.xml}"/>    
+
   </target>
 
+  <target name="eclipse:classpath" description="Update Eclipse's .classpath file" depends="init">
+    <ant dir="${yanel.home}/tools/eclipse.settings" target="update-classpath"
+     inheritAll="false" inheritRefs="false">
+      <reference torefid="classpath.ref" refid="classpath"/>
+      <property name="classpath.dir" value="${resource.home.dir}"/>
+    </ant>
+  </target>
+
   <target name="compile" description="Compile Java classes" depends="init">
 
     <mkdir dir="${resource.classes.dir}"/>


Property changes on: public/yanel/trunk/tools
___________________________________________________________________
Name: svn:externals
   - apache-ant -r40965 http://svn.wyona.com/repos/public/0_tools/apache-ant-1.6.5
apache-ant_extras -r41793 http://svn.wyona.com/repos/public/0_tools/apache-ant_extras

   + apache-ant -r40965 http://svn.wyona.com/repos/public/0_tools/apache-ant-1.6.5
apache-ant_extras -r41793 http://svn.wyona.com/repos/public/0_tools/apache-ant_extras
eclipse.settings http://svn.wyona.com/repos/public/0_tools/eclipse-3.settings




More information about the Yanel-commits mailing list