AntOnAIR doesn't have flattenmapper so try alternative
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/50ae7df9 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/50ae7df9 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/50ae7df9 Branch: refs/heads/feature/maven-migration Commit: 50ae7df92601fb920f7b82249bea10070815c5f4 Parents: 7cd1bd4 Author: Alex Harui <[email protected]> Authored: Tue Mar 29 09:01:16 2016 -0700 Committer: Alex Harui <[email protected]> Committed: Tue Mar 29 09:01:16 2016 -0700 ---------------------------------------------------------------------- installer.xml | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/50ae7df9/installer.xml ---------------------------------------------------------------------- diff --git a/installer.xml b/installer.xml index 27ae65f..01d676e 100644 --- a/installer.xml +++ b/installer.xml @@ -704,27 +704,24 @@ description="Downloads Flat fonts and copies to correct locations"> <mkdir dir="${download.dir}"/> - <echo>${INFO_INSTALLING_FLAT_FONTS} ${flat.font.url.server}/${flat.font.url.folder}/${flat.font.url.file}</echo> + <echo>${INFO_INSTALLING_FLAT_FONTS} https://github.com/designmodo/Flat-UI/archive/2.2.2.zip</echo> <get src="https://github.com/designmodo/Flat-UI/archive/2.2.2.zip" dest="${download.dir}/flat-ui_2_2.zip" verbose="false"/> <mkdir dir="${FLEXJS_HOME}/frameworks/fonts"/> - <unzip src="${download.dir}/flat-ui_2_2.zip" dest="${FLEXJS_HOME}/frameworks/fonts"> - <patternset> - <include name="Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.eot"/> - <include name="Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.ttf"/> - <include name="Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.svg"/> - <include name="Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.woff"/> - </patternset> - <flattenmapper /> - </unzip> - <unzip src="${download.dir}/flat-ui_2_2.zip" dest="${FLEXJS_HOME}/frameworks/fonts"> - <patternset> - <include name="Flat-UI-2.2.2/README.md"/> - </patternset> - <flattenmapper /> - </unzip> + <mkdir dir="${download.dir}/flat/fonts"/> + <unzip src="${download.dir}/flat-ui_2_2.zip" dest="${download.dir}/flat/fonts" /> + <copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.eot" + todir="${FLEXJS_HOME/frameworks/fonts"/> + <copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.ttf" + todir="${FLEXJS_HOME/frameworks/fonts"/> + <copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.svg" + todir="${FLEXJS_HOME/frameworks/fonts"/> + <copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.woff" + todir="${FLEXJS_HOME/frameworks/fonts"/> + <copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/README.md" + todir="${FLEXJS_HOME/frameworks/fonts"/> </target> <!-- swfobject.js (Version 2.2) -->
