Generate JPMS module-info
[cc0/argeo-build.git] / src / org / argeo / build / Make.java
index a8341fb970458d278c4a834a4e33535366e5d345..b1d96e2ee9c710d9d86d69f4645722d8c872a5a7 100644 (file)
@@ -513,11 +513,11 @@ public class Make {
 
                // Write module-info.class
                if (moduleInfoClass != null) {
-                       Path moduleInfoClassP = compiled.resolve("module-info.class");
+                       Path moduleInfoClassP = binP.resolve("module-info.class");
                        Files.createDirectories(moduleInfoClassP.getParent());
                        try (OutputStream out = Files.newOutputStream(moduleInfoClassP)) {
                                moduleInfoClass.write(out);
-                               logger.log(INFO, "Wrote " + moduleInfoClassP);
+//                             logger.log(INFO, "Wrote " + moduleInfoClassP);
                        } catch (Exception e) {
                                throw new RuntimeException("Cannot write module-info.class");
                        }