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

guillaume at wyona.com guillaume at wyona.com
Mon Jan 25 14:01:49 CET 2010


Author: guillaume
Date: 2010-01-25 14:01:49 +0100 (Mon, 25 Jan 2010)
New Revision: 47233

Modified:
   public/yanel/trunk/src/build/resource-types/GWT-RT.build.xml
Log:
Enhanced support for Google Web Toolkit (GWT) direct from Yanel resource-types:
- added support for local properties file for the GWT module
   (enable overriding in a simpler way which browsers have to be supported for compilation for instance!)
- errors during GWT compilation should now stop the RT build!


Modified: public/yanel/trunk/src/build/resource-types/GWT-RT.build.xml
===================================================================
--- public/yanel/trunk/src/build/resource-types/GWT-RT.build.xml	2010-01-25 12:46:12 UTC (rev 47232)
+++ public/yanel/trunk/src/build/resource-types/GWT-RT.build.xml	2010-01-25 13:01:49 UTC (rev 47233)
@@ -52,6 +52,7 @@
  <!-- Initialize build properties -->
   <target name="init" depends="gwt1:dependencies, gwt:dependencies, yanel-resource-type.init">
     <!-- Read module and class name from component specific build.properties -->
+    <property file="${component.home.dir}/local.build.properties"/>
     <property file="${component.home.dir}/build.properties"/>
 
     <property name="component.build.dir" value="${resource.home.dir}/htdocs"/>
@@ -90,7 +91,7 @@
       <istrue value="${gwt1}"/>
     </condition>
 
-    <java classname="${gwt.compiler.classname}" fork="yes">
+    <java classname="${gwt.compiler.classname}" fork="yes" failonerror="true">
       <classpath refid="gwt.compile.classpath" />
       <jvmarg value="-Xmx256M"/>
 



More information about the Yanel-commits mailing list