Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Jeffrey Foster
Posts: 13
  • Mark post as helpful
  • send pies
  • 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:

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

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 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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!