I am using RAD ant task workspacePreferenceSet to do a headless build. I need to use workspacePreferenceSet to set preference automatically. workspacePreferenceSet has a parameter preferenceName, I think it is the preference id for a preference item. But I have no idea how to find out the correct preference name for a preference item.
Does anyone have experience for this issue?
Notice: We have upgraded developerWorks Community to the latest version of IBM Connections. For more information, read our upgrade FAQ.
Pinned topic RAD ant task workspacePreferenceSet: how to get all preference name
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-01-09T02:18:10Z at 2013-01-09T02:18:10Z by HuangJiYong
mattia 2700029NU838 Posts
Re: RAD ant task workspacePreferenceSet: how to get all preference name2013-01-07T13:16:56ZThis is the accepted answer. This is the accepted answer.Hi
You can open up your Rational Application Developer workbench on your workspace and try File > Export > General > Preferences. This will allow you to export the Eclipse preferences from your workspace on an Eclipse .EPF archive.
You can inspect this file to find out preferences' names, their IDs and values for your workspace and then use those in the WorkspacePreferencesSet Ant task.
In general preferences reflect the setting's in your IDE's Window > Preferences control window.