|
Re: Infocenter customization and WAR files [message #474176 is a reply to message #474172] |
Tue, 12 August 2008 16:45 |
Eric Roberts Messages: 24 Registered: July 2009 |
Junior Member |
|
|
Basically, what you have to do is create another plugin that contains all of
your customization setttings, banner, welcome page, etc. The plugin.xml
might look something like this
<plugin id="com.foo.bar" version="1.0.0" name="Doc Customization"
provider="%plugin.provider">
<extension id="foobarDoc" point="org.eclipse.core.runtime.products">
<product name="%plugin.name"
application="org.eclipse.help.base.helpApplication"
description="%plugin.description">
<property name="windowImages"
value="images/eclipse.gif,images/eclipse32.gif"/>
<property name="preferenceCustomization"
value="plugin_customization.ini"/>
</product>
</extension>
</plugin>
You then set the eclipse.product property of
eclipse/configuration/config.ini (inside the war) to the product name of
that plugin (e.g. eclipse.product=com.foo.bar.foobarDoc). Then create a
file called plugin_customization.ini inside your customization plugin. This
file contains all of the customization configurations. See this link for a
list of customization:
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/ua_help_setup_preferences.htm
Hope this helps
Eric
"Thomas Proulx" <tproulx@tibco.com> wrote in message
news:61c823e7389520e4ada8e5a2d93565c0$1@www.eclipse.org...
> Hi,
>
> I have a help system that runs in a standalone infocenter. I customized
> the banner and help home page using plugin_customization.ini in the
> platform plug-in. This works fine.
>
> However, for security reasons, I have deployed the same help system in a
> WAR file where it runs in Apache Tomcat as is now possible in Ganymede
> (*great* feature, BTW). This works well, except that I have lost all the
> customizations. The infocenter runs with the stock Eclipse banner and help
> home. I've tried various solutions to no avail. Does anyone know how to
> make these customizations "stick"? Thanks in advance,
>
> -Tom
>
|
|
|
|
Re: Infocenter customization and WAR files [message #619320 is a reply to message #474172] |
Tue, 12 August 2008 16:45 |
Eric Roberts Messages: 24 Registered: July 2009 |
Junior Member |
|
|
Basically, what you have to do is create another plugin that contains all of
your customization setttings, banner, welcome page, etc. The plugin.xml
might look something like this
<plugin id="com.foo.bar" version="1.0.0" name="Doc Customization"
provider="%plugin.provider">
<extension id="foobarDoc" point="org.eclipse.core.runtime.products">
<product name="%plugin.name"
application="org.eclipse.help.base.helpApplication"
description="%plugin.description">
<property name="windowImages"
value="images/eclipse.gif,images/eclipse32.gif"/>
<property name="preferenceCustomization"
value="plugin_customization.ini"/>
</product>
</extension>
</plugin>
You then set the eclipse.product property of
eclipse/configuration/config.ini (inside the war) to the product name of
that plugin (e.g. eclipse.product=com.foo.bar.foobarDoc). Then create a
file called plugin_customization.ini inside your customization plugin. This
file contains all of the customization configurations. See this link for a
list of customization:
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/ua_help_setup_preferences.htm
Hope this helps
Eric
"Thomas Proulx" <tproulx@tibco.com> wrote in message
news:61c823e7389520e4ada8e5a2d93565c0$1@www.eclipse.org...
> Hi,
>
> I have a help system that runs in a standalone infocenter. I customized
> the banner and help home page using plugin_customization.ini in the
> platform plug-in. This works fine.
>
> However, for security reasons, I have deployed the same help system in a
> WAR file where it runs in Apache Tomcat as is now possible in Ganymede
> (*great* feature, BTW). This works well, except that I have lost all the
> customizations. The infocenter runs with the stock Eclipse banner and help
> home. I've tried various solutions to no avail. Does anyone know how to
> make these customizations "stick"? Thanks in advance,
>
> -Tom
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02684 seconds