WST Server Runtime Preference setup in product setup [message #1764461] |
Tue, 30 May 2017 03:58  |
Eclipse User |
|
|
|
I'm trying to setup WST Server Runtime Preference as part of a product setup (not project setup). But it doesn't work.
In [1] it says how to do this as part of the project setup. Does it have to be that and can't be part of product setup?
What I have in my product setup is this:
<setupTask
xsi:type="setup:PreferenceTask"
key="/instance/com.ibm.etools.aries.websphere.core.targets/WebSphere Application Server traditional V8.5"
value="local:1495802359916.target;C:/Data/IBM/WebSphere/AppServer_V8_5"/>
<setupTask
xsi:type="setup:PreferenceTask"
key="/instance/org.eclipse.wst.server.core/runtimes"
value="<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<runtimes>
 <runtime id="Web Preview Server Runtime" id-set="true" location="C:/Data/workspace-was855/.metadata/.plugins/com.ibm.etools.wdt.server.core/tmp0" name="Web Preview Server Runtime" runtime-type-id="com.ibm.etools.wdt.server.runtime.10" timestamp="0"/>
 <runtime current_SDK_Id="1.7.1_64" id="WebSphere Application Server traditional V8.5" location="C:/Data/IBM/WebSphere/AppServer_V8_5" name="WebSphere Application Server traditional V8.5" runtime-type-id="com.ibm.ws.ast.st.runtime.v85" timestamp="0"/>
</runtimes>
"/>
The strange thing is that in the Eclipse Updater output I only see one of these two being applied:
Quote:
Performing Preference /instance/com.ibm.etools.aries.websphere.core.targets/WebSphere Application Server traditional V8.5 = local:1495802359916.target;C:/Data/IBM/WebSphere/AppServer_V8_5
So, should this work in the product setup and if so, any idea what could be the problem?
I'm using oomph 1.7.0.
[1] https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Setting_up_WST_Server_Runtime_and_Instances_in_your_Project_Setup
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.94291 seconds