Author: rgardler
Date: Thu Mar  1 11:07:32 2012
New Revision: 1295512

URL: http://svn.apache.org/viewvc?rev=1295512&view=rev
Log:
load properties from parent templates

Modified:
    incubator/wookie/trunk/widgets/templates/browse/template_build.xml

Modified: incubator/wookie/trunk/widgets/templates/browse/template_build.xml
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/templates/browse/template_build.xml?rev=1295512&r1=1295511&r2=1295512&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/templates/browse/template_build.xml 
(original)
+++ incubator/wookie/trunk/widgets/templates/browse/template_build.xml Thu Mar  
1 11:07:32 2012
@@ -19,7 +19,7 @@
   <target name="_init_template"
           description="Define any template specifc properties">
     <echo message="+------------------------------------------"/>
-    <echo message="|  Initialising template properties"/>
+    <echo message="|  Initialising template properties for ${template.name} 
template"/>
     <echo message="+------------------------------------------"/>
 
        
@@ -184,6 +184,9 @@
       </filterchain>
     </loadfile>
 
+    <!-- load properties we've set in other templates -->
+    <property file="${widget.build.dir}/${widget.shortname}.properties"/>
+    <!-- write the full property set for this template -->
     <echoproperties 
destfile="${widget.build.dir}/${widget.shortname}.properties" prefix=""/>
   </target>
 


Reply via email to