Commit 835ceab8 authored by Evan W. Patton's avatar Evan W. Patton Committed by Susan Rati Lane

Fix PlayApp build on Windows due to wrong slash

Change-Id: Idbd09280429ee9a786a4c476224fcae0e69f7e6c
parent 6f144887
...@@ -78,6 +78,7 @@ public final class Compiler { ...@@ -78,6 +78,7 @@ public final class Compiler {
private static final String SLASH = File.separator; private static final String SLASH = File.separator;
private static final String COLON = File.pathSeparator; private static final String COLON = File.pathSeparator;
private static final String ZIPSLASH = "/";
public static final String RUNTIME_FILES_DIR = "/" + "files" + "/"; public static final String RUNTIME_FILES_DIR = "/" + "files" + "/";
...@@ -1719,7 +1720,7 @@ public final class Compiler { ...@@ -1719,7 +1720,7 @@ public final class Compiler {
} }
String sourcePath = ""; String sourcePath = "";
String pathSuffix = RUNTIME_FILES_DIR + sourceDirName + SLASH + lib; String pathSuffix = RUNTIME_FILES_DIR + sourceDirName + ZIPSLASH + lib;
if (simpleCompTypes.contains(type)) { if (simpleCompTypes.contains(type)) {
sourcePath = getResource(pathSuffix); sourcePath = getResource(pathSuffix);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment