Repository: flex-asjs Updated Branches: refs/heads/develop f15776630 -> 25b9fe127
try to prevent caching of falconjx during nightly build installs Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/25b9fe12 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/25b9fe12 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/25b9fe12 Branch: refs/heads/develop Commit: 25b9fe1279efdea66f1d398ef0d720832ea76707 Parents: f157766 Author: Alex Harui <aha...@apache.org> Authored: Thu May 8 14:01:11 2014 -0700 Committer: Alex Harui <aha...@apache.org> Committed: Thu May 8 14:01:11 2014 -0700 ---------------------------------------------------------------------- installer.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/25b9fe12/installer.xml ---------------------------------------------------------------------- diff --git a/installer.xml b/installer.xml index 7f1a3fd..8fabeaf 100644 --- a/installer.xml +++ b/installer.xml @@ -281,12 +281,9 @@ <target name="falcon-get-check" > <available file="${download.dir}/${falcon.file}" property="falcon.downloaded" /> </target> - <target name="falcon-get" depends="falcon-get-check" unless="falcon.downloaded" > + <target name="falcon-get" depends="falcon-get-check,set-falcon-cache-flag" unless="falcon.downloaded" > <mkdir dir="${download.dir}"/> <echo>${INFO_INSTALLING_FALCON} ${falcon.server.url}/${falcon.folder}/${falcon.file}</echo> - <condition property="do-not-cache-next-get" value="true" > - <isset property="nightly" /> - </condition> <antcall target="falcon_get_from_mirror" > <param name="server" value="${falcon.server.url}" /> <param name="folder" value="${falcon.folder}" /> @@ -319,6 +316,10 @@ </antcall> </target> + <target name="set-falcon-cache-flag" if="nightly" > + <property name="do-not-cache-next-get" value="true" /> + </target> + <target name="get-flex" depends="flex-check,flex-get" unless="flex.sdk.present" description="downloads and installs some pieces of the Flex SDK"> <echo>${INFO_UNZIPPING} ${download.dir}/${flex.file}</echo>