Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » preferenceCustomization doesn't work
icon5.gif  preferenceCustomization doesn't work [message #1403584] Thu, 24 July 2014 13:52 Go to next message
Leon Yuan is currently offline Leon YuanFriend
Messages: 5
Registered: March 2014
Junior Member
Hi all,
I created a plug-in in eclipse4.4, and add a "preferenceCustomization" under the product, like:
         <property
               name="preferenceCustomization"
               value="plugin_customization.ini">
         </property>

The plugin_customization.ini file looks like:
org.eclipse.ui/defaultPerspectiveId=my.perspective
org.eclipse.ui/SHOW_TEXT_ON_PERSPECTIVE_BAR=false

Then I move my plug-in jar file to eclipse/plugins and in eclipse.ini, I added:
-product
my.productname

Finally I launch eclipse, but all the settings did not take effect...but if I remove the changes in eclipse.ini, and change the plugin_customization.ini in plugins/org.eclipse.platform, those settings will work well. Someone can help?
  • Attachment: bad.jpg
    (Size: 26.76KB, Downloaded 304 times)

[Updated on: Thu, 24 July 2014 14:16]

Report message to a moderator

Re: preferenceCustomization doesn't work [message #1403598 is a reply to message #1403584] Thu, 24 July 2014 14:18 Go to previous message
Leon Yuan is currently offline Leon YuanFriend
Messages: 5
Registered: March 2014
Junior Member
I found the reason! when I built the jar file by Ant, the plugin_customization.ini file didn't take into account...
Now all the settings work well, but a new problem appear! all the customized toolbar buttons stay in a wrong position, plz see the pic.
https://www.eclipse.org/forums/index.php/fa/18626/

any feedback will be appreciated!

[Updated on: Thu, 24 July 2014 14:20]

Report message to a moderator

Previous Topic:IResource.getPersistentProperties() returns empty
Next Topic:org.eclipse.osgi: More required bundles added than defined in manifest
Goto Forum:
  


Current Time: Fri Apr 19 11:23:53 GMT 2024

Powered by FUDForum. Page generated in 0.02441 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top