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 101747 - Remove Profile Project item from popup menu of unsupported project types
Summary: Remove Profile Project item from popup menu of unsupported project types
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
: 102702 105883 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-19 12:13 UTC by Petr Blaha
Modified: 2007-06-12 14:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2007-04-19 12:13:52 UTC
In the Ruby on Rails project's pop-up menu is Profile Project item. However,
this action doesn't work and I guess that we will not support profiling Ruby
apps in NB 6.0. We can disable this item for Ruby and RoR projects.
Comment 1 Torbjorn Norbye 2007-04-20 00:06:21 UTC
I'm not sure how the Ruby projects end up with "Profile Project" in their menus. I tried to look at the 
projects/ modules to see if there is something there which registers this action by default. I then tried 
looking in the "profiler" CVS module, but there's no .java source files there.

I'm reassigning to the profiler category in case somebody there can tell me what needs to be done if 
anything on the ruby side. I don't think "Profile Project" should be added by default to all projects, I think it 
should be added to Java projects only via the java/project/ support.
Comment 2 Jiri Sedlacek 2007-04-23 13:36:18 UTC
In Profiler XML Layer is this definition causing all projects having Profile 
Project in their popup:

 <folder name="Projects">
  <folder name="Actions">
   <file name="ProfileProjectActionPopup.instance">
    <attr name="instanceCreate" methodvalue="AntActions.profileProjectPopup"/>
   </file>
  </folder>
 </folder>

Does anybody know how to add it there only for Java projects?
Comment 3 Jiri Sedlacek 2007-06-08 10:12:10 UTC
*** Issue 105883 has been marked as a duplicate of this issue. ***
Comment 4 J Bachorik 2007-06-12 14:17:22 UTC
*** Issue 102702 has been marked as a duplicate of this issue. ***
Comment 5 J Bachorik 2007-06-12 14:18:31 UTC
this was caused by executing the actions enabling code outside of the AWT thread
this is fixed together with the issue #100329