1. 程式人生 > >eclipse裡面用svn關聯專案

eclipse裡面用svn關聯專案

eclipse裡面共享專案經常會用到svn或者git外掛

關聯專案的步驟如下:

如果 點選finish會遇到卡住問題的話,不要著急,我們需要設定svn的client設定:

如果設定了之後還是很卡的話,那麼就是eclipse裡面的svn外掛版本不對,解決方法如下:

先檢視自己客戶端svn的版本:

我的是1.7.9的版本,裝eclipse裡面的svn外掛,這步要根據我們本地的svn客戶端的版本來找對應的eclipse中svn外掛應該裝的版本才能關聯得上,否則關聯會失敗!

Subclipse 1.4.x includes and requires Subversion 1.5.x client features and working copy format.

Subclipse 1.6.x includes and requires Subversion 1.6.x client features and working copy format.

Subclipse 1.8.x includes and requires Subversion 1.7.x client features and working copy format.

Subclipse 1.10.x includes and requires Subversion 1.8.x client features and working copy format.

Subclipse 1.12.x includes and requires Subversion 1.9.x client features and working copy format

因為我們本地客戶端(TortoiseSVN)的版本為Subversion1.7.9,所以我們要安裝的eclipse要安裝的版本為 Subclipse為1.8.x,對應版本的下載地址如下

Subclipse 外掛下載路徑,建議翻牆

這裡要注意的是1.12.x版本由於比較新,只能通過eclipse線上安裝,步驟如下:

開啟eclipse,點選Help —> Install New SoftWare

在彈出的對話方塊中點選add按鈕

出現如下頁面

Name可以隨便命名,不過一般要取名有意義,便於自己和別人檢視

Location中輸入Eclipse upupdate site URL後的網址,點選ok

等待一段時間後出現如圖,去掉Contact all之前的勾選,然後一路點選next即可安裝成功。

注意:中間若彈出對話方塊,點選ok即可。安裝完成之後,eclipse會自動重啟

下面我下載了Subclipse 1.8.x



將features和plugins放到eclipse的dropins資料夾下面,重啟eclipse即可。