Repository: flex-utilities
Updated Branches:
  refs/heads/develop 673f17e45 -> 97121770f


use as3httpclientlib by downloading from github


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/1613df38
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/1613df38
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/1613df38

Branch: refs/heads/develop
Commit: 1613df3805229d18146736877b2c7db4ed0369a1
Parents: 673f17e
Author: Alex Harui <[email protected]>
Authored: Mon Jun 15 09:37:15 2015 -0700
Committer: Alex Harui <[email protected]>
Committed: Mon Jun 15 09:37:15 2015 -0700

----------------------------------------------------------------------
 flex-installer/installer/build.properties |  3 +++
 flex-installer/installer/build.xml        | 16 ++++++++++++----
 2 files changed, 15 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/1613df38/flex-installer/installer/build.properties
----------------------------------------------------------------------
diff --git a/flex-installer/installer/build.properties 
b/flex-installer/installer/build.properties
index 0f3ea24..7e278f4 100644
--- a/flex-installer/installer/build.properties
+++ b/flex-installer/installer/build.properties
@@ -21,6 +21,9 @@
 #nano version number is added by build script
 release.version=3.2
 
+# Flash player version for which player global swc to use
+playerglobal.version = 11.1
+
 #Flex Locations
 FLEX_HOME_WIN=C:/Program Files (x86)/Adobe/Adobe Flash Builder 
4.6/sdks/ApacheFlex4.10.0
 FLEX_HOME_MAC=/Users/justinmclean/Documents/ApacheFlex4.10

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/1613df38/flex-installer/installer/build.xml
----------------------------------------------------------------------
diff --git a/flex-installer/installer/build.xml 
b/flex-installer/installer/build.xml
index 2d1c83f..c7e98a2 100644
--- a/flex-installer/installer/build.xml
+++ b/flex-installer/installer/build.xml
@@ -275,7 +275,6 @@
         <available file="${LIBRARY_DIR}/as3commons-zip-1.0.0-alpha.1.swc" 
property="as3commons.swc.present"/>
     </target>
 
-    <!-- This has a BSD license which is a reciprocal license with the Apache 
v2 license.  -->
     <target name="get-as3commons.swc" depends="check-as3commons.swc" 
unless="as3commons.swc.present"
         description="Download as3commons.swc and fail if checksum mismatch.">
         <mkdir dir="${LIBRARY_DIR}"/>
@@ -301,12 +300,20 @@
     </target>
 
     <!-- This has a BSD license which is a reciprocal license with the Apache 
v2 license.  -->
-    <target name="get-as3httpclient.swc" depends="check-as3commons.swc" 
unless="as3httpclient.swc.present"
+    <target name="get-as3httpclient.swc" depends="check-as3httpclient.swc" 
unless="as3httpclient.swc.present"
             description="Download as3httpclient.swc">
         <mkdir dir="${LIBRARY_DIR}"/>
-        <get 
src="https://github.com/quetwo/as3httpclient/releases/download/1.0/as3httpclient.swc";
-             dest="${LIBRARY_DIR}/as3httpclient.swc"
+        <mkdir dir="${LIBRARY_DIR}/temp"/>
+        <get src="https://github.com/gabriel/as3httpclient/archive/master.zip";
+             dest="${LIBRARY_DIR}/temp"
              verbose="true"/>
+        <unzip src="${LIBRARY_DIR}/temp/master.zip" 
dest="${LIBRARY_DIR}/temp"/>
+        <replace file="${LIBRARY_DIR}/temp/as3httpclient-master/build-swc.xml"
+            token="${flexlib}/libs/player/9/" 
value="${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/" />
+        <compc
+            output="${LIBRARY_DIR}/as3httpclient.swc">
+            <load-config 
filename="${LIBRARY_DIR}/temp/as3httpclient-master/build-swc.xml" />
+        </compc>
     </target>
 
     <target name="compile" depends="get-as3commons.swc, get-as3httpclient.swc"
@@ -326,6 +333,7 @@
             <external-library-path 
file="${AIR_HOME}/frameworks/libs/air/airglobal.swc" append="true"/>
             <library-path dir="${LIBRARY_DIR}" includes="*.swc" append="true"/>
             <library-path dir="${ANT_ON_AIR_DIR}" includes="*.swc" 
append="true"/>
+            <library-path dir="${LIBRARY_DIR}/temp/as3httpclient-master/lib" 
includes="*.swc" append="true"/>
             <define name="INSTALLER::releaseVersion" 
value="${release.version}"/>
             <define name="INSTALLER::buildNumber" value="${build.number}"/>
         </mxmlc>

Reply via email to