This is an automated email from the ASF dual-hosted git repository. erikdebruin pushed a commit to branch feature/wast in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
The following commit(s) were added to refs/heads/feature/wast by this push: new 5459191 Make sure we pick up ‘glue.js’ from the correct location 5459191 is described below commit 5459191663cb729c595fd0c165a8a184276c52b2 Author: Erik de Bruin <e...@ixsoftware.nl> AuthorDate: Tue Nov 14 17:03:06 2017 +0100 Make sure we pick up ‘glue.js’ from the correct location Signed-off-by: Erik de Bruin <e...@ixsoftware.nl> --- .../apache/royale/compiler/internal/codegen/wast/WASTPublisher.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/wast/WASTPublisher.java b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/wast/WASTPublisher.java index 3732894..f1fb81b 100644 --- a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/wast/WASTPublisher.java +++ b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/wast/WASTPublisher.java @@ -108,11 +108,13 @@ public class WASTPublisher implements IWASTPublisher { String flexHomePath = flexHome.getPath(); if (!flexHomePath.substring(flexHomePath.length() - 4).equals(".jar")) { - flexHomePath = new File(flexHome, "../../../../royale-asjs/wast/lib").getPath(); + flexHomePath = new File(flexHome, "../../../../royale-asjs/wast/resources").getPath(); } else { - flexHomePath = flexHome.getParentFile().getPath(); + flexHomePath = new File(flexHome.getParentFile().getPath(), "../resources").getPath(); } + System.out.println(flexHomePath); + copyFile(new File(flexHomePath, "glue.js"), new File(getOutputFolder().getPath(), "glue.js")); } -- To stop receiving notification emails like this one, please contact ['"commits@royale.apache.org" <commits@royale.apache.org>'].