如何將infocenter部署成Web結構(Eclipse Help System)

來源:互聯網
上載者:User

如何將infocenter部署成Web結構
以一個例子說明:
要求:eclipse版本:3.4或更高版本

1.從www.eclipse.org下載eclipse,並解壓,例如: D:/InfoCenter/eclipse

2.在D:/InfoCenter/eclipse/plugins下面找到這個檔案org.eclipse.help.webapp_3.3.101.M20080805_34x.jar,將它拷貝到一個臨時目錄(D:/temp)中,並解壓.出現這樣一個目錄D:/temp/org.eclipse.help.webapp_3.3.101.M20080805_34x.進入這個目錄:D:/temp/org.eclipse.help.webapp_3.3.101.M20080805_34x/web-archive有兩個目錄help和org.eclipse.help.infocenter-feature

3.你可以將org.eclipse.help.infocenter-feature匯入eclipse工程中,使用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.向D:/temp/org.eclipse.help.webapp_3.3.101.M20080805_34x/web-archive/help/WEB-INF/eclipse/plugins添加一些文檔外掛程式。

6.從http://download.eclipse.org/eclipse/equinox/網站下載org.eclipse.equinox.http.servletbridge_<version>.jar 和 org.eclipse.equinox.servletbridge_<version>.jar兩個檔案。我下載是:eclipse-equinox-3.4.zip,注意此版本要和eclipse版本一致。

7.eclipse-equinox-3.4.zip檔案,在eclipse/plugins/下面找個org.eclipse.equinox.servletbridge_1.0.100.v20080427-0830.jar和org.eclipse.equinox.http.servletbridge_1.0.0.v20080427-0830.jar檔案.解壓org.eclipse.equinox.servletbridge_1.0.100.v20080427-0830.jar檔案,將其中的servletbridge.jar拷貝到.D:/temp/org.eclipse.help.webapp_3.3.101.M20080805_34x/web-archive/help/WEB-INF/lib下面.將org.eclipse.equinox.http.servletbridge_1.0.0.v20080427-0830.jar這個檔案拷貝到D:/temp/org.eclipse.help.webapp_3.3.101.M20080805_34x/web-archive/help/WEB-INF/eclipse/plugins下面

8.此時你可以以help目錄為準建立一個war包,或者直接將help檔案夾拷貝到tomcate下面。啟動tomcate,進入協助系統,查看結果。

 

注意:
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.

 

博文來源:http://happay99.blog.hexun.com/24985320_d.html

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.