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.
openning up enterprise project for the first time, does not open required projects when ee modules get enabled for the first time. Has to close and open the ee project for the second time.
You can right click on the project and choose "Open Required Projects", I guess.
I am also seeing this (on a fresh install of 200904051400, with fresh userdir); I would also note that the project icon in the requestor isn't correct until after the project has been opened the first time. See attached screenshots; "phoenix" is an enterprise app (should have triangle icon); "slm3-gf" is a standard web app (no EJBs, should have globe icon). After first open, everything works OK.
Created attachment 79628 [details] project requestor on first open (after clean install)
Created attachment 79629 [details] project requestor on subsequent opens
to gholmer: The behaviour with icons is correct. Until you activate Java EE functionality, the NetBeans only know that this is a project, but not what is its type.
Should not the EE functionality be enabled before it loads the EE project? Feels like a bug...
I think this needs to be a p3... I did the following steps... started a fresh recent pull with a new userdir attempted to open an enterprise application the subproject list was not populated so I canceled the open. I enabled the Java plugin (which also enabled the Ant plugin) I attempted to open the same ent app the subproject list was not populated so I canceled the open. The ant project system should have been 'complete' at this point. I think the IDE should have been able to detect that the ent app had a dependency on two other projects and populated the Subproject list without having the Java EE features enabled. Please reconsider this as a p3.
Do following steps: started a fresh recent pull with a new userdir attempted to open an enterprise application open it. right click on project and choose "Open Required Projects"
I just installed 200904171401, and couldn't open an enterprise app at all. 1) download "Java" version (second from left on download page) 2) begin install to fresh userdir and install dir, deselect Java ME and GlassFishes (Tomcat also deselected) 3) import userdir settings from 6.5 on first run 4) open project, enterprise app appears with plain folder icon which just expands to subdirectory If I deselect Features on Demand at install time, I can open the enterprise app normally.
This sounds like a P2 to me, not P4.
It would be even P1 if I could reproduce the problem. But I cannot. I installed trunk/daily/2009-04-17_14-01-10/bundles/netbeans-trunk-nightly-200904171401-java-linux.sh and nothing existing J2EE projects open up normally. gholmes please provide more information. It would be good to have your messages.log file. Preferably with -J-Dorg.netbeans.modules.ide.ergonomics.level=FINEST logging enabled. Another important thing is my ability to reproduce your problem on my computer. For that I need relatively detailed steps for reproduction. Saying "import userdir settings from 6.5 on first run" is not going to help me, as I am sure that my 6.5 userdir is quite different to yours. Maybe the log file will be enough, but if not, I really need as simple reproducible steps as possible. Thanks.
You need a computer that does not have NetBeans installed to reproduce this issue ...
With 0421 build, it worked fine (with FoD enabled). With 0422 build and clean userdir, it works fine. With 0422 build and imported userdir, NetBeans hangs at "Activating EJB and EAR" (I waited about ten minutes). See attachments.
Created attachment 80700 [details] messages.log with -J-Dorg.netbeans.modules.ide.ergonomics.level=FINEST
Created attachment 80701 [details] thread dump created with jvisualvm
With 0422 and Features on Demand disabled at install time, also no problem. I have also heap dump and tarball of my 6.5 userdir, but they are apparently too large to upload (40M, 14M).
The last thread dump http://www.netbeans.org/nonav/issues/showattachment.cgi/80701/netbeans-0422.tdump is duplicate of issue 163378 *** This issue has been marked as a duplicate of 163378 ***