|
|
|
Re: How to set Workspce as default Oopmh Preference Recorder location from product catalog [message #1782487 is a reply to message #1782457] |
Sat, 24 February 2018 08:11 |
|
Sorry, I forgot that the simple mode of the installer only installs products and no (Oomph) projects. Hence it has no WorkspaceTaskand, hence, no "workspace" variable. With the following modification it works in simple installer, too:
<?xml version="1.0" encoding="UTF-8"?>
<setup:PreferenceTask
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
key="/instance/org.eclipse.oomph.setup.ui/preference.recorder.target"
value="${osgi.instance.area}.metadata/.plugins/org.eclipse.oomph.setup/workspace.setup#/"/>
Note that the "|uri" filter must be omitted!
You can put that task in your catalog if you want to force all your products to execute it. Otherwise put it in selected products or product versions. There's no need to wrap it in a CompoundTask.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03649 seconds