flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [12/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - fix subsetter
Date Wed, 04 May 2016 18:13:58 GMT
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/spark
Commit: f3c785a00e8187c1b2eae8f8f40adb1f587a4c5b
Parents: 66669cf
Author: Alex Harui <aharui@apache.org>
Authored: Wed Apr 13 12:24:16 2016 -0700
Committer: Alex Harui <aharui@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}">


Mime
View raw message