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 2017/05/30 19:47:51 UTC
[16/50] git commit: [flex-asjs] [refs/heads/tlf] - allow swfversion
overrides
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 <ah...@apache.org>
Authored: Wed May 24 12:52:16 2017 -0700
Committer: Alex Harui <ah...@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>