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 2015/08/24 07:32:55 UTC
[05/34] git commit: [flex-asjs] [refs/heads/develop] - tidy up
provisioning script
tidy up provisioning script
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/e5858c5b
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/e5858c5b
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/e5858c5b
Branch: refs/heads/develop
Commit: e5858c5b5de0f5ea30ffce873dbfb07b565509eb
Parents: 41a7294
Author: Alex Harui <ah...@apache.org>
Authored: Sat Aug 22 22:57:08 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sun Aug 23 07:13:36 2015 -0700
----------------------------------------------------------------------
build.xml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e5858c5b/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 2b19e6d..4a7283a 100644
--- a/build.xml
+++ b/build.xml
@@ -1535,6 +1535,7 @@
<target name="download-all" depends="get-download-folder" if="airsdk.found" >
<echo>Using folder ${base.folder.name}</echo>
<mkdir dir="${base.folder.name}" />
+ <antcall target="warn-before-clone" />
<antcall target="clone-flex-asjs" />
<antcall target="clone-flex-falcon" />
<antcall target="clone-flex-flexunit" />
@@ -1544,6 +1545,12 @@
<antcall target="build-all" />
</target>
+ <target name="warn-before-clone" depends="check-flex-asjs" unless="flex-asjs-exists">
+ <input
+ message="This script will clone 6 repos. This will take several minutes. Then it will ask you a few questions then take several more minutes to download more files and compile them. Press the enter key to continue."
+ />
+ </target>
+
<target name="check-flex-asjs">
<available file="${base.folder.name}/flex-asjs"
type="dir"
@@ -1660,6 +1667,20 @@
</target>
<target name="build-all" depends="check-playerglobal-home,check-air-home">
+ <!-- get the questions out of the way -->
+ <ant dir="${base.folder.name}/flex-sdk/frameworks" antfile="downloads.xml">
+ <target name="font-jars-check" />
+ <target name="ask-font" />
+ </ant>
+ <property name="font.donot.ask" value="set" />
+ <ant dir="${base.folder.name}/flex-flexunit/FlexUnit4Test" antfile="downloads.xml"
+ target="saxon9he-jar" />
+ <mkdir dir="${base.folder.name}/flex-flexunit/FlexUnit4AntTasks/lib" />
+ <ant dir="${base.folder.name}/flex-flexunit/FlexUnit4AntTasks" antfile="downloads.xml"
+ target="junit-jar" />
+ <input
+ message="This script will now download and compile lots of files. This can take several minutes. No interaction should be required. Press the enter key to continue."
+ />
<ant dir="${base.folder.name}/flex-sdk" />
<ant dir="${base.folder.name}/flex-falcon/compiler" />
<ant dir="${base.folder.name}/flex-falcon/compiler.jx" />