Skip to main content



      Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Product Name on window/tab
Product Name on window/tab [message #502369] Mon, 07 December 2009 16:12 Go to next message
Eclipse UserFriend
Hi -

I'm running into an issue with something that should be simple - which probably means I'm missing something obvious...

I'm trying to get my help product name to appear on the title bar/tab label of a browser window.

I have the following settings:
in config.ini:
eclipse.product=com.myproduct.docs.helpProduct

in plugin.xml for com.myproduct.docs:
<extension point="org.eclipse.core.runtime.products" id="com.myproduct.docs">
<product name="%productName" application=""/>
</extension>

in plugin.properties for com.myproduct.docs:
name=My System Help
providerName=MY_company
productName=My System

in MANIFEST.MF:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Localization: plugin
Bundle-Name: %name
Bundle-Vendor: %providerName
Eclipse-LazyStart: true
Bundle-SymbolicName: com.myproduct.docs; singleton:=true
Bundle-Version: 1.0

starting either standalone help or infocenter mode, with -plugincustomization plugins\com.myproduct.docs\plugin_customization.ini or without, and with org.eclipse.help.base/windowTitlePrefix=true or =false, I get the same result.

With true, window/tab title is "Help - "
With false, window/tab title is the url of help/index.jsp.

Other customizations (banner, help home, etc.) work fine.

In the log file, I find the following:
!ENTRY org.eclipse.equinox.app 0 0 2009-12-07 14:54:35.184
!MESSAGE Product com.myproduct.docs could not be found.

What am I missing?

Thanks for the help...

Rob Kimm
Re: Product Name on window/tab [message #502493 is a reply to message #502369] Tue, 08 December 2009 09:26 Go to previous messageGo to next message
Eclipse UserFriend
Hi Rob,

One thing I see is that the id in the <extension> element should be the
ultimate portion of the eclipse.product; that is, it should be your
"helpProduct" portion. For example:

<extension point="org.eclipse.core.runtime.products" id="helpProduct">
<product name="%productName" application=""/>
</extension>

Then, windowTitlePrefix should be set to "false" to pick up your title.

While I don't know if anything else is amiss, certainly the
<extension>'s id should be helpProduct given what is in your config.ini
file.

Best,
Lee Anne
-----------------
http://www.linkedin.com/in/leeannekowalski

Rob Kimm wrote:
> Hi -
> I'm running into an issue with something that should be simple - which
> probably means I'm missing something obvious...
>
> I'm trying to get my help product name to appear on the title bar/tab
> label of a browser window.
> I have the following settings:
> in config.ini:
> eclipse.product=com.myproduct.docs.helpProduct
>
> in plugin.xml for com.myproduct.docs:
> <extension point="org.eclipse.core.runtime.products"
> id="com.myproduct.docs">
> <product name="%productName" application=""/>
> </extension>
> in plugin.properties for com.myproduct.docs:
> name=My System Help
> providerName=MY_company
> productName=My System
> in MANIFEST.MF:
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Localization: plugin
> Bundle-Name: %name
> Bundle-Vendor: %providerName
> Eclipse-LazyStart: true
> Bundle-SymbolicName: com.myproduct.docs; singleton:=true
> Bundle-Version: 1.0
>
> starting either standalone help or infocenter mode, with
> -plugincustomization plugins\com.myproduct.docs\plugin_customization.ini
> or without, and with org.eclipse.help.base/windowTitlePrefix=true or
> =false, I get the same result.
>
> With true, window/tab title is "Help - " With false, window/tab title is
> the url of help/index.jsp.
>
> Other customizations (banner, help home, etc.) work fine.
>
> In the log file, I find the following:
> !ENTRY org.eclipse.equinox.app 0 0 2009-12-07 14:54:35.184
> !MESSAGE Product com.myproduct.docs could not be found.
>
> What am I missing?
>
> Thanks for the help...
>
> Rob Kimm
>
Re: Product Name on window/tab [message #642754 is a reply to message #502493] Thu, 02 December 2010 10:42 Go to previous messageGo to next message
Eclipse UserFriend
Bumping this question.

Having the exact same problem. Tried Lee Anne's suggestion but with no luck. Sad

Anyone willing to work me through it?
Re: Product Name on window/tab [message #643421 is a reply to message #642754] Mon, 06 December 2010 14:23 Go to previous message
Eclipse UserFriend
I sometimes get this error message when the plugin that actually contains my product definition cannot be found or started. You can enable the osgi prompt by adding -console to your eclipse run arguments. When the app starts up you will get an osgi prompt. Type ss <plugin id> to see if your plugin is found, and type start <plugin number found in ss> to try and start it - you will see an exception if it fails.

Example:
osgi> ss org.eclipse.help.base

Framework is launched.

id	State       Bundle
7	RESOLVED    org.eclipse.help.base.nl2_3.5.2.v201009231809
	            Master=207
44	RESOLVED    org.eclipse.help.base.nl1_3.5.2.v201009231809
	            Master=207
50	RESOLVED    org.eclipse.help.base.nl2a_3.5.2.v201009231809
	            Master=207
207	ACTIVE      org.eclipse.help.base_3.5.2.v201009090800
	            Fragments=7, 44, 50, 209
209	RESOLVED    org.eclipse.help.base.nlBidi_3.5.2.v201009231809
	            Master=207

osgi> start 207

osgi> 
Previous Topic:how to update recursively using CVS?
Next Topic:Jetty IO exceptions accessing help
Goto Forum:
  


Current Time: Mon May 19 11:45:18 EDT 2025

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

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

Back to the top