Repository: flex-asjs Updated Branches: refs/heads/develop 68b904609 -> b57e008b3
hopefully fix mirror handling. This pattern worked in the flex-sdk download 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/b57e008b Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b57e008b Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b57e008b Branch: refs/heads/develop Commit: b57e008b301e69e9deb89c287840742c91488f82 Parents: 02c3efb Author: Alex Harui <[email protected]> Authored: Fri Sep 4 11:11:34 2015 -0700 Committer: Alex Harui <[email protected]> Committed: Fri Sep 4 11:11:42 2015 -0700 ---------------------------------------------------------------------- installer.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b57e008b/installer.xml ---------------------------------------------------------------------- diff --git a/installer.xml b/installer.xml index 9177b65..e9cd1de 100644 --- a/installer.xml +++ b/installer.xml @@ -946,11 +946,21 @@ tofile="${FLEXJS_HOME}/frameworks/themes/Halo/Halo.swc" /> <target name="get-preferred" unless="found-in-cache"> <get src="${srcDomain}/${srcFolder}/${srcFile}?asjson=true" verbose="true" dest="${basedir}/mirror.json" /> <replace file="${basedir}/mirror.json"> + <replacefilter token="{" + value="" /> + <replacefilter token="}" + value="" /> <replacefilter token=""" value="" /> - <replacefilter token=": " + <replacefilter token="," + value="
" /> + <replacefilter token=":" value="=" /> </replace> + <replace file="${basedir}/mirror.json"> + <replacefilter token="http=" + value="http:" /> + </replace> <property file="${basedir}/mirror.json" /> <delete file="${basedir}/mirror.json" /> <echo>${message} ${preferred}${srcFolder}/${srcFile}</echo>
