You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2017/11/30 23:24:40 UTC

[royale-compiler] 04/05: fix where we look for env.properties

This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch feature/rename
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git

commit d5647168412d9850d906051380938b588d929f66
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Nov 30 15:23:41 2017 -0800

    fix where we look for env.properties
---
 .../src/main/java/org/apache/royale/utils/EnvProperties.java         | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/compiler-test-utils/src/main/java/org/apache/royale/utils/EnvProperties.java b/compiler-test-utils/src/main/java/org/apache/royale/utils/EnvProperties.java
index 346e857..71f14d0 100644
--- a/compiler-test-utils/src/main/java/org/apache/royale/utils/EnvProperties.java
+++ b/compiler-test-utils/src/main/java/org/apache/royale/utils/EnvProperties.java
@@ -89,7 +89,8 @@ public class EnvProperties {
 	{
         String prefix = "";
 		Properties p = new Properties();
-        String envFileName = FilenameNormalization.normalize("../../../env.properties");
+        String envFileName = FilenameNormalization.normalize("../env.properties");
+        System.out.println("looking for " + envFileName);
         try {
             File f = new File(envFileName);
             if (f.exists())
@@ -133,7 +134,7 @@ public class EnvProperties {
 
 		ASJS = p.getProperty(prefix + "ASJS_HOME", System.getenv("ASJS_HOME"));
 		if (ASJS == null)
-			ASJS = FilenameNormalization.normalize("../../../../royale-asjs");
+			ASJS = FilenameNormalization.normalize("../../royale-asjs");
 		System.out.println("environment property - ASJS_HOME = " + ASJS);
         
         GOOG = p.getProperty(prefix + "GOOG_HOME", System.getenv("GOOG_HOME"));

-- 
To stop receiving notification emails like this one, please contact
"commits@royale.apache.org" <co...@royale.apache.org>.