使用links方式安裝Eclipse外掛程式

來源:互聯網
上載者:User

標籤:使用   strong   檔案   io   ar   工作   管理   res   

一、使用links方式安裝eclipse外掛程式
  
  假設eclipse安裝目錄是D:\eclipse,待安裝外掛程式目錄是D:\eclipseplugins。以lomboz,Sysdeo Eclipse Tomcat Launcher plugin和xmlbuddy為例說明如何使用links方式安裝eclipse外掛程式。
  
  1、安裝Lomboz
  
  在D:\eclipseplugins中建立如下的目錄結構:
  
  D:\eclipseplugins\lomboz\eclipse
  
  將lomboz安裝檔案解壓到此目錄中,這個目錄將包含一個plugins目錄,即目錄結構是這樣的:
  
  D:\eclipseplugins\lomboz\eclipse\plugins
  
  在D:\eclipse\links目錄下建立檔案,命名為lomboz.link,編輯此檔案,加入如下內容並儲存。
  
  path = D:/eclipseplugins/lomboz
  
  eclipse將會到指定的目錄下去尋找eclipse\features目錄和eclipse\plugins目錄,看是否有合法的功能組件和(或)外掛程式。也就是說,目標目錄必須包含一個 \eclipse 目錄。如果找到,附加的功能組件和外掛程式在運行期配置是將是可用的,如果連結檔案是在工作區建立之後添加的,附加的功能組件和外掛程式會作為新的配置變更來處理。
  
  其它壓縮檔解壓後若已經包含eclipse\plugins目錄,則不需要建立eclipse目錄。
  
  2、安裝Sysdeo Eclipse Tomcat Launcher plugin
  
  解壓tomcatPluginV3.zip到目錄D:\eclipseplugins\tomcatPlugin\eclipse\plugins目錄下。
  
  在D:\eclipse\links下建立檔案,命名為tomcatPlugin.link,編輯此檔案,加入如下內容並儲存。
  
  path = D:/eclipseplugins/tomcatPlugin
  
  3、安裝xmlbuddy
  
  解壓xmlbuddy安裝檔案到D:\eclipseplugins\xmlbuddy\eclipse\plugins目錄下。
  
  在D:\eclipse\links下建立檔案,命名為xmlbuddy.link,編輯此檔案,加入如下內容並儲存。
  
  path = D:/eclipseplugins/xmlbuddy
  
  二、外掛程式管理
  
  啟動eclipse,在菜單Help->Software Updates->Manage Configuration...下,啟用或者禁用外掛程式。
  
  三、說明
  
  1. 外掛程式可以分別安裝在多個自訂的目錄中。
  
  2. 一個自訂目錄可以安裝多個外掛程式。
  
  3. link檔案的檔案名稱及副檔名可以取任意名稱,比如ddd.txt,myplugin都可以。
  
  4. link檔案中path=外掛程式目錄的path路徑分隔要用\\或是/
  
  5. link檔案可以有多行path=外掛程式目錄,對應多個自訂外掛程式目錄,每一行的path參數都將生效。
  
  6. 在links目錄也可以有多個link檔案,每個link檔案中的path參數都將生效。
  
  7. 外掛程式目錄可以使用相對路徑。
  
  8. 可以在links目錄中建立一個子目錄,轉移暫時不用的外掛程式到此子目錄中,加快eclipse啟動。
  
  9. 如果安裝後看不到外掛程式,把eclipse安裝目錄下的configuration/org.eclipse.update/目錄整個刪除,重啟eclipse。

聯繫我們

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