You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by rg...@apache.org on 2011/11/25 18:22:27 UTC

svn commit: r1206265 - in /incubator/wookie/trunk/widgets/templates: browse/template_build.xml build.xml

Author: rgardler
Date: Fri Nov 25 17:22:26 2011
New Revision: 1206265

URL: http://svn.apache.org/viewvc?rev=1206265&view=rev
Log:
only copy widget files once ( in this case when processing the immediate parent template of the widget)

Modified:
    incubator/wookie/trunk/widgets/templates/browse/template_build.xml
    incubator/wookie/trunk/widgets/templates/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=1206265&r1=1206264&r2=1206265&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/templates/browse/template_build.xml (original)
+++ incubator/wookie/trunk/widgets/templates/browse/template_build.xml Fri Nov 25 17:22:26 2011
@@ -99,6 +99,7 @@
     <ant antfile="../../build.xml"
          target="_generate_widget">
       <property name="template.name" value="base"/>
+      <property name="copyWidgetFiles" value="false"/>
     </ant>
   </target>
 </project>
\ No newline at end of file

Modified: incubator/wookie/trunk/widgets/templates/build.xml
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/templates/build.xml?rev=1206265&r1=1206264&r2=1206265&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/templates/build.xml (original)
+++ incubator/wookie/trunk/widgets/templates/build.xml Fri Nov 25 17:22:26 2011
@@ -97,6 +97,12 @@
         </propertyset>
       </antcall>
 
+      <antcall target="_copy_widget_files"/>
+
+    </target>
+
+    <target name="_copy_widget_files"
+	    unless="copyWiodgetFiles">
       <echo message="+------------------------------------------"/>
       <echo message="|  Copying widget files: ${widget.shortname}"  />
       <echo message="+------------------------------------------"/>
@@ -276,8 +282,6 @@
           <include name="**/*.*"/>
         </fileset>     
       </copy>
-      
-
     </target>
 
     <target name="_process_template">