Bug 407822 - [Tools] Consider to remove "Instance Area" setting from Main tab
Summary: [Tools] Consider to remove "Instance Area" setting from Main tab
Status: NEW
Alias: None
Product: RAP
Classification: RT
Component: Tools (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-12 12:28 EDT by Ralf Sternberg CLA
Modified: 2013-05-12 12:28 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 Ralf Sternberg CLA 2013-05-12 12:28:22 EDT
The "Main" tab of the RAP Launcher has an option to configure the "instance area" (a.k.a. "data location" or "workspace") for the launched platform. It does so by adding the -data switch.

Since the workspace is only relevant for workbench applications, this setting seems to be too specific for a general RAP launcher. For most users it doesn't matter where the data location is created on disk. However, if the -data parameter is omitted, Equinox will chose $HOME/workspace as a default. This might be problematic because all launch configurations will share the same workspace.

I'd suggest to remove the setting from the UI, and set the data location to a directory inside the configuration area. The configuration area can be customized on the "Settings" tab, it defaults to ${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/<LaunchConfigName>, i.e. it is unique to the launch configuration. By clearing the configuration area, one would also clear the workspace.

If a custom directory is set using the -data switch on the arguments tab, this setting would have to be respected.