Bug 798117 - Visualvm does not have correct directory structure to be supported in NetBeans
Summary: Visualvm does not have correct directory structure to be supported in NetBeans
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: visualvm
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: jiri vanek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-28 05:22 UTC by James Livingston
Modified: 2016-02-22 00:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-25 09:17:54 UTC
Type: ---


Attachments (Terms of Use)

Description James Livingston 2012-02-28 05:22:59 UTC
The visualvm package uses the "visualvm" and "profiler" directories under /usr/lib64/visualvm/ to store it's files, and depends on the netbeans-platform to provide the underlying platform (/usr/share/netbeans/platform12)

While that works for running visualvm, it means that NetBeans can't detect it correctly to add support as a new Platform for developing against, for example if you want to write a VisualVM plugin.


It doesn't detect it correctly because there is not platform installation in /usr/lib64/visualvm/. This can easily be fixed by adding a symlink for /usr/share/netbeans/platform12 as /usr/lib64/visualvm/platform, which fixes the problem for me.


To test, run Netbeans and use Tools->NetBeans Platforms, click Add Platform and navigate to /usr/lib64/visualvm. Netbeans should automatically populate the platform name with VisualVM 1.3.2 (or whatever version you have).


Note You need to log in before you can comment on or make changes to this bug.