Author: rgardler
Date: Wed Nov 2 15:24:31 2011
New Revision: 1196627
URL: http://svn.apache.org/viewvc?rev=1196627&view=rev
Log:
need to put template scripts at the end of the controller scripts so that it
can manipulate objects defined by the templates
Modified:
incubator/wookie/trunk/widgets/templates/build.xml
Modified: incubator/wookie/trunk/widgets/templates/build.xml
URL:
http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/templates/build.xml?rev=1196627&r1=1196626&r2=1196627&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/templates/build.xml (original)
+++ incubator/wookie/trunk/widgets/templates/build.xml Wed Nov 2 15:24:31 2011
@@ -157,20 +157,17 @@
</filterchain>
</copy>
- <concat
destfile="${widget.build.dir}/${widget.shortname}/scripts/controller.js.new">
- <fileset dir="./scripts"
- erroronmissingdir="false">
- <include name="**/*_controller.js"/>
- </fileset>
+ <concat
destfile="${widget.build.dir}/${widget.shortname}/scripts/controller.js.new"
+ fixlastline="true">
<fileset dir="${widget.build.dir}/${widget.shortname}/scripts"
erroronmissingdir="false">
<include name="controller.js"/>
</fileset>
- <header filtering="yes" trimleading="yes">
- /*
- * Javascript from template: ${template.name}
- */
- </header>
+ <fileset dir="./scripts"
+ erroronmissingdir="false">
+ <include name="**/*_controller.js"/>
+ </fileset>
+
<filterchain>
<expandproperties/>
</filterchain>