Repository: flex-asjs Updated Branches: refs/heads/release0.8.0 baa544c21 -> 276fa4398
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/release0.8.0 Commit: 276fa4398eb7a283f6a9e9938307903b8f9d1b7b Parents: baa544c Author: Alex Harui <aha...@apache.org> Authored: Wed May 24 12:52:16 2017 -0700 Committer: Alex Harui <aha...@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>