flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From josebarra...@apache.org
Subject [41/50] [abbrv] git commit: [flex-falcon] [refs/heads/maven] - another hardcoded player version
Date Thu, 24 Apr 2014 16:06:13 GMT
another hardcoded player version


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

Branch: refs/heads/maven
Commit: a0afc81334c3b2b7f096c5f90b71ad12b9a526f2
Parents: bb38ff0
Author: Alex Harui <aharui@apache.org>
Authored: Tue Apr 22 15:14:51 2014 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Apr 22 15:14:51 2014 -0700

----------------------------------------------------------------------
 .../src/org/apache/flex/compiler/utils/EnvProperties.java | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/a0afc813/compiler.jx.tests/src/org/apache/flex/compiler/utils/EnvProperties.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/utils/EnvProperties.java b/compiler.jx.tests/src/org/apache/flex/compiler/utils/EnvProperties.java
index 5418691..ffd7494 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/utils/EnvProperties.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/utils/EnvProperties.java
@@ -61,6 +61,11 @@ public class EnvProperties
      */
     public String ASJS;
     
+    /**
+     * PLAYERGLOBAL_VERSION
+     */
+    public String FPVER;
+
     private static EnvProperties env;
 
     public static EnvProperties initiate()
@@ -103,6 +108,11 @@ public class EnvProperties
         System.out.println("environment property - PLAYERGLOBAL_HOME = "
                 + FPSDK);
 
+        FPVER = p.getProperty("PLAYERGLOBAL_VERSION", System.getenv("PLAYERGLOBAL_VERSION"));
+        if (FPVER == null)
+            FPVER = "11.1";
+        System.out.println("environment property - PLAYERGLOBAL_VERSION = " + FPVER);
+        
         AIRSDK = p.getProperty("AIR_HOME", System.getenv("AIR_HOME"));
         System.out.println("environment property - AIR_HOME = " + AIRSDK);
 


Mime
View raw message