Reputation: 46
I would like to have an rcp application, that does not create any workspace
folder at startup.
My rcp
application does not require to save any plugin or user data persistently. For end user, the workspace creation seems to be an confusing and annoying side effect. How can I avoid this?
It seems to me that each rcp
application requires the plugin org.eclipse.core.resources
, whereas the class ResourcesPlugin
creates the workspace at startup.
I am aware of the -data <workspace_dir>
option in order to specify a different workspace location, but I would like to avoid workspace creation at all.
Thanks for advice!
Upvotes: 1
Views: 1144
Reputation: 9535
eclipse -data @none
@none
Indicates that the corresponding location should never be set either explicitly or to its default value. For example, an RCP style application which has no user data may use osgi.instance.area=@none to prevent extraneous files being written to disk. @none must not be followed by any additional path segments.
Upvotes: 10