35.6.5 Customizing Default Settings Using dvt.iniEclipse Platform supports setting the default preferences for every new workspace. This option is useful in many situations: The user wants to use the same preferences in every new workspace, and using the export/import is an overhead The DVT application administrator wants to put a set of default settings for company wide deployment.
The easiest way to customize the default settings is to set them in clean workspace and save them using the
Show Changed Preferences Dialog in the distribution's dvt.ini file.
The required steps to do this are: Open DVT in a new workspace Change the preferences Use the
Window > Show Changed Preferences dialog to identify the changed preferences
Add those in the dvt_eclipse/misc/dvt.ini file
Now every new workspace will have those preferences. 35.6.5.1 Show Changed Preferences DialogTo open the
Show Changed Preferences Dialog go to
Window > Show Changed Preferences
The dialog allows the user to inspect the modified preferences and save them in a file.
35.6.5.2 Changing the Default dvt.iniTo add new settings to the default settings provided with the distribution and to make them available by default for everyone who starts in a new workspace, the settings saved in the
Show Changed Preferences Dialog should be added in the
dvt_eclipse/misc/dvt.ini file.
The
dvt.ini file already contains some settings as distribution default. The user's settings should be appended to this file.
Some of the default settings already present in the
dvt.ini file are:
35.6.5.3 Using a User Customized dvt.iniAfter creating a preferences file the user can replace the distribution's
dvt.ini file to make them widely deployed or he or she can start DVT with a different file for default settings using the
dvt.sh script:
dvt.sh [any other argument] -eclipse_args -pluginCustomization <path_to_settings_file>
|