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 21:42:00 GMT

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

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

Patch for build.xml.


### Eclipse Workspace Patch 1.0
#P Apache Flex SVN
Index: whiteboard/frameworks/build.xml
===================================================================
--- whiteboard/frameworks/build.xml	(revision 1243413)
+++ whiteboard/frameworks/build.xml	(working copy)
@@ -26,7 +26,9 @@
 <project name="frameworks" default="main" basedir=".">
 
 	<property name="FLEX_HOME" location=".."/>
-    <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}"/>
 
     <!-- Required for OSX 10.6 / Snow Leopard Performance -->
     <condition property="local.d32" value="-d32" >
@@ -271,7 +273,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 playerglobal.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