• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Model of a .war containing an Eclipse Standalone Infocenter plugin?

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does anyone have a model of a working Eclipse Standalone Help Infocenter in a .war file format, that is, one that's deployed on something like an Apache Tomcat server, not using Eclipse itself?

After trying to get the Eclipse instructions to work and failing:

http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fua_help_setup_standalone.htm

I found a war file posted here that got me as far as being able to deploy the Infocenter:

http://www.ipov.net/apps/blog/2011/01/eclipse-infocenter-help-as-web-app/

However I've been unable to get customization to work the way it's supposed to, and most important, can't get the "productName" variable to be picked up to appear in the browser tab as the title. It's just what would go in the <title></title> tag of the main frameset, but the way the Infocenter is constructed this can't just be entered anywhere and has to be picked up through an extremely complex web of files (plugin.xml, config.ini, plugin_customization.ini, and so on) spread throughout the .war archive. Something I read said that the product name is supposed to be picked up from the "main feature", and I've edited the "feature.xml" file to add my plugins to it, but no luck.

I managed to customize and brand my Infocenter plugin with the top frame banner, landing page, and everything else I wanted by just inserting the files and making edits directly into the .jar bundles that work as plugins inside the .war, for example org.eclipse.help.webapp_3.5.2.r36_r20100816.jar and so on. I'm fine with doing it that way, but I can't leave the browser tab saying only "Help - ", and I've asked and chased and tried everything suggested and nothing has worked.

I know how to toggle the "Help -" prefix on and off by changing a "true/false" entry in, but false just leaves it empty so it inserts the ip address as a default, so I either have "Help -" or that.

Sorry if a little verbose, just putting all the information I can in case anyone gets clues about what might be wrong, also to know what I've already tried.

The only thing I can think of is if I could just see one that works, and try to see how and why, I could duplicate it. The model I have works in every other way but the customization is not set up.

One other clue: I tried assembling the whole thing as an Eclipse plugin to be deployed using Eclipse, i.e. not Tomcat, and using a -plugincustomization command in the start command I was able to get the customization to work -- but still not the browser tab/product name/title to appear, it printed "Help - Eclipse SDK" in that case. I don't know how to use the equivalent of the -plugincustomization command when deploying in Tomcat, my understanding is that these configuration files take care of it.

Thanks,
 
reply
    Bookmark Topic Watch Topic
  • New Topic