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.
1. Create a Java EE Maven application. This will generate a wrapper project containing three subprojects - WAR, EJB and EAR. 2. Shut down the IDE and restart with a fresh userdir 3. Open the project created in step 1. Java SE features will be activated and the project will be opened. 4. Expand the submodules of this project and open one of the modules => Project will be badged with a yellow triangle notifying that Java EE features are missing. They have not been enabled in time.
1. Re. #1 - I see just Maven/Maven Enterprise Application 2. This is not bug in ergonomics, but in maven. It needs to adjust itself to the list of enabled modules. Btw. we had almost identical bug in 6.7, it is resolved as fixed. 3. In step #4 I opened war project and the icon was yellow for a while, but then the yellow badge disappeared - e.g. works for me.
> 1. Re. #1 - I see just Maven/Maven Enterprise Application Yes, sorry for not being precise. > 2. This is not bug in ergonomics, but in maven. It needs to adjust itself to > the list of enabled modules. Can you advise what exactly needs to be done? Surely we can make changes on the Maven side. I originally filed this against Ergonomics, because without the ergonomics cluster, this does not happen. > icon was yellow for a while, but then the yellow badge disappeared Same for me, but it is still a bug. There should be no yellow badge at all. The fact that it disappeared makes this a P3 bug. If it did not disappear, then this would be a P2.
Jarda, as far as I can tell this is an ergonomics issue.
This is not about ergonomics at all! It is about some yellow icon drawn by maven. If you want help, try to ask Jesse. I remember few issues in 6.7 release related to maven project not listening to changes in installed modules properly. As far as I know all these bugs were fixed. The fact that the yellow icon disappears is probably sign of proper functinality too.
org.netbeans.modules.maven.problems.ProblemReporterImpl removes the warning once maven.j2ee becomes enabled. I don't know if it is possible to control the timing; ergonomics loads the java cluster (and, oddly, apisupport too!) when the <packaging>pom</> project is opened, and loads the enterprise cluster when the <packaging>war</> project is opened. In my test the badge disappeared in a moment or two (once the module enablement event was fired) so I don't consider this a real problem.