Product Version: NetBeans IDE 6.8 M2 (Build 200910071658)
Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01
System: Linux version 2.6.28-15-generic running on i386; UTF-8; en_US (nb)
-start IDE (it has enabled the ergonomics module)
-create Anagram game sample project
-insert a few profiling points into the project
-close the IDE
-delete the userdir
-start IDE again
-open the previously created Anagram game project
-open the 'profiling points' window - the profiling points of the project are correctly listed
-invoke 'profile main project'
-in the profiler dialog select 'CPU' configuration
-select 'use profiling points' checkbox
-click on 'show active profiling points' link
There are no profiling points listed, although there are listed in the 'profiling points' window. They are ignored
during profiling as well.
With disabled ergonomics everything works fine. Seems that it has something to do with java se activation.
Created attachment 89183 [details]
Created attachment 89184 [details]
Please review the code and don't be scared too much by it.
Integrated into 'main-golden', will be available in build *200910290252* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jaroslav Tulach <email@example.com>
Log: #174224: Comparing projects based on their directory.
There is a better method for those who deal with identity of opened projects: OpenProjects.isProjectOpen, but I am not sure how to use it in this class, it seems to keep its own list of "opened projects".