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 2013/12/30 06:36:17 UTC

git commit: [flex-asjs] [refs/heads/develop] - fix a few things in the install script so ant_on_air can work with it

Updated Branches:
  refs/heads/develop 45c74749b -> 306c9dfe1


fix a few things in the install script so ant_on_air can work with it


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/306c9dfe
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/306c9dfe
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/306c9dfe

Branch: refs/heads/develop
Commit: 306c9dfe1236cb3f553dc9177857698a9d96d494
Parents: 45c7474
Author: Alex Harui <ah...@apache.org>
Authored: Sun Dec 29 21:35:06 2013 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Sun Dec 29 21:36:04 2013 -0800

----------------------------------------------------------------------
 installer.xml | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/306c9dfe/installer.xml
----------------------------------------------------------------------
diff --git a/installer.xml b/installer.xml
index 2c53bfa..e8e246c 100644
--- a/installer.xml
+++ b/installer.xml
@@ -254,16 +254,18 @@
     
     <target name="get-flex" depends="flex-check,flex-get" unless="flex.sdk.present"
         description="downloads and installs some pieces of the Flex SDK">
-        <mkdir dir="${download.dir}"/>
-        <get src="${flex.url.path}/${flex.url.file}"
-        dest="${download.dir}/${flex.url.file}"
-        verbose="false"/>
-        <unzip src="${download.dir}/${flex.url.file}" dest="${download.dir}/flex"/>
+        <unzip src="${download.dir}/${flex.url.file}" dest="${download.dir}/flex">
+            <patternset>
+                <include name="bin/**" />
+                <include name="lib/**" />
+                <include name="templates/swfobject/**" />
+            </patternset>
+        </unzip>
         <copy todir="${FLEXJS_HOME}" >
             <fileset dir="${download.dir}/flex">
                 <include name="bin/**" />
-                <include name="lib/**/**" />
-                <include name="templates/swfobject/**/**" />
+                <include name="lib/**" />
+                <include name="templates/swfobject/**" />
             </fileset>
         </copy>
     </target>