You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2013/10/07 01:11:09 UTC

git commit: [flex-sdk] [refs/heads/develop] - FLEX-33119 updated to download latest version of osmf.swc

Updated Branches:
  refs/heads/develop 949dd4e56 -> 030f5e84c


FLEX-33119 updated to download latest version of osmf.swc


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/030f5e84
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/030f5e84
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/030f5e84

Branch: refs/heads/develop
Commit: 030f5e84cec5b6fc836bfc1cd3b625b82fbf0a14
Parents: 949dd4e
Author: Justin Mclean <jm...@apache.org>
Authored: Mon Oct 7 10:10:49 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Mon Oct 7 10:10:49 2013 +1100

----------------------------------------------------------------------
 frameworks/downloads.xml | 26 +++++++-------------------
 1 file changed, 7 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/030f5e84/frameworks/downloads.xml
----------------------------------------------------------------------
diff --git a/frameworks/downloads.xml b/frameworks/downloads.xml
index 76362fe..c652929 100644
--- a/frameworks/downloads.xml
+++ b/frameworks/downloads.xml
@@ -119,28 +119,16 @@
     </target>
     
     <target name="osmf-download" depends="osmf-check" unless="osmf.swc.present">
-        <antcall target="ask-osmf"/> 
-               
-        <available file="${download.dir}/OSMF_1.0.zip" type="file" property="osmf.zip.exists"/>
-        <antcall target="download-osmf-zip" />
-        
-        <unzip src="${download.dir}/OSMF_1.0.zip" dest="${download.dir}">
-            <patternset>
-                <include name="osmf_source_v1-0.zip"/>
-            </patternset>
-        </unzip>
-        <unzip src="${download.dir}/osmf_source_v1-0.zip" dest="${basedir}/libs">
-            <patternset>
-                <include name="OSMF.swc"/>
-            </patternset>
-            <mapper type="glob" from="OSMF.swc" to="osmf.swc" />            
-        </unzip>
+        <antcall target="ask-osmf"/>     
+        <available file="${download.dir}/osmf.swc" type="file" property="osmf.swc.exists"/>
+        <antcall target="download-osmf-swc" />
+    	<copy file="${download.dir}/osmf.swc" todir="${basedir}/libs" />
     </target>
 
-    <target name="download-osmf-zip" unless="osmf.zip.exists">
+    <target name="download-osmf-swc" unless="osmf.swc.exists">
         <mkdir dir="${download.dir}"/>
-        <get src="http://sourceforge.net/projects/osmf.adobe/files/OSMF%201.0%20%28final%20source%2C%20ASDocs%2C%20PDF%20guides%2C%20and%20release%20notes%29/OSMF_1.0.zip/download" 
-            dest="${download.dir}/OSMF_1.0.zip" 
+        <get src="http://sourceforge.net/projects/osmf.adobe/files/OSMF%202.0%20Release%20%28final%20source%2C%20ASDocs%2C%20pdf%20guides%20and%20release%20notes%29/OSMF.swc/download" 
+            dest="${download.dir}/osmf.swc" 
             verbose="false"/>
     </target>