Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » plugin.xml properties
plugin.xml properties [message #316644] Thu, 14 June 2007 08:54 Go to next message
Eclipse UserFriend
I need to add a properties tag to the following plugin.xml. I could find
"general" instructions, but they don't seem to work on this case, because
neither <extension> nor <toc> accept <properties>. Suggestions?

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension point="org.eclipse.help.toc">
<toc file="myToc.xml" primary="true" />
</extension>>
</plugin>

The specific property I am trying to set is:

<property name="preferenceCustomization" value="plugin_customization.ini"/>

where I want to set org.eclipse.help/baseTOCS. This way when we roll out
Eclipse in our company, our internal help "book" will be at the top of the
list.

Thanks,

Bruno
Re: plugin.xml properties [message #316652 is a reply to message #316644] Thu, 14 June 2007 09:31 Go to previous messageGo to next message
Eclipse UserFriend
Bruno wrote:
>
> The specific property I am trying to set is:
>
> <property name="preferenceCustomization" value="plugin_customization.ini"/>
>

That goes in the "product" definition. If you are defining your own
product, you get to put that line product defined in
org.eclipse.core.runtime.products extension point.

If you are deploying the eclipse SDK with your tooling plugins, it's a
little harder since org.eclipse.sdk already contributs a
plugin_customization.ini file.

You can either modify the org.eclipse.sdk plugin_customization.ini in
everybodies install, or modify everybodies eclipse.ini to include the
command line option:
-pluginCustomization
local_plugin_customization.ini

Later,
PW
Re: plugin.xml properties [message #316672 is a reply to message #316652] Thu, 14 June 2007 10:46 Go to previous message
Eclipse UserFriend
Yes, I saw it in the <product> definition. The problem is that being a
pure help plugin, there is no product. Or rather, the product probably is
org.eclipse.help, and I'm of course trying not to mess with it.

My original solution was similar to what you describe, and it worked like
a charm - I changed the preferences.ini of org.eclipse.help. But the
problem with this approach is that by modifying a standard package, it
becomes vulnerable to being "undone" the next org.eclipse.help patch
received via the update site.

I am getting the impression that the problem is that Eclipse does not
support "pure help" plugins all that well.

Would the correct next step be to submit an enhancement request... to make
<toc> or <extension> accept a nested <properties> tags?
Previous Topic:Strange messagedialog sizes
Next Topic:WorkingSets and the Team Sync API
Goto Forum:
  


Current Time: Thu May 29 18:07:20 EDT 2025

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

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

Back to the top