1.1 --- a/rt/mojo/src/main/java/org/apidesign/bck2brwsr/mojo/AheadOfTime.java Tue Feb 24 11:19:25 2015 +0100
1.2 +++ b/rt/mojo/src/main/java/org/apidesign/bck2brwsr/mojo/AheadOfTime.java Wed Feb 25 11:31:50 2015 +0100
1.3 @@ -114,7 +114,7 @@
1.4 if ("provided".equals(a.getScope())) {
1.5 continue;
1.6 }
1.7 - File aot = new File(prj.getBuild().getDirectory(), classPathPrefix);
1.8 + File aot = new File(mainJavaScript.getParent(), classPathPrefix);
1.9 aot.mkdirs();
1.10 File js = new File(aot, n.substring(0, n.length() - 4) + ".js");
1.11 if (js.exists()) {