Repository: flex-falcon Updated Branches: refs/heads/develop e6d94dd2b -> bb38ff096
another hardcoded player version Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/bb38ff09 Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/bb38ff09 Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/bb38ff09 Branch: refs/heads/develop Commit: bb38ff0967153e735ce253bb12a3cd184dcffa5a Parents: e6d94dd Author: Alex Harui <[email protected]> Authored: Tue Apr 22 15:00:02 2014 -0700 Committer: Alex Harui <[email protected]> Committed: Tue Apr 22 15:00:02 2014 -0700 ---------------------------------------------------------------------- compiler.tests/build.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/bb38ff09/compiler.tests/build.xml ---------------------------------------------------------------------- diff --git a/compiler.tests/build.xml b/compiler.tests/build.xml index 00ee1b4..b4ca61a 100644 --- a/compiler.tests/build.xml +++ b/compiler.tests/build.xml @@ -36,6 +36,11 @@ <isset property="FLASHPLAYER_DEBUGGER" /> </condition> + <condition property="playerglobal.version" value="${env.PLAYERGLOBAL_VERSION}"> + <isset property="env.PLAYERGLOBAL_VERSION" /> + </condition> + <property name="playerglobal.version" value="11.1" /> + <property name="compiler" value="${compiler.tests}/../compiler"/> <property name="falcon" value="${compiler}/generated/dist/sdk"/> @@ -60,9 +65,9 @@ <property name="FLEX_HOME" value="${sdk}"/> <property name="FALCON_HOME" value="${falcon}"/> <taskdef resource="flexTasks.tasks" classpath="${falcon}/lib/falcon-flexTasks.jar"/> - <mxmlc file="${compiler.tests}/Hello.as"/> + <mxmlc file="${compiler.tests}/Hello.as" target-player="${playerglobal.version}"/> <delete file="${compiler.tests}/Hello.swf"/> - <compc output="Hello.swc" include-classes="Hello"> + <compc output="Hello.swc" include-classes="Hello" target-player="${playerglobal.version}"> <source-path path-element="${compiler.tests}"/> </compc> <delete file="${compiler.tests}/Hello.swc"/>
