DVT e Language IDE User Guide
Rev. 24.1.5, 13 March 2024

34.6.4 Importing Preferences From a Different Workspace

Workspace Settings can be migrated between workspaces using different methods

  • Using Import/Export Wizard

  • Using dvt.sh Script

  • Manually

34.6.4.1 Using Import/Export Wizard

The recommended way to migrate workspace settings is through the Preferences Import/Export Wizard.

To export the settings, start DVT in the workspace containing the settings, go to File > Export > General > Preferences, select Export All and choose the name of the file.

To import the preferences, start DVT in the new workspace, go to File > Import > General > Preferences, select Import All and choose the name of the file.

34.6.4.2 Using dvt.sh Script

Another way to import the settings from an old workspace into a new one is to use the dvt.sh script to start DVT.

Argument Description
workspace <dir>Path to the workspace directory.
import_workspace_settings <dir>Path to the workspace from where the settings will be imported.
force_import_workspace_settings <dir>Same as -import_workspace_settings, but it will overwrite target workspace settings.

34.6.4.3 Manually

To import workspace settings from an old workspace to a new one can be done just by copying the settings directory

mkdir -p <new_workspace>/.metadata/.plugins/org.eclipse.core.runtime/
cp -r <old_workspace>/.metadata/.plugins/org.eclipse.core.runtime/.settings/ <new_workspace>/.metadata/.plugins/org.eclipse.core.runtime/