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.
Summary: | Java EE features not activated after opening Maven Java EE project | ||
---|---|---|---|
Product: | javaee | Reporter: | Petr Jiricka <pjiricka> |
Component: | Maven | Assignee: | David Konecny <dkonecny> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | dkonecny, jglick, jtulach |
Priority: | P3 | Keywords: | ERGONOMICS |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Petr Jiricka
2010-03-30 14:12:28 UTC
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. |