flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [16/50] git commit: [flex-asjs] [refs/heads/tlf] - allow swfversion overrides
Date Tue, 30 May 2017 19:47:51 GMT
allow swfversion overrides


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

Branch: refs/heads/tlf
Commit: 276fa4398eb7a283f6a9e9938307903b8f9d1b7b
Parents: baa544c
Author: Alex Harui <aharui@apache.org>
Authored: Wed May 24 12:52:16 2017 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Wed May 24 12:52:31 2017 -0700

----------------------------------------------------------------------
 examples/build_example.xml | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/276fa439/examples/build_example.xml
----------------------------------------------------------------------
diff --git a/examples/build_example.xml b/examples/build_example.xml
index 65c4149..073fa9a 100644
--- a/examples/build_example.xml
+++ b/examples/build_example.xml
@@ -107,6 +107,8 @@
     <condition property="runtime" value="mac">
         <os family="mac"/>
     </condition>
+    
+    <property name="swf.version" value="14" />
 
     <target name="get.browser" >
         <condition property="browser" value="${env.ProgramFiles}/Mozilla Firefox/firefox.exe">
@@ -171,11 +173,13 @@
         <mxmlc fork="true"
                debug="true"
                configname="${config_arg}"
+               swf-version="${swf.version}"
                closure-lib="${GOOG_HOME}"
                file="${basedir}/src/main/flex/${example}.${file_suffix}"
                output="${basedir}/bin-debug/${example}.swf">
             <jvmarg line="${mxmlc.jvm.args}"/>
             <arg line="${optional_arg}" />
+            <arg value="+playerglobal.version=${playerglobal.version}" />
         </mxmlc>
 
         <antcall target="build_example.wrapper" />
@@ -195,11 +199,13 @@
         <mxmlc fork="true"
             debug="false"
             configname="${config_arg}"
+            swf-version="${swf.version}"
             closure-lib="${GOOG_HOME}"
             file="${basedir}/src/main/flex/${example}.${file_suffix}"
             output="${basedir}/bin-release/${example}.swf">
             <jvmarg line="${mxmlc.jvm.args}"/>
             <arg line="${optional_arg}" />
+            <arg value="+playerglobal.version=${playerglobal.version}" />
         </mxmlc>
     </target>
     


Mime
View raw message