Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Infocenter Web app , Tomcat
Infocenter Web app , Tomcat [message #472418] Tue, 01 April 2008 02:37 Go to next message
Eclipse UserFriend
Originally posted by: wlstrayer.hotmail.com

Trying to set up a WAR running under Tomcat 6.0.16 (Windows) with Eclipse
3.4M5. I can't seem to get the application to pick up the documentation
plugin that I have deployed to the {app}\WEB-INF\eclipse\plugins directory.
When I hit the WAR URL (http://localhost:port/help/index.jsp), the help apps
start but the toc pane is empty on the left. I have cleared Tomcat cache
and restarted the services and still no luck.

Can anyone point me in the correct direction where I might have missed
something? The documentation plugin is working correctly when I run it
with the embedded web server (from the command line).
Re: Infocenter Web app , Tomcat [message #472420 is a reply to message #472418] Tue, 01 April 2008 17:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Hi Bill,

The Bugzilla entry that tracked development of the WAR version has
comments from people that experienced similar symptoms (toc pane empty).

Based on those comments, here are some things to check/try:
(per reference https://bugs.eclipse.org/bugs/show_bug.cgi?id=201666#c58)

1. Make sure the docs are *not* in doc.zip form inside a jar'd plug-in.
If the doc plug-in is a jar'd plug-in, then the files should not be
zipped up inside the jar. (Mine worked also if I just had the files
'flat' without jarring the doc plug-in at all).


2. Check to see if your doc plug-in has a dependency on
org.eclipse.core.runtime.compatibility. If you are using an old plug-in,
sometimes it wants org.eclipse.core.runtime.compatibility to work right.

If the doc plug-in has such a dependency, try adding
org.eclipse.core.runtime.compatibility to your plugins directory if it
isn't already there.

3. From file web.xml, remove the following entry if they are in the file:
<init-param>
<param-name>commandline</param-name>
<param-value>-console</param-value>
</init-param>

Best regards,
--Lee Anne

Bill Strayer wrote:
> Trying to set up a WAR running under Tomcat 6.0.16 (Windows) with
> Eclipse 3.4M5. I can't seem to get the application to pick up the
> documentation plugin that I have deployed to the
> {app}\WEB-INF\eclipse\plugins directory. When I hit the WAR URL
> (http://localhost:port/help/index.jsp), the help apps start but the toc
> pane is empty on the left. I have cleared Tomcat cache and restarted
> the services and still no luck.
>
> Can anyone point me in the correct direction where I might have missed
> something? The documentation plugin is working correctly when I run it
> with the embedded web server (from the command line).
Re: Infocenter Web app , Tomcat [message #472421 is a reply to message #472418] Tue, 01 April 2008 17:50 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
I've noticed this myself from time to time but not consistently. Does it
make a difference whether you open the help system using Internet
Explorer or using Firefox? For some reason I've only ever seen this in
IE and opening the same page in Firefox has caused the books to
magically appear for me.
Re: Infocenter Web app , Tomcat [message #472423 is a reply to message #472421] Tue, 01 April 2008 19:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wlstrayer.hotmail.com

I get the same results in Internet Explorer 7.0 and in Firefox 2.0. I am
going thru Lee Anne's post to see if any of the suggestions help.


"Chris Goldthorpe" <cgold@us.ibm.com> wrote in message
news:fstslp$697$1@build.eclipse.org...
> I've noticed this myself from time to time but not consistently. Does it
> make a difference whether you open the help system using Internet Explorer
> or using Firefox? For some reason I've only ever seen this in IE and
> opening the same page in Firefox has caused the books to magically appear
> for me.
Re: Infocenter Web app , Tomcat [message #472424 is a reply to message #472420] Tue, 01 April 2008 20:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wlstrayer.hotmail.com

#2 did the trick.. it did have a dependency on
org.eclipse.core.runtime.compatibility. Added that and restarted Tomcat
and everything seems to be working correctly.

Thanks...


"Lee Anne" <nospam_kowalskilee@gmail.com> wrote in message
news:fstr67$kco$1@build.eclipse.org...
> Hi Bill,
>
> The Bugzilla entry that tracked development of the WAR version has
> comments from people that experienced similar symptoms (toc pane empty).
>
> Based on those comments, here are some things to check/try:
> (per reference https://bugs.eclipse.org/bugs/show_bug.cgi?id=201666#c58)
>
> 1. Make sure the docs are *not* in doc.zip form inside a jar'd plug-in. If
> the doc plug-in is a jar'd plug-in, then the files should not be zipped up
> inside the jar. (Mine worked also if I just had the files 'flat' without
> jarring the doc plug-in at all).
>
>
> 2. Check to see if your doc plug-in has a dependency on
> org.eclipse.core.runtime.compatibility. If you are using an old plug-in,
> sometimes it wants org.eclipse.core.runtime.compatibility to work right.
>
> If the doc plug-in has such a dependency, try adding
> org.eclipse.core.runtime.compatibility to your plugins directory if it
> isn't already there.
>
> 3. From file web.xml, remove the following entry if they are in the file:
> <init-param>
> <param-name>commandline</param-name>
> <param-value>-console</param-value>
> </init-param>
>
> Best regards,
> --Lee Anne
>
> Bill Strayer wrote:
>> Trying to set up a WAR running under Tomcat 6.0.16 (Windows) with Eclipse
>> 3.4M5. I can't seem to get the application to pick up the documentation
>> plugin that I have deployed to the {app}\WEB-INF\eclipse\plugins
>> directory. When I hit the WAR URL (http://localhost:port/help/index.jsp),
>> the help apps start but the toc pane is empty on the left. I have
>> cleared Tomcat cache and restarted the services and still no luck.
>>
>> Can anyone point me in the correct direction where I might have missed
>> something? The documentation plugin is working correctly when I run it
>> with the embedded web server (from the command line).
Re: Infocenter Web app , Tomcat [message #473913 is a reply to message #472418] Thu, 12 June 2008 21:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.maxant.co.uk

Hi,

I had some problems with this too, but managed to get around it. I have
written a blog entry / tutorial on how to set it up. Its at:

http://blog.maxant.co.uk/pebble/2008/06/09/1213043100000.htm l

the only thing i cant get working right now is customisation of the home
page. it works from my RCP app, when help is in workbench mode, but it
doenst work when i drop the plugin into the webapp... anyone got any ideas?
the last line of the eclipse 3.4RC4 help (when you search for "war") says:

Notes: If you look in the config.ini in the help.war file under
directory help/WEB_INF/eclipse/configuration you will notice the
line eclipse.product=org.eclipse.productname. If your product has help
system customizations in a product plugin you can
activate these by changing this line to point to your product plugin.

but under
<tomcat-install>/work/catalina/localhost/_/eclipse/workspace/.metadata/.log
i get the following error message:

!ENTRY org.eclipse.equinox.app 0 0 2008-06-12 19:46:32.937
!MESSAGE Product BookStore could not be found.

here is the entry i put into web-inf/eclipse/configuration/config.ini:

eclipse.product=BookStore

in the plugin.xml, the plugin name (on the overview tab, under general
information) is "BookStore"

so what am i doing wrong?

Cheers,
Ant


"Bill Strayer" <wlstrayer@hotmail.com> schrieb im Newsbeitrag
news:fss761$9s$1@build.eclipse.org...
> Trying to set up a WAR running under Tomcat 6.0.16 (Windows) with Eclipse
> 3.4M5. I can't seem to get the application to pick up the documentation
> plugin that I have deployed to the {app}\WEB-INF\eclipse\plugins
> directory. When I hit the WAR URL (http://localhost:port/help/index.jsp),
> the help apps start but the toc pane is empty on the left. I have cleared
> Tomcat cache and restarted the services and still no luck.
>
> Can anyone point me in the correct direction where I might have missed
> something? The documentation plugin is working correctly when I run it
> with the embedded web server (from the command line).
Re: Infocenter Web app , Tomcat [message #473914 is a reply to message #473913] Thu, 12 June 2008 22:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Hi,

Good blog write-up, by the way.

I don't know if this will help you. I offer it as something to try.

I've never seen the config.ini line with only the plug-in name on the
right hand side:
eclipse.product=BookStore

The way that I see the SDK does it, and the way that I do it for my
standalone help, is to have the line of the format:
eclipse.product=org.eclipse.sdk.ide

The "ide" piece on the end is actually identified in an <extension> tag
in the plugin.xml file of the product plug-in. And the "org.eclipse.sdk"
potion is that plug-in's id.

Then, in the plugin.xml file of that product plug-in, it has this
extension (along with other things, naturally):
<plugin>
<extension id="ide" point="org.eclipse.core.runtime.products">
<property name="preferenceCustomization" value="plugin_customization.ini"/>

(that property name="preferenceCustomization" should be all on one line.
My message composer is breaking it oddly here).

See the attribute id="ide"? I think that id and the plug-in's id
together make the connection between the eclipse.product line in
config.ini and this product plug-in.

Then, the property points to the plugin_customization.ini file. In that
file, you can specify the file that you want to be the help home page.
For example, I have this line in my plugin_customization.ini file that I
use for testing an infocenter:
org.eclipse.help.base/help_home=/com.mytest.doc/aboutmytest. htm

In a plug-in named "com.mytest.doc" that has a file named
aboutmytest.htm which is the file that I want for my home page.

Now, I haven't tried this for the WAR version yet. But I set it up this
way for my typical infocenter deployments.

It is something at least to try.

Best regards,
Lee Anne

maxant wrote:
> Hi,
>
> I had some problems with this too, but managed to get around it. I have
> written a blog entry / tutorial on how to set it up. Its at:
>
> http://blog.maxant.co.uk/pebble/2008/06/09/1213043100000.htm l
>
> the only thing i cant get working right now is customisation of the home
> page. it works from my RCP app, when help is in workbench mode, but it
> doenst work when i drop the plugin into the webapp... anyone got any ideas?
> the last line of the eclipse 3.4RC4 help (when you search for "war") says:
>
> Notes: If you look in the config.ini in the help.war file under
> directory help/WEB_INF/eclipse/configuration you will notice the
> line eclipse.product=org.eclipse.productname. If your product has help
> system customizations in a product plugin you can
> activate these by changing this line to point to your product plugin.
>
> but under
> <tomcat-install>/work/catalina/localhost/_/eclipse/workspace/.metadata/.log
> i get the following error message:
>
> !ENTRY org.eclipse.equinox.app 0 0 2008-06-12 19:46:32.937
> !MESSAGE Product BookStore could not be found.
>
> here is the entry i put into web-inf/eclipse/configuration/config.ini:
>
> eclipse.product=BookStore
>
> in the plugin.xml, the plugin name (on the overview tab, under general
> information) is "BookStore"
>
> so what am i doing wrong?
>
> Cheers,
> Ant
Re: Infocenter Web app , Tomcat [message #474064 is a reply to message #473914] Sat, 14 June 2008 16:20 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.maxant.co.uk

hi,

i checked again and youre right, those are the steps i took to get the
customizations to work. the only difference, is that instead of ".ide", i
have ".product". so the value that i put into my config.ini was
BookStore.product, otherwise known as the plugin ID, as defined on the first
page of the .products file! it all makes a little more sense now, and it
even works too.

i will update the two tutorials i wrote on my blog when i get a sec.

thanks!
ant



"Lee Anne" <nospam_kowalskilee@gmail.com> schrieb im Newsbeitrag
news:g2s9cc$u4r$1@build.eclipse.org...
> Hi,
>
> Good blog write-up, by the way.
>
> I don't know if this will help you. I offer it as something to try.
>
> I've never seen the config.ini line with only the plug-in name on the
> right hand side:
> eclipse.product=BookStore
>
> The way that I see the SDK does it, and the way that I do it for my
> standalone help, is to have the line of the format:
> eclipse.product=org.eclipse.sdk.ide
>
> The "ide" piece on the end is actually identified in an <extension> tag in
> the plugin.xml file of the product plug-in. And the "org.eclipse.sdk"
> potion is that plug-in's id.
>
> Then, in the plugin.xml file of that product plug-in, it has this
> extension (along with other things, naturally):
> <plugin>
> <extension id="ide" point="org.eclipse.core.runtime.products">
> <property name="preferenceCustomization"
> value="plugin_customization.ini"/>
>
> (that property name="preferenceCustomization" should be all on one line.
> My message composer is breaking it oddly here).
>
> See the attribute id="ide"? I think that id and the plug-in's id together
> make the connection between the eclipse.product line in config.ini and
> this product plug-in.
>
> Then, the property points to the plugin_customization.ini file. In that
> file, you can specify the file that you want to be the help home page. For
> example, I have this line in my plugin_customization.ini file that I use
> for testing an infocenter:
> org.eclipse.help.base/help_home=/com.mytest.doc/aboutmytest. htm
>
> In a plug-in named "com.mytest.doc" that has a file named aboutmytest.htm
> which is the file that I want for my home page.
>
> Now, I haven't tried this for the WAR version yet. But I set it up this
> way for my typical infocenter deployments.
>
> It is something at least to try.
>
> Best regards,
> Lee Anne
>
> maxant wrote:
>> Hi,
>>
>> I had some problems with this too, but managed to get around it. I have
>> written a blog entry / tutorial on how to set it up. Its at:
>>
>> http://blog.maxant.co.uk/pebble/2008/06/09/1213043100000.htm l
>>
>> the only thing i cant get working right now is customisation of the home
>> page. it works from my RCP app, when help is in workbench mode, but it
>> doenst work when i drop the plugin into the webapp... anyone got any
>> ideas? the last line of the eclipse 3.4RC4 help (when you search for
>> "war") says:
>>
>> Notes: If you look in the config.ini in the help.war file under
>> directory help/WEB_INF/eclipse/configuration you will notice the
>> line eclipse.product=org.eclipse.productname. If your product has help
>> system customizations in a product plugin you can
>> activate these by changing this line to point to your product plugin.
>>
>> but under
>> <tomcat-install>/work/catalina/localhost/_/eclipse/workspace/.metadata/.log
>> i get the following error message:
>>
>> !ENTRY org.eclipse.equinox.app 0 0 2008-06-12 19:46:32.937
>> !MESSAGE Product BookStore could not be found.
>>
>> here is the entry i put into web-inf/eclipse/configuration/config.ini:
>>
>> eclipse.product=BookStore
>>
>> in the plugin.xml, the plugin name (on the overview tab, under general
>> information) is "BookStore"
>>
>> so what am i doing wrong?
>>
>> Cheers,
>> Ant
>
Re: Infocenter Web app , Tomcat [message #611088 is a reply to message #472418] Tue, 01 April 2008 17:27 Go to previous message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Hi Bill,

The Bugzilla entry that tracked development of the WAR version has
comments from people that experienced similar symptoms (toc pane empty).

Based on those comments, here are some things to check/try:
(per reference https://bugs.eclipse.org/bugs/show_bug.cgi?id=201666#c58)

1. Make sure the docs are *not* in doc.zip form inside a jar'd plug-in.
If the doc plug-in is a jar'd plug-in, then the files should not be
zipped up inside the jar. (Mine worked also if I just had the files
'flat' without jarring the doc plug-in at all).


2. Check to see if your doc plug-in has a dependency on
org.eclipse.core.runtime.compatibility. If you are using an old plug-in,
sometimes it wants org.eclipse.core.runtime.compatibility to work right.

If the doc plug-in has such a dependency, try adding
org.eclipse.core.runtime.compatibility to your plugins directory if it
isn't already there.

3. From file web.xml, remove the following entry if they are in the file:
<init-param>
<param-name>commandline</param-name>
<param-value>-console</param-value>
</init-param>

Best regards,
--Lee Anne

Bill Strayer wrote:
> Trying to set up a WAR running under Tomcat 6.0.16 (Windows) with
> Eclipse 3.4M5. I can't seem to get the application to pick up the
> documentation plugin that I have deployed to the
> {app}\WEB-INF\eclipse\plugins directory. When I hit the WAR URL
> (http://localhost:port/help/index.jsp), the help apps start but the toc
> pane is empty on the left. I have cleared Tomcat cache and restarted
> the services and still no luck.
>
> Can anyone point me in the correct direction where I might have missed
> something? The documentation plugin is working correctly when I run it
> with the embedded web server (from the command line).
Re: Infocenter Web app , Tomcat [message #611090 is a reply to message #472418] Tue, 01 April 2008 17:50 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
I've noticed this myself from time to time but not consistently. Does it
make a difference whether you open the help system using Internet
Explorer or using Firefox? For some reason I've only ever seen this in
IE and opening the same page in Firefox has caused the books to
magically appear for me.
Re: Infocenter Web app , Tomcat [message #611094 is a reply to message #472421] Tue, 01 April 2008 19:48 Go to previous message
Eclipse UserFriend
Originally posted by: wlstrayer.hotmail.com

I get the same results in Internet Explorer 7.0 and in Firefox 2.0. I am
going thru Lee Anne's post to see if any of the suggestions help.


"Chris Goldthorpe" <cgold@us.ibm.com> wrote in message
news:fstslp$697$1@build.eclipse.org...
> I've noticed this myself from time to time but not consistently. Does it
> make a difference whether you open the help system using Internet Explorer
> or using Firefox? For some reason I've only ever seen this in IE and
> opening the same page in Firefox has caused the books to magically appear
> for me.
Re: Infocenter Web app , Tomcat [message #611096 is a reply to message #472420] Tue, 01 April 2008 20:02 Go to previous message
Eclipse UserFriend
Originally posted by: wlstrayer.hotmail.com

#2 did the trick.. it did have a dependency on
org.eclipse.core.runtime.compatibility. Added that and restarted Tomcat
and everything seems to be working correctly.

Thanks...


"Lee Anne" <nospam_kowalskilee@gmail.com> wrote in message
news:fstr67$kco$1@build.eclipse.org...
> Hi Bill,
>
> The Bugzilla entry that tracked development of the WAR version has
> comments from people that experienced similar symptoms (toc pane empty).
>
> Based on those comments, here are some things to check/try:
> (per reference https://bugs.eclipse.org/bugs/show_bug.cgi?id=201666#c58)
>
> 1. Make sure the docs are *not* in doc.zip form inside a jar'd plug-in. If
> the doc plug-in is a jar'd plug-in, then the files should not be zipped up
> inside the jar. (Mine worked also if I just had the files 'flat' without
> jarring the doc plug-in at all).
>
>
> 2. Check to see if your doc plug-in has a dependency on
> org.eclipse.core.runtime.compatibility. If you are using an old plug-in,
> sometimes it wants org.eclipse.core.runtime.compatibility to work right.
>
> If the doc plug-in has such a dependency, try adding
> org.eclipse.core.runtime.compatibility to your plugins directory if it
> isn't already there.
>
> 3. From file web.xml, remove the following entry if they are in the file:
> <init-param>
> <param-name>commandline</param-name>
> <param-value>-console</param-value>
> </init-param>
>
> Best regards,
> --Lee Anne
>
> Bill Strayer wrote:
>> Trying to set up a WAR running under Tomcat 6.0.16 (Windows) with Eclipse
>> 3.4M5. I can't seem to get the application to pick up the documentation
>> plugin that I have deployed to the {app}\WEB-INF\eclipse\plugins
>> directory. When I hit the WAR URL (http://localhost:port/help/index.jsp),
>> the help apps start but the toc pane is empty on the left. I have
>> cleared Tomcat cache and restarted the services and still no luck.
>>
>> Can anyone point me in the correct direction where I might have missed
>> something? The documentation plugin is working correctly when I run it
>> with the embedded web server (from the command line).
Re: Infocenter Web app , Tomcat [message #614440 is a reply to message #472418] Thu, 12 June 2008 21:19 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.maxant.co.uk

Hi,

I had some problems with this too, but managed to get around it. I have
written a blog entry / tutorial on how to set it up. Its at:

http://blog.maxant.co.uk/pebble/2008/06/09/1213043100000.htm l

the only thing i cant get working right now is customisation of the home
page. it works from my RCP app, when help is in workbench mode, but it
doenst work when i drop the plugin into the webapp... anyone got any ideas?
the last line of the eclipse 3.4RC4 help (when you search for "war") says:

Notes: If you look in the config.ini in the help.war file under
directory help/WEB_INF/eclipse/configuration you will notice the
line eclipse.product=org.eclipse.productname. If your product has help
system customizations in a product plugin you can
activate these by changing this line to point to your product plugin.

but under
<tomcat-install>/work/catalina/localhost/_/eclipse/workspace/.metadata/.log
i get the following error message:

!ENTRY org.eclipse.equinox.app 0 0 2008-06-12 19:46:32.937
!MESSAGE Product BookStore could not be found.

here is the entry i put into web-inf/eclipse/configuration/config.ini:

eclipse.product=BookStore

in the plugin.xml, the plugin name (on the overview tab, under general
information) is "BookStore"

so what am i doing wrong?

Cheers,
Ant


"Bill Strayer" <wlstrayer@hotmail.com> schrieb im Newsbeitrag
news:fss761$9s$1@build.eclipse.org...
> Trying to set up a WAR running under Tomcat 6.0.16 (Windows) with Eclipse
> 3.4M5. I can't seem to get the application to pick up the documentation
> plugin that I have deployed to the {app}\WEB-INF\eclipse\plugins
> directory. When I hit the WAR URL (http://localhost:port/help/index.jsp),
> the help apps start but the toc pane is empty on the left. I have cleared
> Tomcat cache and restarted the services and still no luck.
>
> Can anyone point me in the correct direction where I might have missed
> something? The documentation plugin is working correctly when I run it
> with the embedded web server (from the command line).
Re: Infocenter Web app , Tomcat [message #614441 is a reply to message #473913] Thu, 12 June 2008 22:56 Go to previous message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Hi,

Good blog write-up, by the way.

I don't know if this will help you. I offer it as something to try.

I've never seen the config.ini line with only the plug-in name on the
right hand side:
eclipse.product=BookStore

The way that I see the SDK does it, and the way that I do it for my
standalone help, is to have the line of the format:
eclipse.product=org.eclipse.sdk.ide

The "ide" piece on the end is actually identified in an <extension> tag
in the plugin.xml file of the product plug-in. And the "org.eclipse.sdk"
potion is that plug-in's id.

Then, in the plugin.xml file of that product plug-in, it has this
extension (along with other things, naturally):
<plugin>
<extension id="ide" point="org.eclipse.core.runtime.products">
<property name="preferenceCustomization" value="plugin_customization.ini"/>

(that property name="preferenceCustomization" should be all on one line.
My message composer is breaking it oddly here).

See the attribute id="ide"? I think that id and the plug-in's id
together make the connection between the eclipse.product line in
config.ini and this product plug-in.

Then, the property points to the plugin_customization.ini file. In that
file, you can specify the file that you want to be the help home page.
For example, I have this line in my plugin_customization.ini file that I
use for testing an infocenter:
org.eclipse.help.base/help_home=/com.mytest.doc/aboutmytest. htm

In a plug-in named "com.mytest.doc" that has a file named
aboutmytest.htm which is the file that I want for my home page.

Now, I haven't tried this for the WAR version yet. But I set it up this
way for my typical infocenter deployments.

It is something at least to try.

Best regards,
Lee Anne

maxant wrote:
> Hi,
>
> I had some problems with this too, but managed to get around it. I have
> written a blog entry / tutorial on how to set it up. Its at:
>
> http://blog.maxant.co.uk/pebble/2008/06/09/1213043100000.htm l
>
> the only thing i cant get working right now is customisation of the home
> page. it works from my RCP app, when help is in workbench mode, but it
> doenst work when i drop the plugin into the webapp... anyone got any ideas?
> the last line of the eclipse 3.4RC4 help (when you search for "war") says:
>
> Notes: If you look in the config.ini in the help.war file under
> directory help/WEB_INF/eclipse/configuration you will notice the
> line eclipse.product=org.eclipse.productname. If your product has help
> system customizations in a product plugin you can
> activate these by changing this line to point to your product plugin.
>
> but under
> <tomcat-install>/work/catalina/localhost/_/eclipse/workspace/.metadata/.log
> i get the following error message:
>
> !ENTRY org.eclipse.equinox.app 0 0 2008-06-12 19:46:32.937
> !MESSAGE Product BookStore could not be found.
>
> here is the entry i put into web-inf/eclipse/configuration/config.ini:
>
> eclipse.product=BookStore
>
> in the plugin.xml, the plugin name (on the overview tab, under general
> information) is "BookStore"
>
> so what am i doing wrong?
>
> Cheers,
> Ant
Re: Infocenter Web app , Tomcat [message #615254 is a reply to message #473914] Sat, 14 June 2008 16:20 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.maxant.co.uk

hi,

i checked again and youre right, those are the steps i took to get the
customizations to work. the only difference, is that instead of ".ide", i
have ".product". so the value that i put into my config.ini was
BookStore.product, otherwise known as the plugin ID, as defined on the first
page of the .products file! it all makes a little more sense now, and it
even works too.

i will update the two tutorials i wrote on my blog when i get a sec.

thanks!
ant



"Lee Anne" <nospam_kowalskilee@gmail.com> schrieb im Newsbeitrag
news:g2s9cc$u4r$1@build.eclipse.org...
> Hi,
>
> Good blog write-up, by the way.
>
> I don't know if this will help you. I offer it as something to try.
>
> I've never seen the config.ini line with only the plug-in name on the
> right hand side:
> eclipse.product=BookStore
>
> The way that I see the SDK does it, and the way that I do it for my
> standalone help, is to have the line of the format:
> eclipse.product=org.eclipse.sdk.ide
>
> The "ide" piece on the end is actually identified in an <extension> tag in
> the plugin.xml file of the product plug-in. And the "org.eclipse.sdk"
> potion is that plug-in's id.
>
> Then, in the plugin.xml file of that product plug-in, it has this
> extension (along with other things, naturally):
> <plugin>
> <extension id="ide" point="org.eclipse.core.runtime.products">
> <property name="preferenceCustomization"
> value="plugin_customization.ini"/>
>
> (that property name="preferenceCustomization" should be all on one line.
> My message composer is breaking it oddly here).
>
> See the attribute id="ide"? I think that id and the plug-in's id together
> make the connection between the eclipse.product line in config.ini and
> this product plug-in.
>
> Then, the property points to the plugin_customization.ini file. In that
> file, you can specify the file that you want to be the help home page. For
> example, I have this line in my plugin_customization.ini file that I use
> for testing an infocenter:
> org.eclipse.help.base/help_home=/com.mytest.doc/aboutmytest. htm
>
> In a plug-in named "com.mytest.doc" that has a file named aboutmytest.htm
> which is the file that I want for my home page.
>
> Now, I haven't tried this for the WAR version yet. But I set it up this
> way for my typical infocenter deployments.
>
> It is something at least to try.
>
> Best regards,
> Lee Anne
>
> maxant wrote:
>> Hi,
>>
>> I had some problems with this too, but managed to get around it. I have
>> written a blog entry / tutorial on how to set it up. Its at:
>>
>> http://blog.maxant.co.uk/pebble/2008/06/09/1213043100000.htm l
>>
>> the only thing i cant get working right now is customisation of the home
>> page. it works from my RCP app, when help is in workbench mode, but it
>> doenst work when i drop the plugin into the webapp... anyone got any
>> ideas? the last line of the eclipse 3.4RC4 help (when you search for
>> "war") says:
>>
>> Notes: If you look in the config.ini in the help.war file under
>> directory help/WEB_INF/eclipse/configuration you will notice the
>> line eclipse.product=org.eclipse.productname. If your product has help
>> system customizations in a product plugin you can
>> activate these by changing this line to point to your product plugin.
>>
>> but under
>> <tomcat-install>/work/catalina/localhost/_/eclipse/workspace/.metadata/.log
>> i get the following error message:
>>
>> !ENTRY org.eclipse.equinox.app 0 0 2008-06-12 19:46:32.937
>> !MESSAGE Product BookStore could not be found.
>>
>> here is the entry i put into web-inf/eclipse/configuration/config.ini:
>>
>> eclipse.product=BookStore
>>
>> in the plugin.xml, the plugin name (on the overview tab, under general
>> information) is "BookStore"
>>
>> so what am i doing wrong?
>>
>> Cheers,
>> Ant
>
Previous Topic:Help view not on initial perspective layout
Next Topic:Recommended Work Flow for Cheat Sheet Development
Goto Forum:
  


Current Time: Thu Dec 18 19:40:38 GMT 2014

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

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