rt/mojo/src/main/java/org/apidesign/bck2brwsr/mojo/AheadOfTime.java
changeset 1789 2d81494f54b3
parent 1787 ea12a3bb4b33
child 1790 fa2e91f7d3b5
     1.1 --- a/rt/mojo/src/main/java/org/apidesign/bck2brwsr/mojo/AheadOfTime.java	Tue Feb 24 11:12:53 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()) {