This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 154504 [details] zip of a simple mavenized module Hi, I was trying to build a mavenized project that is working nice on jdk8 and I try to look forward to jdk9. Some module compile well but some other doesn't. The non compiling module use annotation that construct layer. I attach a sample containing jdk9 specific code (JDK9Code.java) to be sure I was using jdk9. DummyTemplate contains the registration of a project template we currently use. At compilation time it fails with the following error: Failed to read generated-layer.xml: java.nio.file.NoSuchFileException: {path}\target\classes\META-INF\generated-layer.xml I guess it's not limited to TemplateRegistration.
Thanks for the test project. Fixed by changeset: 289482:732f2eafab93 http://hg.netbeans.org/core-main/rev/732f2eafab93
thanks for the fix. I had to wait until core was propagated to main silver.
Integrated into 'main-silver', will be available in build *201507170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/732f2eafab93 User: mentlicher@netbeans.org Log: #253337: When the layer file does not exist, not only FileNotFoundException, but also NoSuchFileException can be thrown.
issue #253529 has the same cause.