Hi Peter May I know which part is module dev supports for jdk >8? I mean where is the code for this thing?. I want to know anything i can help
Thanks >From Peter ________________________________ From: Peter Nabbefeld <peter.nabbef...@gmx.de> Sent: Tuesday, January 1, 2019 11:23 PM To: dev@netbeans.incubator.apache.org Subject: Re: Porting 8.2 plugin to 10 problem Hi Peter, the Generated annotation has moved somewhere, IIRC, so the annotation processor creates Java code with non-working imports. For the bundles, it will probably be better to use property files. Or better wait, until JDK > 8 is supported for module development, as modules targeted to NB 8.x should still work in most cases. Kind regards Peter Am 01.01.19 um 15:54 schrieb Peter Cheung: > Hi > I am porting my plugins to Netbeans 10, but all of them have this error. > It auto generated a java file called Bundle.java and it is unable to compile > since it can't find @javax.annotation.Generated > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile > (default-compile) on project netbeans-antlr: Compilation failure: Compilation > failure: > [ERROR] > /Users/peter/workspace/netbeans-antlr/target/generated-sources/annotations/com/github/mcheung63/netbeans/antlr/syntax/antlr3/realtimecompile/Bundle.java:[3,17] > error: cannot find symbol > [ERROR] symbol: class Generated > [ERROR] location: package javax.annotation > [ERROR] > /Users/peter/workspace/netbeans-antlr/target/generated-sources/annotations/com/github/mcheung63/netbeans/antlr/Bundle.java:[3,17] > error: cannot find symbol > [ERROR] symbol: class Generated > [ERROR] location: package javax.annotation > [ERROR] > /Users/peter/workspace/netbeans-antlr/target/generated-sources/annotations/com/github/mcheung63/netbeans/antlr/syntax/antlr4/realtimecompile/Bundle.java:[3,17] > error: cannot find symbol > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > > > Thanks > From Peter > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists