Eclipse外掛程式配置

來源:互聯網
上載者:User
1.下載安裝eclipse:
     可以到官方網站http://www.eclipse.org/downloads/index.php下載eclipse的最新版本,當前為eclipse3.0.2版,下載好後,將其解壓縮(假設到e:/eclipse)。

2.配置eclipse 外掛程式
常用的外掛程式有:lomboz(jsp,j2ee開發),tomcatplugin(tomcat外掛程式),easystruts(struts開發),emf-sdo-xsd-SDK(EMF MODEL)

配置外掛程式有兩種方法,一是真接將外掛程式釋放到eclipse檔案夾,二是寫LINK檔案,連結,這種方法比較容易管理外掛程式,添加,刪除外掛程式都很方便。下面主要說用第二種方法:將所有下載的外掛程式釋放到同一檔案夾下,假設為e:/eclipse_plugins.以配置tomcatplugin外掛程式為例:將tomcatplugins釋放到e:/eclipse_plugins下,組織檔案夾為:
e:/eclipse_plugins
        |--tomcatpluginV3
             |--eclipse
                |-plugins(建立,eclipse會自動檢查features和plugins檔案夾下的內容)
                    |---com.sysdeo.eclipse.tomcat_3.0.0
按上面樣本,建好之後,回到eclipse檔案夾,建立一個links目錄,在該目錄下,建立一個檔案tomcat.link(檔案名稱任意),內容為:path=e:/eclipse_plugins/tomcatPluginV3(讓eclipse自動檢查tomcatpluginV3下的features或plugins檔案夾)開啟eclipse,即可看到功能表列上多了tomcat選項。如果不成功,刪除configuration下,除config.ini的所有檔案夾,重啟eclipse即可。
   e:/eclipse
       |--links
         |---tomcat.link(配置其它外掛程式時,建立相應的link檔案)

以下,附常用外掛程式

中文包
    http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/L-3.0.1_Translations-200409161125/NLpack-eclipse-SDK-3.0.x-win32.zip
Lombo
 http://www.objectlearn.com/

TomcatPlugin
 http://www.sysdeo.com/eclipse/tomcatPlugin.html

EasyStruts
 http://easystruts.sourceforge.net

VE(visual editor),emf,gef外掛程式
    http://download.eclipse.org/tools/ve/downloads/drops/R-1.0.2-200412091401/index.html

Properties Editor  編輯java的屬性檔案,並可以自動存檔為Unicode格式 
   http://propedit.sourceforge.jp/index_en.html
 
Colorer Take  為上百種類型的檔案按文法著色
   http://colorer.sourceforge.net/
 
XMLBuddy 編輯xml檔案
   www.xmlbuddy.com
 
Code Folding  加入多種程式碼摺疊功能功能(比eclipse內建的更多)
   http://www.coffee-bytes.com/servlet/PlatformSupport
 
Easy Explorer  從eclipse中訪問選定檔案、目錄所在的檔案夾
   http://easystruts.sourceforge.net/

3.配置eclipse環境
1.進入eclipse,選擇菜單->preferences進入圖示介面


(2).選擇左邊列表框中tomcat,設定tomcat版本及目錄

(3).選擇左側邊欄java,設定jre,建立一個JRE,名為jdk,選擇jdk目錄


(4).回到tomcat下,選擇JVM-Setting,在JRE選項中,選擇剛才建立的jdk,在下面Boot Classpath中選擇要求的jar檔案

(5).配置lomboz Server,選擇左邊lomboz下的Server Definitions,配置如下

此外,還有一些例如java code formatter,New java file pattern,配置較如簡單

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.