You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cz...@apache.org on 2013/07/30 05:43:21 UTC

git commit: use playerglobal version 11.1 as default

Updated Branches:
  refs/heads/makeFlexUnitApacheReady 8508ccb43 -> 5f8cb8df5


use playerglobal version  11.1 as default


Project: http://git-wip-us.apache.org/repos/asf/flex-flexunit/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-flexunit/commit/5f8cb8df
Tree: http://git-wip-us.apache.org/repos/asf/flex-flexunit/tree/5f8cb8df
Diff: http://git-wip-us.apache.org/repos/asf/flex-flexunit/diff/5f8cb8df

Branch: refs/heads/makeFlexUnitApacheReady
Commit: 5f8cb8df5a0ad86d78a453d4564ddb7bdbe1e9f2
Parents: 8508ccb
Author: cyrillzadra <cy...@gmail.com>
Authored: Tue Jul 30 11:42:24 2013 +0800
Committer: cyrillzadra <cy...@gmail.com>
Committed: Tue Jul 30 11:42:24 2013 +0800

----------------------------------------------------------------------
 jenkins.xml | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/5f8cb8df/jenkins.xml
----------------------------------------------------------------------
diff --git a/jenkins.xml b/jenkins.xml
index af76b22..dfaa841 100644
--- a/jenkins.xml
+++ b/jenkins.xml
@@ -21,7 +21,7 @@
 <project name="framework" default="main" basedir=".">
 	<property name="flexunit.home" value="${basedir}"/>
 	<property name="flexunit.jenkins.home" value="${flexunit.home}/jenkins"/>
-	<property name="playerglobal.version" value="10.0"/>
+	<property name="playerglobal.version" value="11.1"/>
 
 	<!-- Set plyerglobal.version and locale -->
 	<!--loadproperties srcFile="${flexunit.jenkins.home}/build.properties"/-->
@@ -42,12 +42,15 @@
 
 	<!-- playerglobal.swc -->
 	<!-- Because this requires a network connection it copies playglobal.swc only if it doesn't already exist. -->
-	<target name="playerglobal-download" depends="playerglobal-check,playerglobal-settarget,playerglobal10.1-download" description="Copies playerglobal.swc from the Adobe website">
+	<target name="playerglobal-download" depends="playerglobal-check,playerglobal-settarget,playerglobal10.1-download,playerglobal11.1-download" description="Copies playerglobal.swc from the Adobe website">
 	</target>
 
 	<target name="playerglobal-settarget" unless="playerglobal.swc.present">
 		<condition property="target10.1">
-			<equals arg1="${playerglobal.version}" arg2="10.0" />
+			<equals arg1="${playerglobal.version}" arg2="10.1" />
+		</condition>
+		<condition property="target11.1">
+			<equals arg1="${playerglobal.version}" arg2="11.1" />
 		</condition>
 	</target>
 
@@ -57,6 +60,13 @@
             dest="${flexunit.jenkins.home}/player/${playerglobal.version}/playerglobal.swc" 
             verbose="false"/>
 	</target>
+	
+	<target name="playerglobal11.1-download" if="target11.1">
+    	<mkdir dir="${flexunit.jenkins.home}/player/${playerglobal.version}"/>
+        <get src="http://download.macromedia.com/pub/flashplayer/updaters/11/playerglobal11_1.swc" 
+            dest="${flexunit.jenkins.home}/player/${playerglobal.version}/playerglobal.swc" 
+            verbose="false"/>
+    </target>
 
 	<target name="clean" description="Cleans third party downloaded files.">
 		<delete dir="${flexunit.jenkins.home}/temp" />