Re: Netbeans migration 8.2 => 11, annotation processor uncaught exceptions

2019-07-18 Thread Geertjan Wielenga
Yes, great -- and everything you learn in this migration process, please make notes, and then we can put a document together based on your findings. That will help the next person/team going through this process. Gj On Thu, Jul 18, 2019 at 11:09 PM Jerome Lelasseux wrote: > I have not found the

Re: Netbeans migration 8.2 => 11, annotation processor uncaught exceptions

2019-07-18 Thread Jerome Lelasseux
I have not found the origin of the problem but I found a workaround: I did a clean reinstall of NB11 and this time I did not let NB11 "import settings from NB8.2", and everything compiled OK ! Le jeudi 18 juillet 2019 à 21:35:18 UTC+2, Geertjan Wielenga a écrit : OK, I'd suggest sin

RE: [platform] Migration guide to Apache NetBeans?

2019-07-18 Thread Eric Barboni
Hi Konrad, I try to build your app and to also run it. On jdk 8 at runtime its ok. On jdk 12 at runtime it complains on missing jaxb class. Maybe some part of the nb-repository-plugin or nbm-plugin should be changed. Regards Eric De : Rokicki, Konrad Envoyé : mercredi

Re: Netbeans migration 8.2 => 11, annotation processor uncaught exceptions

2019-07-18 Thread Geertjan Wielenga
OK, I'd suggest since you're seeing that, to see if making that change will fix this problem. You're going to encounter a lot of things you need to change, small and large, between 8.2 and 11.0, so this is a small step in that direction, please be prepared for more. Gj On Thu, Jul 18, 2019 at 9:

Re: Netbeans migration 8.2 => 11, annotation processor uncaught exceptions

2019-07-18 Thread Jerome Lelasseux
I don't think the message is clear, it does not even mention the file name where problem occured... And I had checked the doc, the enabledOn parameter is only for context aware actions, here my action is a simple always-enabled action. Le jeudi 18 juillet 2019 à 21:06:05 UTC+2, Geertjan W

Re: [platform] Migration guide to Apache NetBeans?

2019-07-18 Thread Geertjan Wielenga
I don't think there could be a generic migration guide that covers everything, but it would be best to start by looking at what's new in terms of APIs in each release since 8.2: https://bits.netbeans.org/9.0/javadoc/apichanges.html https://bits.netbeans.org/10.0/javadoc/apichanges.html https://bit

Re: Netbeans migration 8.2 => 11, annotation processor uncaught exceptions

2019-07-18 Thread Geertjan Wielenga
The message is clear: java.lang.annotation.IncompleteAnnotationException: org.openide.awt.ActionRegistration missing element enabledOn See: http://bits.netbeans.org/dev/javadoc/org-openide-awt/org/openide/awt/ActionRegistration.html#enabledOn-- It sounds like you need to add that attribute to t

Netbeans migration 8.2 => 11, annotation processor uncaught exceptions

2019-07-18 Thread Jerome Lelasseux
So I tried recompiling my RCP application with Netbeans 11 (Win10, Oracle JDK 8). I get these annotation exceptions for all registered actions: An annotation processor threw an uncaught exception.Consult the following stack trace for details.java.lang.annotation.IncompleteAnnotationException:

Re : Re: Netbeans 8.2 became too slow

2019-07-18 Thread Jerome Lelasseux
Ok i will try. Envoyé depuis Yahoo Mail pour iPhone Le jeudi, juillet 18, 2019, 3:45 PM, Geertjan Wielenga a écrit : Stop using 8.2 and use the latest Apache NetBeans instead, see netbeans.apache.org. Gj On Thu, Jul 18, 2019 at 3:37 PM Jerome Lelasseux wrote: Hello, Sometimes Netbeans ta

Re: Error message during creation of an Entreprise Application with Maven

2019-07-18 Thread Geertjan Wielenga
Added it to the umbrella clean up issue as a sub task: https://issues.apache.org/jira/browse/NETBEANS-2716 Gj On Thu, Jul 18, 2019 at 4:01 PM Josh Juneau wrote: > Thanks Richard and Geertjan. It probably makes sense to remove this > functionality since this application style is not very releva

Re: Error message during creation of an Entreprise Application with Maven

2019-07-18 Thread Josh Juneau
Thanks Richard and Geertjan. It probably makes sense to remove this functionality since this application style is not very relevant nowadays. With respect to the error, it looks like the Maven archetype for that particular project type must be missing from Maven central. Josh Juneau http://

Re: property 'do.jlink.internal' not set

2019-07-18 Thread Emma Atkinson
SOLVED I have solved the problem. There may be a minor bug to be addressed depending on one's view about reducing the likelihood of users making avoidable mistakes.. If one create a non-modular application the Netbeans Ant scripts skip generating the jlink image. This makes sense as jlink image

Re: Netbeans 8.2 became too slow

2019-07-18 Thread Geertjan Wielenga
Stop using 8.2 and use the latest Apache NetBeans instead, see netbeans.apache.org. Gj On Thu, Jul 18, 2019 at 3:37 PM Jerome Lelasseux wrote: > Hello, > > Sometimes Netbeans takes forever at startup (more than 5 min of splash > screen, usually it's about 10-20sec) and I don't understand why. D

Netbeans 8.2 became too slow

2019-07-18 Thread Jerome Lelasseux
Hello, Sometimes Netbeans takes forever at startup (more than 5 min of splash screen, usually it's about 10-20sec) and I don't understand why. During general use (compilation etc) it also became much slower than it used to be. I have not done changes to my PC which could explain this, other apps

Re: Error message during creation of an Entreprise Application with Maven

2019-07-18 Thread Geertjan Wielenga
Yes, that goes without saying. An issue is needed and then we can take a look, probably we need to examine whether Enterprise Applications still make sense in the Java/Jakarta EE space. Gj On Thu, Jul 18, 2019 at 1:33 PM Richard Grin wrote: > Yes Geertjan, perhaps, but, if it is a bug, it would

Re: Error message during creation of an Entreprise Application with Maven

2019-07-18 Thread Richard Grin
Yes Geertjan, perhaps, but, if it is a bug, it would be better to try to repair it, or to remove the functionality if it is no longer useful. Richard Envoyé depuis mon smartphone Samsung Galaxy. Message d'origine De : Geertjan Wielenga Date : 18/07/2019 13:05 (GMT+01:00) À

Re: Error message during creation of an Entreprise Application with Maven

2019-07-18 Thread Geertjan Wielenga
Probably better to create standard Web Applications in Maven nowadays, rather than Enterprise Applications. Gj On Thu, Jul 18, 2019 at 12:20 PM Richard Grin < richard.g...@univ-cotedazur.fr> wrote: > Hi, > > I have just tested NetBeans 11.1 beta 4. > > Payara 5.192 installed. > > In the properti

property 'do.jlink.internal' not set

2019-07-18 Thread Emma Atkinson
Hello I do not know if this is a bug. I have checked JIRA and nothing appeared to me. I am using Product Version: Apache NetBeans IDE 11.0 (Build incubator-netbeans-release-404-on-20190319) on JDK-11. Create New Project Select "Java with Ant Select "Java Application" Accept all defaults and tick

Error message during creation of an Entreprise Application with Maven

2019-07-18 Thread Richard Grin
Hi, I have just tested NetBeans 11.1 beta 4. Payara 5.192 installed. In the properties of the project : * Source/Binary Format: 1.8. * Build > Compile JDK 10 (Default). Creation of a Java EE 8 Entreprise Application. The attached window is displayed and I click on "Finish". An error