一、檔案準備
(1)Eclipse IDE 3.7:http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR1/eclipse-jee-indigo-SR1-win32.zip&url=http://mirror.bit.edu.cn/eclipse/technology/epp/downloads/release/indigo/SR1/eclipse-jee-indigo-SR1-win32.zip&mirror_id=1082
(2)SVN1.6外掛程式:http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240
二、建立相應的links檔案夾和MyPlugins檔案夾以及SVN外掛程式檔案夾
建立如下目錄結構:
D:\eclipse\links
D:\eclipse\MyPlugins
D:\eclipse\MyPlugins\Subclipse1.6 (此目錄是SVN外掛程式的解壓的目標目錄)
列印的樹形結構如下(注意SVN外掛程式解壓後的檔案結構):
D:\eclipse
├
├─MyPlugins
│ └─Subclipse1.6
│ └─eclipse
│ ├─features
│ └─plugins
└─links
三、建立SVN外掛程式的links設定檔
檔案內容:path=D:\\eclipse\\MyPlugins\\Subclipse1.6 或path=D:/eclipse/MyPlugins/Subclipse1.6
注意:links檔案中配置的路徑必須是絕對路徑!
四、修改eclipse config檔案配置
config.ini檔案路徑:D:\eclipse\configuration\config.ini
(1)刪除D:\eclipse\configuration路徑下的org.eclipse.update檔案夾;
(2)修改D:\eclipse\configuration\config.ini設定檔,將org.eclipse.update.reconcile=false這個屬性值修改為true並儲存,
然後,重啟eclipse,就可以在Window > Open perspective > Other 裡面看到SVN選項了;
(3)最後,再將org.eclipse.update.reconcile修改為true後儲存即可。
參考文章:http://www.iteye.com/topic/1113353