Bug 208953 - [apidoc] Document how to disable system types by default via plugin_customization.ini
Summary: [apidoc] Document how to disable system types by default via plugin_customiza...
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 RC4   Edit
Assignee: David Dykstal CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on: 192208
Blocks:
  Show dependency tree
 
Reported: 2007-11-06 17:03 EST by Ankit Pasricha CLA
Modified: 2008-06-06 14:27 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ankit Pasricha CLA 2007-11-06 17:03:48 EST
RSE should provide the ability to dictate which connection types are enabled by default. This can be done in a number of ways. For example:

1) Extension point that allows me to specify what the "active" connection types are.

2) A setting in the config.ini so that I can set the default for my product.
Comment 1 Martin Oberhuber CLA 2007-11-07 03:35:23 EST
I think that RSE supports configuring the defaults for enabled system types already. These are stored as a Preference setting, and Preferences can be changed by the "plugin_customization.ini" file -- we do it in our own product already. For more details, see

http://dsdp.eclipse.org/help/latest/topic/org.eclipse.rse.doc.isv/reference/misc/runtime-options.html

http://dsdp.eclipse.org/help/latest/topic/org.eclipse.platform.doc.isv/guide/product_configproduct.htm

I think what's missing is documentation in the RSE ISV Docs what the actual Preference slots are. Dave can you add such documentation? I changed the Summary accordingly (old value was: "RSE should allow products to dictate which connection types are enabled by default.")

Related bugs are also bug 152580, bug 192208 and bug 197114.
Comment 2 Ankit Pasricha CLA 2008-02-12 16:06:07 EST
Do we have any more information (documentation or otherwise) on how to set the "active" systems in the plugin_customization.ini? 

What is the status of this bug?
Comment 3 Martin Oberhuber CLA 2008-02-12 16:47:39 EST
Here is the docs that we currently have, and where added docs should go:
http://dsdp.eclipse.org/help/latest/topic/org.eclipse.rse.doc.isv/reference/misc/runtime-options.html

After looking at the code in RSEPreferencesManager, I tried this:

* In my eclipse-SDK-3.4M5 installation, edit file
  eclipse\plugins\org.eclipse.sdk_3.4.0.v20080107\plugin_customization.ini

* Add following 3 lines at the end:
# Disable some system types for RSE
org.eclipse.rse.core/org.eclipse.rse.systemtype.unix.systemType.enabled = false
org.eclipse.rse.core/org.eclipse.rse.systemtype.telnet.systemType.enabled = false

* Start Eclipse on a clean workspace

--> System types UNIX and Telnet were disabled, as expected.
So in general, the key to use is the system type id + "systemType.enabled = false".

Hope this helps -- DaveD can you update the docs please?

Comment 4 David Dykstal CLA 2008-06-05 12:39:39 EDT
Assigning documentation bugs to RC4
Comment 5 David Dykstal CLA 2008-06-06 14:27:47 EDT
Section on this preference has been added to runtime-options.html.