NetBeans UC and SunStudio

Sun Studio 12 includes an update Center (Sun Studio Update Center) where SunStudio team places new modules and updates to existing modules that are specific to and tested with Sun Studio 12.

It is possible to download and install modules from the NetBeans 5.5.1 update center in to a Sun Studio 12 installation and the following blog entry details how this can be done. Please note that the modules have not been specifically tested with Studio itself and though , in theory, any NetBeans 5.5.1 module should work with Sun Studio 12, there may be cases where the modules are not compatible and may lead to issues. In such cases, the offending modules will need to be uninstalled.

  •  Open 'Tools | Options | Advanced Options'
  • Expand 'IDE Configuration | System' and select 'AutoUpdate types'.
  • Right-click, select 'New | Generic Update Center' , enter 'NetBeans 5.5.1 update center' and click finish.
  • Select the newly created 'NetBeans 5.5.1 update center'
  • Enter 'http://www.netbeans.org/updates/551_1.21_.xml' as the value for 'Server URL' property and press Enter.
  • Close the dialog.
  • Select 'Tools | Update Center' ; Make sure NetBeans center is checked and click Next.
  • Select the modules of interest. For example select 'SubVersion' leaf from 'Features' node under 'NetBeans 5.5.1 update Center' node and click on 'Add' button. The module and any other module it depends on will be listed in the 'Include in install' panel.
  • Click 'Next' and accept the licenses. Click Next.
  • In the final panel:
    • You can check the 'Global' checkbox to install the module globally (i.e in the installation directory). This will make the module available for all users. But before doing so, ensure that the current user running the ide has write-rights to the installation directory. Otherwise the global install will fail.
    • Leave the 'Global' checkboxes unchecked to install the modules only for the current user. This is the default choice and installs the modules in the userdirectory instead of in install directory. (You can get the userdir info from Help | About).

Notes:

  • The above is the preferred method. You can also run the NetBeans ide directly but it will have its own user directory. And therefore such updates will not show up when Sun Studio 12 is run. In general, it is not a good idea to run the NetBeans bundled with Sun Studio 12 by itself. For more info, refer to the article directories_in_sun_studio_12.
  • Though the above talks about Sun Studio 12, the concept is applicable to all Sun Studio versions built on top of NetBeans.
    •  But make sure that you use only those update centers specific to the NetBeans version on which the Sun Studio version is built. For instance, in the above method you can see that NetBeans 5.5.1 update center is added to Sun Studio 12. This is because Sun Studio 12 is built on top of NetBeans 5.5.1. It is possible but not at all recommended to add other NetBeans versions' update centers to Sun Studio 12. Modules meant for NetBeans 6.0 or NetBeans 5.0 are not guaranteed to (and in most cases will not) work correctly with NetBeans 5.5.1 (and hence with SunStudio 12).
    • How to find the URL for NetBeans update centers specific to a given version of Sun Studio and NetBeans? The best method is to run the NetBeans bundled with Sun Studio, note down the available centers and URLs from ''Tools | Options | Advanced Options| IDE Configuration | System | AutoUpdate types'. Close NetBeans, run Sun Studio and add any center/url you are interested in.
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

A blog for NetBeans users maintained by NetBeans Support team. For professional support, please check out Support Resources.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today