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

guillaume at wyona.com guillaume at wyona.com
Tue Mar 16 14:33:13 CET 2010


Author: guillaume
Date: 2010-03-16 14:33:13 +0100 (Tue, 16 Mar 2010)
New Revision: 48126

Modified:
   public/yanel/trunk/src/build/resource-types/GWT-RT.build.xml
Log:
Only act upon GWT modules with at least one entry point,
 else internal "entry-point-less" modules cannot be used to modularize code:
 the GWT compiler complains when being asked to compile them.


Modified: public/yanel/trunk/src/build/resource-types/GWT-RT.build.xml
===================================================================
--- public/yanel/trunk/src/build/resource-types/GWT-RT.build.xml	2010-03-16 13:10:33 UTC (rev 48125)
+++ public/yanel/trunk/src/build/resource-types/GWT-RT.build.xml	2010-03-16 13:33:13 UTC (rev 48126)
@@ -76,12 +76,14 @@
     <echo level="info">
 If you want to work only on one specific GWT module of this resource-type
  please use -Dmodule.name=com.company.project.Module when invoking this build file.
-If you do not do that, all GWT modules detected in the resource-type directory will be acted upon.
+If you do not do that, all GWT modules detected with at least one entry point in the resource-type directory will be acted upon.
     </echo>
 
-    <fileset id="gwt.module.fileset" dir="${component.java.dir}">
-      <include name="**/*.gwt.xml"/>
-      <exclude name="**/*Local.gwt.xml"/>
+    <fileset id="gwt.module.fileset" dir="${component.java.dir}"
+     includes="**/*.gwt.xml"
+     excludes="**/*Local.gwt.xml"
+    >
+      <containsregexp expression="&lt;entry-point"/>
     </fileset>
 
     <!-- Multiple module support:



More information about the Yanel-commits mailing list