You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2016/04/18 15:27:09 UTC

[46/50] git commit: [flex-asjs] [refs/heads/feature/maven-migration] - fix subsetter

fix subsetter


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

Branch: refs/heads/feature/maven-migration
Commit: f3c785a00e8187c1b2eae8f8f40adb1f587a4c5b
Parents: 66669cf
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 13 12:24:16 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Apr 13 12:24:16 2016 -0700

----------------------------------------------------------------------
 frameworks/downloads.xml | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f3c785a0/frameworks/downloads.xml
----------------------------------------------------------------------
diff --git a/frameworks/downloads.xml b/frameworks/downloads.xml
index 089fa16..e4f2cf7 100644
--- a/frameworks/downloads.xml
+++ b/frameworks/downloads.xml
@@ -22,6 +22,9 @@
 	<property name="FLEXJS_HOME" location="../.."/>
 
 	<!-- properties -->
+    <property file="${FLEXJS_HOME}/env.properties"/>
+    <property environment="env"/>
+    <property file="${FLEXJS_HOME}/local.properties"/>
 	<property file="${FLEXJS_HOME}/build.properties"/>
     <property name="FLEX_HOME" value="${env.FLEX_HOME}" />
 
@@ -166,7 +169,13 @@
     </target>
 	
     <target name="subset-goog" >
+        <condition property="GOOG_HOME" value="${env.GOOG_HOME}">
+            <not>
+                <isset property="GOOG_HOME"/>
+            </not>
+        </condition>
         <property name="GOOG_DIR" value="${GOOG_HOME}" />
+        <echo>Subsetting ${GOOG_DIR}</echo>
         <delete failonerror="false">
             <!-- we only need base.js, eventtarget.js and their dependencies -->
             <fileset dir="${GOOG_DIR}">