How to deploy infocenter into a web structure
Here is an example:
Requirement: Eclipse version: 3.4 or later
1.Download eclipse from www.eclipse.org and decompress it, for example, D:/infocenter/eclipse.
2.Find the file org under D:/infocenter/Eclipse/plugins. eclipse. help. webapp_3.101.m20080805_34x.jar, copy it to a temporary directory (D:/temp), and decompress it. the Directory D:/temp/org. eclipse. help. webapp_3.101.m20080805_34x. enter this directory: D:/temp/org. eclipse. help. webapp_3.3.101.m20080805_34x/Web-archive has two directories: Help and org. eclipse. help. infocenter-feature
3.You can import org. Eclipse. Help. infocenter-feature to the Eclipse project and use file --> Import ---> existing project
4.Export Org. eclipse. help. infocenter-feature as a deployable feature and set the destination to be Web-archive/help/WEB-INF/eclipse in the area where Org. eclipse. help. webapp. <version>. jar was unzipped.
5.Add some document ins to D:/temp/org. Eclipse. Help. webapp_3.101.m20080805_34x/Web-archive/help/WEB-INF/Eclipse/plugins.
6.From the sources <version>. jar and org. Eclipse. Equinox. servletbridge _ <version>. Jar files. My download is: eclipse-equinox-3.4.zip, note that this version should be consistent with the eclipse version.
7.Eclipse-equinox-3.4.zip file, find Org. eclipse. equinox. A servletbridge_1.0.100.v20080427-0830.jar and org. eclipse. equinox. HTTP. servletbridge_1.0.0.v20080427-0830.jar files. decompress Org. eclipse. equinox. servletbridge_1.0.100.v20080427-0830.jar file, where the servletbridge. copy jar. d:/temp/org. eclipse. help. webapp_3.101.m20080805_34x/Web-archive/help/WEB-INF/lib. set Org. eclipse. equinox. HTTP. servletbridge_1.0.0.v20080427-0830.jar copy this file to D:/temp/org. eclipse. help. webapp_3.101.m20080805_34x/Web-archive/help/WEB-INF/Eclipse/plugins below
8.In this case, you can create a war package based on the help directory, or directly copy the help folder to the release ate folder. Start tomcate, enter the help system, and view the result.
Note:
Notes: If you look in the config. ini in the help. War file under directory help/web_inf/Eclipse/configuration you will notice
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.
Blog Source: http://happay99.blog.hexun.com/24985320_d.html