flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [66/83] [abbrv] git commit: [flex-falcon] [refs/heads/develop] - handle not having this system property
Date Fri, 25 Sep 2015 04:49:35 GMT
handle not having this system property


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

Branch: refs/heads/develop
Commit: 93ed6413cff51f4236dbb723ba54cdb140435043
Parents: 116cff8
Author: Alex Harui <aharui@apache.org>
Authored: Thu Sep 17 21:04:31 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Sep 22 10:35:16 2015 -0700

----------------------------------------------------------------------
 compiler/src/org/apache/flex/compiler/config/Configuration.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/93ed6413/compiler/src/org/apache/flex/compiler/config/Configuration.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/config/Configuration.java b/compiler/src/org/apache/flex/compiler/config/Configuration.java
index e6323e8..4378e0b 100644
--- a/compiler/src/org/apache/flex/compiler/config/Configuration.java
+++ b/compiler/src/org/apache/flex/compiler/config/Configuration.java
@@ -118,7 +118,10 @@ public class Configuration
     private String[] removeNativeJSLibrariesIfNeeded(String[] libraryPaths)
     {
         List<String> libraryPathList = new ArrayList<String>(Arrays.asList(libraryPaths));
-        String appHome = System.getProperty("application.home").replace("\\", "/");
+        String appHome = System.getProperty("application.home");
+        if (appHome == null)
+            return libraryPaths;
+        appHome = appHome.replace("\\", "/");
 
         if (isExcludeNativeJSLibraries)
         {


Mime
View raw message