Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Infocenter customization and WAR files
Infocenter customization and WAR files [message #474172] Fri, 08 August 2008 16:01 Go to next message
T. Proulx is currently offline T. ProulxFriend
Messages: 8
Registered: July 2009
Junior Member
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 #474176 is a reply to message #474172] Tue, 12 August 2008 16:45 Go to previous messageGo to next message
Eric Roberts is currently offline Eric RobertsFriend
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 #474236 is a reply to message #474176] Fri, 15 August 2008 13:13 Go to previous message
Eclipse UserFriend
Originally posted by: proulx.tibco.com

Eric,

I tried this and what you suggested worked. Thanks for you help.

-Tom
Re: Infocenter customization and WAR files [message #619320 is a reply to message #474172] Tue, 12 August 2008 16:45 Go to previous message
Eric Roberts is currently offline Eric RobertsFriend
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 #619390 is a reply to message #474176] Fri, 15 August 2008 13:13 Go to previous message
Eclipse UserFriend
Originally posted by: proulx.tibco.com

Eric,

I tried this and what you suggested worked. Thanks for you help.

-Tom
Previous Topic:Re: Regarding Extending the Universal Intro
Next Topic:Infocenter as war file - dynamic plugin update
Goto Forum:
  


Current Time: Fri Apr 26 21:18:20 GMT 2024

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

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

Back to the top