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.

Bug 159159 - Ergonomics Not Working For NetBeans Module projects
Summary: Ergonomics Not Working For NetBeans Module projects
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P4 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-25 16:35 UTC by adam_myatt
Modified: 2009-06-21 13:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NB6.7M2 log file (297.77 KB, text/plain)
2009-03-12 01:32 UTC, adam_myatt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description adam_myatt 2009-02-25 16:35:33 UTC
Using a fresh install of NB6.7M2, I open the IDE and go the Plugins window. 'NetBeans Plugin Development' is marked 
deactivated with red X. A exit Plugins window and go to File > New Project. I select NetBeans Modules > Module and 
click next button. I though at this point the ergonomics feature would state the feature needs to be activated? It does 
not and I can continue to create and use module projects with no problems. After generating and using the module I go 
back to Plugins window and 'NetBeans Plugin Development' is still deactivated. Maybe this is intended, but it doesn't 
seem right.

  Product Version         = NetBeans IDE Dev (Build 200902231810)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_12; Java HotSpot(TM) Client VM 11.2-b01; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_12-b04
  Java Home               = D:\java\1.6.0.12\jre
  System Locale; Encoding = en_US (nb); Cp1252
Comment 1 Jaroslav Tulach 2009-03-09 16:38:01 UTC
I need more info. Run with -J-Dorg.netbeans.modules.ide.ergonomics.level=100 and attach $userdir/var/log/messages.log
Thanks.
Comment 2 adam_myatt 2009-03-12 01:29:53 UTC
I deleted my ~userdir/.netbeans/6.7m2 directory so I could start fresh. I added -J-
Dorg.netbeans.modules.ide.ergonomics.level=100 to startup. When NB opened, I closed the start page. 

In the attached log file, this series of actions ended at line 647.

Then I went to File > New Project. I select NetBeans Modules > Module and clicked next button. I thought at this point 
the ergonomics feature would state the feature needs to be activated. However I clicked through creating a Module 
project named 'MySampleModule'. After the project opens and everything finishes scanning, I go to the Plugins window 
and 'NetBeans Plugin Development' is still deactivated and marked with red X.
Comment 3 adam_myatt 2009-03-12 01:32:28 UTC
Created attachment 78095 [details]
NB6.7M2 log file
Comment 4 Jaroslav Tulach 2009-03-12 09:06:28 UTC
For some reason the org.netbeans.modules.apisupport.kit is not enabled:

FINE [org.netbeans.modules.ide.ergonomics.fod]: apisupport enabled 4 disabled 3
FINEST [org.netbeans.modules.ide.ergonomics.fod]: - org.netbeans.modules.apisupport.feedreader
FINEST [org.netbeans.modules.ide.ergonomics.fod]: - org.netbeans.modules.apisupport.kit
FINEST [org.netbeans.modules.ide.ergonomics.fod]: - org.netbeans.modules.apisupport.paintapp
FINEST [org.netbeans.modules.ide.ergonomics.fod]: + org.netbeans.modules.apisupport.ant
FINEST [org.netbeans.modules.ide.ergonomics.fod]: + org.netbeans.modules.apisupport.project
FINEST [org.netbeans.modules.ide.ergonomics.fod]: + org.netbeans.modules.apisupport.refactoring
FINEST [org.netbeans.modules.ide.ergonomics.fod]: + org.netbeans.modules.maven.apisupport
Comment 5 Jaroslav Tulach 2009-03-27 16:05:54 UTC
After opening one project from a dvbcentral.sf.net suite the whole API support is really enabled:

FINE [org.netbeans.modules.ide.ergonomics.fod]: apisupport enabled

I guess this issue is fixed.