flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [6/6] git commit: [flex-falcon] [refs/heads/develop] - clean compile of test app using createjs.swc
Date Wed, 09 Dec 2015 21:47:40 GMT
clean compile of test app using createjs.swc


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

Branch: refs/heads/develop
Commit: f3077719198a92dd7e095630324c54a0a974cc23
Parents: 31aad75
Author: Alex Harui <aharui@apache.org>
Authored: Wed Dec 9 13:35:54 2015 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Wed Dec 9 13:35:54 2015 -0800

----------------------------------------------------------------------
 externs/createjs/build.xml                   | 36 ++++++++++++++++++++++-
 externs/createjs/createjs-compile-config.xml |  9 ++++++
 2 files changed, 44 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/f3077719/externs/createjs/build.xml
----------------------------------------------------------------------
diff --git a/externs/createjs/build.xml b/externs/createjs/build.xml
index f840cc8..09ff653 100644
--- a/externs/createjs/build.xml
+++ b/externs/createjs/build.xml
@@ -28,7 +28,7 @@
     <target name="download" >
         <mkdir dir="${basedir}/in" />
         <get src="https://github.com/CreateJS/EaselJS/archive/${createjs.version}.zip"
-            dest="${basedir}/in/${createjs.version}.zip" />
+            dest="${basedir}/in/${createjs.version}.zip" skipexisting="true"/>
     </target>
 
     <!-- createjs files have certain patterns that fool our compilers.
@@ -151,6 +151,7 @@
         <antcall target="preprocessGraphics" />
         <antcall target="preprocessMouseEvent" />
         <antcall target="preprocessMovieClip" />
+        <antcall target="rename.in.jsdoc" />
     </target>
     
     <target name="expandzip">
@@ -198,4 +199,37 @@
     <target name="preprocessMovieClip" >
         <replaceregexp file="${basedir}/externs/easeljs/display/MovieClip.js" match="createjs.MovieClip.prototype.labels:.*currentLabel;"
replace="" flags="gs" />
     </target>
+    
+    <target name="rename.in.jsdoc" >
+        <replace dir="${basedir}/externs" >
+            <include name="**/*.js"/>
+            <replacefilter token="ColorMatrix|" value="createjs.ColorMatrix|" />
+            <replacefilter token="Container|" value="createjs.Container|" />
+            <replacefilter token="DisplayObject|" value="createjs.DisplayObject|" />
+            <replacefilter token="DisplayProps|" value="createjs.DisplayProps|" />
+            <replacefilter token="Filter|" value="createjs.Filter|" />
+            <replacefilter token="Graphics|" value="createjs.Graphics|" />
+            <replacefilter token="Matrix2D|" value="createjs.Matrix2D|" />
+            <replacefilter token="MovieClip|" value="createjs.MovieClip|" />
+            <replacefilter token="Point|" value="createjs.Point|" />
+            <replacefilter token="Rectangle|" value="createjs.Rectangle|" />
+            <replacefilter token="Shadow|" value="createjs.Shadow|" />
+            <replacefilter token="SpriteSheet|" value="createjs.SpriteSheet|" />
+            <replacefilter token="Stage|" value="createjs.Stage|" />
+            <replacefilter token="ColorMatrix}" value="createjs.ColorMatrix}" />
+            <replacefilter token="Container}" value="createjs.Container}" />
+            <replacefilter token="DisplayObject}" value="createjs.DisplayObject}" />
+            <replacefilter token="DisplayProps}" value="createjs.DisplayProps}" />
+            <replacefilter token="Filter}" value="createjs.Filter}" />
+            <replacefilter token="Graphics}" value="createjs.Graphics}" />
+            <replacefilter token="Matrix2D}" value="createjs.Matrix2D}" />
+            <replacefilter token="MovieClip}" value="createjs.MovieClip}" />
+            <replacefilter token="Point}" value="createjs.Point}" />
+            <replacefilter token="Rectangle}" value="createjs.Rectangle}" />
+            <replacefilter token="Shadow}" value="createjs.Shadow}" />
+            <replacefilter token="SpriteSheet}" value="createjs.SpriteSheet}" />
+            <replacefilter token="Stage}" value="createjs.Stage}" />
+            <replacefilter token="Point |" value="createjs.Point|" />
+        </replace>
+    </target>
 </project>

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/f3077719/externs/createjs/createjs-compile-config.xml
----------------------------------------------------------------------
diff --git a/externs/createjs/createjs-compile-config.xml b/externs/createjs/createjs-compile-config.xml
index f98333c..e2ee0ad 100644
--- a/externs/createjs/createjs-compile-config.xml
+++ b/externs/createjs/createjs-compile-config.xml
@@ -106,6 +106,15 @@
     <class-exclude>
         <class>MovieClipPlugin</class>
     </class-exclude>
+    <class-exclude>
+        <class>createjs.Text.V_OFFSETS</class>
+    </class-exclude>
+    <class-exclude>
+        <class>createjs.Text.H_OFFSETS</class>
+    </class-exclude>
+    <class-exclude>
+        <class>createjs.Graphics.BASE_64</class>
+    </class-exclude>
     
     <!--
     <field-exclude>


Mime
View raw message