incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-15) Change build script to download specified version of playerglobal.swc
Date Tue, 14 Feb 2012 06:10:59 GMT

    [ https://issues.apache.org/jira/browse/FLEX-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207537#comment-13207537
] 

Justin Mclean commented on FLEX-15:
-----------------------------------

Patch to download correct player global.swc. Tested and works for version 11.0 and 10.3.

Does anyone know the paths for 11.1 and 10.2 version of the playerglobal.swc?
They are not:
http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/playerglobal11_1.swc
http://fpdownload.macromedia.com/pub/flashplayer/updaters/10/playerglobal10_2.swc


### Eclipse Workspace Patch 1.0
#P Apache Flex SVN
Index: whiteboard/frameworks/build_framework.xml
===================================================================
--- whiteboard/frameworks/build_framework.xml	(revision 1243413)
+++ whiteboard/frameworks/build_framework.xml	(working copy)
@@ -49,7 +49,9 @@
     <property name="mobiletheme.dir" value="${projects.dir}/mobiletheme"/>
     <property name="wireframe.dir" value="${projects.dir}/wireframe"/>
     <property name="compc.jvm.args" value="-Xmx384m" />
-    <property name="playerglobal.version" value="11.1"/>
+	<property name="playerglobal.majorversion" value="11" />
+	<property name="playerglobal.minorversion" value="1" />
+    <property name="playerglobal.version" value="${playerglobal.majorversion}.${playerglobal.minorversion}"/>
     
     <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
 
@@ -678,7 +680,7 @@
     <!-- Because this requires a network connection it copies playglobal.swc only if it
doesn't already exist. -->
     <target name="playerglobal-download" depends="playerglobal-check" unless="playerglobal.swc.present"
description="Copies playerglobal.swc from the Adobe website">
         <mkdir dir="${basedir}/libs/player/${playerglobal.version}"/>
-        <get src="http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/playerglobal11_0.swc"

+        <get src="http://fpdownload.macromedia.com/pub/flashplayer/updaters/${playerglobal.majorversion}/playerglobal${playerglobal.majorversion}_${playerglobal.minorversion}.swc"

             dest="${basedir}/libs/player/${playerglobal.version}/playerglobal.swc" 
             verbose="false"/>
     </target>

                
> Change build script to download specified version of playerglobal.swc
> ---------------------------------------------------------------------
>
>                 Key: FLEX-15
>                 URL: https://issues.apache.org/jira/browse/FLEX-15
>             Project: Apache Flex
>          Issue Type: Sub-task
>            Reporter: Justin Mclean
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>
> Current build_framework.xml script hard codes the global player swc version that it downloads.
It should download the correct version based on player version property in the build file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message