flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - fix a few things in the install script so ant_on_air can work with it
Date Mon, 30 Dec 2013 05:36:17 GMT
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 <aharui@apache.org>
Authored: Sun Dec 29 21:35:06 2013 -0800
Committer: Alex Harui <aharui@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>


Mime
View raw message