You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2016/05/31 19:45:21 UTC

git commit: [flex-asjs] [refs/heads/develop] - use extlib for createjs.swc

Repository: flex-asjs
Updated Branches:
  refs/heads/develop 4e71bcb2b -> 7f2737785


use extlib for createjs.swc


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

Branch: refs/heads/develop
Commit: 7f27377854e80be5911c7907dc197fc52375075d
Parents: 4e71bcb
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 31 12:45:08 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 31 12:45:17 2016 -0700

----------------------------------------------------------------------
 examples/flexjs/CreateJSExample/build.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7f273778/examples/flexjs/CreateJSExample/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/CreateJSExample/build.xml b/examples/flexjs/CreateJSExample/build.xml
index 6b8d2f2..84086bc 100644
--- a/examples/flexjs/CreateJSExample/build.xml
+++ b/examples/flexjs/CreateJSExample/build.xml
@@ -31,6 +31,24 @@
 
     <include file="${basedir}/../../build_example.xml" />
     
+    <condition property="extlib_arg" value="-external-library-path=${FLEXJS_HOME}/js/libs/createjs.swc" >
+        <and>
+            <not>
+                <isset property="extlib_arg" />
+            </not>
+            <available file="${FLEXJS_HOME}/js/libs/createjs.swc" type="file" />
+        </and>
+    </condition>
+    <condition property="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../js/libs/createjs.swc" >
+        <and>
+            <not>
+                <isset property="extlib_arg" />
+            </not>
+            <available file="${FALCONJX_HOME}/../js/libs/createjs.swc" type="file" />
+        </and>
+    </condition>
+    <property name="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../externs/createjs/target/createjs.swc"/>
+    
     <target name="main" depends="clean,build_example.compile,build_example.compilejs" description="Clean build of ${example}">
     </target>