You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2016/05/18 17:03:13 UTC
git commit: [flex-utilities] [refs/heads/develop] - try to fix build
Repository: flex-utilities
Updated Branches:
refs/heads/develop ca6e3fe0d -> 4de393593
try to fix build
Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/4de39359
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/4de39359
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/4de39359
Branch: refs/heads/develop
Commit: 4de3935939847d8bf3391b52d4f0b2f70eeb9aef
Parents: ca6e3fe
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 18 10:02:57 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed May 18 10:03:09 2016 -0700
----------------------------------------------------------------------
flex-installer/build.xml | 28 ++++++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/4de39359/flex-installer/build.xml
----------------------------------------------------------------------
diff --git a/flex-installer/build.xml b/flex-installer/build.xml
index d29b7fd..9aca661 100644
--- a/flex-installer/build.xml
+++ b/flex-installer/build.xml
@@ -358,14 +358,33 @@
</java>
</target>
+ <target name="check-as3crypto-license" >
+ <condition property="found-as3crypto-license" >
+ <available file="${DEPS_DIR}/as3crypto/LICENSE.txt"/>
+ </condition>
+ </target>
+
+ <target name="get-as3crypto-license" depends="check-as3crypto-license" unless="found-as3crypto-license">
+ <mkdir dir="${DEPS_DIR}/as3crypto/temp" />
+ <get src="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/as3crypto/Crypto.zip"
+ dest="${DEPS_DIR}/as3crypto/temp"
+ />
+ <unzip src="${DEPS_DIR}/as3crypto/temp/Crypto.zip" dest="${DEPS_DIR}/as3crypto">
+ <patternset>
+ <include name="LICENSE.txt"/>
+ </patternset>
+ </unzip>
+ <delete dir="${DEPS_DIR}/as3crypto/temp" />
+ </target>
+
<target name="simple-untar-license" >
<mkdir dir="${DEPS_DIR}/as3-simple-untar" />
<get src="https://raw.githubusercontent.com/thdtjsdn/as3-simple-untar/master/src/de/ketzler/utils/SimpleUntar.as"
dest="${DEPS_DIR}/as3-simple-untar/LICENSE"
/>
<replaceregexp file="${DEPS_DIR}/as3-simple-untar/LICENSE"
- match="package .*" replace=""
- flags="s"
+ match="package .*" replace=""
+ flags="s"
/>
</target>
@@ -380,10 +399,7 @@
<get src="https://raw.githubusercontent.com/mikechambers/as3corelib/master/README"
dest="${DEPS_DIR}/as3corelib"
/>
- <mkdir dir="${DEPS_DIR}/as3crypto" />
- <get src="http://as3crypto.googlecode.com/svn/trunk/as3crypto/LICENSE.txt"
- dest="${DEPS_DIR}/as3crypto"
- />
+ <antcall target="get-as3crypto-license" />
<antcall target="simple-untar-license" />
<java jar="${ADT}" fork="true"
failonerror="true"