Would like to change the junit report action of our CI pipeline
Hello, you might have noticed that when a test fails, the chances are high that the logged exception will break the markup on the github workflow summary which makes it difficult to read. I would like to change the test report action to a different implementation: https://github.com/apache/netbeans/pull/6462 screenshots and examples are in the PR context: the original reason for not using "action-junit-report" was because it would have required extra write permissions in our workflow which I didn't want to add just for this action, but its implementation changed recently since github added a new API - so this problem no longer exists. If anyone prefers the output of the current "test-summary" action over the proposed "action-junit-report" please say so. best regards, michael - To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Fwd: Netbeans Platform and Jigsaw
Hi, we have a short wiki article for this: https://cwiki.apache.org/confluence/display/NETBEANS/Java+Module+System+and+NetBeans+Platform+Applications what you could do while migrating a platform app is to simply start with the same flags NetBeans is using. Once you are done and all your tests are green you remove the flags and add only those your application needs. best regards, michael On 26.09.23 21:20, Jean-Marc Borer wrote: Hi there, We are planning to migrate from Java 8 and NB 12.4 to Java 17 and NB 19. I know it works as I run my IDE 19 with Java 17. Now there is Jigsaw I there some documentation how to compile Netbeans Platform applications with JDK 9+ and Maven? I am trying to understand how Jigsaw modules and the Netbeans modules (specifically the class loading) can work together (or not). The thing that I observed is that most (all?) JDK modules are added to the module path (so completely opened) in the netbeans.conf file. As I spent some time hacking around with NB platform, dependencies and Maven, I fear that I will get a lot of issues related to Jigsaw during this migration attempt. Any information? Thx in advance for any input PS: Yes I asked on the user list as well, but I finally found that this is a better place to ask... - To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Fwd: Netbeans Platform and Jigsaw
Hi there, We are planning to migrate from Java 8 and NB 12.4 to Java 17 and NB 19. I know it works as I run my IDE 19 with Java 17. Now there is Jigsaw I there some documentation how to compile Netbeans Platform applications with JDK 9+ and Maven? I am trying to understand how Jigsaw modules and the Netbeans modules (specifically the class loading) can work together (or not). The thing that I observed is that most (all?) JDK modules are added to the module path (so completely opened) in the netbeans.conf file. As I spent some time hacking around with NB platform, dependencies and Maven, I fear that I will get a lot of issues related to Jigsaw during this migration attempt. Any information? Thx in advance for any input PS: Yes I asked on the user list as well, but I finally found that this is a better place to ask...
Re: New warnings poping up when compiling NB Platform with Maven 3.9
On 26.09.23 11:58, Neil C Smith wrote: On Tue, 26 Sept 2023 at 10:44, Jean-Marc Borer wrote: We are upgrading from Maven 3.8 to 3.9 for our NB platform apps. I now have those new warnings poping up (we compile with java 8 source): They're probably not new, just hidden by default before! A bunch of default plugin versions (including the compiler plugin) changed from 3.8.x to 3.9.x. Can't find the upstream reference quickly, but see https://github.com/apache/netbeans/pull/5679 those warnings come from annotations / annotation processors: https://github.com/apache/netbeans/pull/5843 while annoying, they should be harmless (for now). Although it would be nice to get rid of them. -mbien Best wishes, Neil - To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists - To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: New warnings poping up when compiling NB Platform with Maven 3.9
Great. Thank you On Tue, Sep 26, 2023 at 9:59 AM Neil C Smith wrote: > On Tue, 26 Sept 2023 at 10:44, Jean-Marc Borer wrote: > > We are upgrading from Maven 3.8 to 3.9 for our NB platform apps. I now > have > > those new warnings poping up (we compile with java 8 source): > > They're probably not new, just hidden by default before! A bunch of > default plugin versions (including the compiler plugin) changed from > 3.8.x to 3.9.x. > > Can't find the upstream reference quickly, but see > https://github.com/apache/netbeans/pull/5679 > > Best wishes, > > Neil > > - > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org > For additional commands, e-mail: dev-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > >
Re: New warnings poping up when compiling NB Platform with Maven 3.9
On Tue, 26 Sept 2023 at 10:44, Jean-Marc Borer wrote: > We are upgrading from Maven 3.8 to 3.9 for our NB platform apps. I now have > those new warnings poping up (we compile with java 8 source): They're probably not new, just hidden by default before! A bunch of default plugin versions (including the compiler plugin) changed from 3.8.x to 3.9.x. Can't find the upstream reference quickly, but see https://github.com/apache/netbeans/pull/5679 Best wishes, Neil - To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: New warnings poping up when compiling NB Platform with Maven 3.9
To complement the question: --- compiler:3.11.0:compile (default-compile) @ message-client --- Changes detected - recompiling the module! :dependency Compiling 7 source files with javac [debug target 1.8] to target\classes Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.util.ServiceProviderProcessor' less than -source '1.8' Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.util.NamedServiceProcessor' less than -source '1.8' Supported source version 'RELEASE_6' from annotation processor 'org.netbeans.modules.openide.util.NbBundleProcessor' less than -source '1.8' ch/skyguide/nimbus/console/messageclient/MessageClientTopComponent.java:[40,1] Undocumented format parameter {0} ch/skyguide/nimbus/console/messageclient/MessageClientTopComponent.java:[40,1] Undocumented format parameter {1} The code: [image: image.png] On Tue, Sep 26, 2023 at 9:44 AM Jean-Marc Borer wrote: > Hi guys, > > We are upgrading from Maven 3.8 to 3.9 for our NB platform apps. I now > have those new warnings poping up (we compile with java 8 source): > > Changes detected - recompiling the module! :dependency > Compiling 7 source files with javac [debug target 1.8] to target\classes > Supported source version 'RELEASE_7' from annotation processor > 'org.netbeans.modules.openide.util.ServiceProviderProcessor' less than > -source '1.8' > Supported source version 'RELEASE_7' from annotation processor > 'org.netbeans.modules.openide.util.NamedServiceProcessor' less than -source > '1.8' > Supported source version 'RELEASE_6' from annotation processor > 'org.netbeans.modules.openide.util.NbBundleProcessor' less than -source > '1.8' > ch/skyguide/nimbus/console/messageclient/MessageClientTopComponent.java:[40,1] > Undocumented format parameter {0} > ch/skyguide/nimbus/console/messageclient/MessageClientTopComponent.java:[40,1] > Undocumented format parameter {1} > > I search for additional explanation, but I didn't find anything. Anyone an > idea what this means and how it can be fixed? > > I am asking here, because I fear it has something to do in NB, but I don't > know where yet. > > Thx in advance for you help. > > Cheers, > > JM >
New warnings poping up when compiling NB Platform with Maven 3.9
Hi guys, We are upgrading from Maven 3.8 to 3.9 for our NB platform apps. I now have those new warnings poping up (we compile with java 8 source): Changes detected - recompiling the module! :dependency Compiling 7 source files with javac [debug target 1.8] to target\classes Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.util.ServiceProviderProcessor' less than -source '1.8' Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.util.NamedServiceProcessor' less than -source '1.8' Supported source version 'RELEASE_6' from annotation processor 'org.netbeans.modules.openide.util.NbBundleProcessor' less than -source '1.8' ch/skyguide/nimbus/console/messageclient/MessageClientTopComponent.java:[40,1] Undocumented format parameter {0} ch/skyguide/nimbus/console/messageclient/MessageClientTopComponent.java:[40,1] Undocumented format parameter {1} I search for additional explanation, but I didn't find anything. Anyone an idea what this means and how it can be fixed? I am asking here, because I fear it has something to do in NB, but I don't know where yet. Thx in advance for you help. Cheers, JM