add re-compile to pick up asjs JS files

Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/6d9672c6
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6d9672c6
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6d9672c6

Branch: refs/heads/develop
Commit: 6d9672c63cf5f160e1492cdc15cb5002020472ad
Parents: 1ab5705
Author: Alex Harui <[email protected]>
Authored: Fri May 22 15:21:35 2015 -0700
Committer: Alex Harui <[email protected]>
Committed: Fri May 22 16:04:10 2015 -0700

----------------------------------------------------------------------
 build.xml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6d9672c6/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 4467450..96747d0 100644
--- a/build.xml
+++ b/build.xml
@@ -72,7 +72,7 @@
         Each of the main targets for the modules will call clean themselves 
before proceeding.
     -->
 
-    <target name="main" 
depends="prebuild,frameworks-as,frameworks-js,post-build" description="Full 
build">
+    <target name="main" 
depends="prebuild,frameworks-as,frameworks-js,frameworks-recompile,post-build" 
description="Full build">
         <tstamp>
                <format property="build.datetime" pattern="MM/dd/yyyy hh:mm:ss 
aa" />
         </tstamp>
@@ -418,6 +418,12 @@
         </ant>
     </target>
 
+    <target name="frameworks-recompile" description="Full build of all 
Actionscript framework SWCs, which picks up JS files">
+        <ant dir="${basedir}/frameworks" target="re-compile">
+            <property name="locale" value="${locale}"/>
+        </ant>
+    </target>
+
     <target name="other.locales" description="Build resource SWCs for 
additional locales">
         <!--<ant dir="${basedir}/frameworks" target="other.locales"/>-->
     </target>

Reply via email to