問題現場
- Eclipse 3.4 (Ganymede) 安裝最新 ECF (Eclipse Communication Framework) 後,右鍵菜單無「Share Editor」/「Share Project」選項。
- 懷疑 ECF 最新版與 Eclipse 3.4 不兼容。
背景知識
- Real-Time Shared Editing 基於 ECF DocShare 插件,支持多用戶同時編輯同一文本編輯器、共享選區、光標位置、聊天。
- Eclipse 3.4 發布於 2008 年 6 月,ECF 版本需與 Eclipse 平台版本嚴格對應。
排查步驟
- 確認 ECF 版本:
Help → About Eclipse → Installation Details → Plug-ins 找 org.eclipse.ecf.*,記下版本號。
- 查閱兼容性矩陣: 訪問 ECF Versions Wiki,確認該 ECF 版本支援的 Eclipse 版本範圍。
- 降級/匹配安裝: 若最新 ECF 僅支援 3.5+,需從 ECF 更新站點 選擇對應 3.4 的舊版本 (如 ECF 3.0.x)。
- 檢查依賴: ECF DocShare 需
org.eclipse.ecf.presence, org.eclipse.ecf.doctshare, org.eclipse.ecf.filetransfer 等插件齊全且版本一致。
- 查看 Error Log:
Window → Show View → Error Log,過濾 ECF 關鍵字,查看啟動異常/缺失依賴堆疊。
有用參考鏈接
現代替代方案 (2024+)
- VS Code Live Share:跨編輯器、跨平台、零配置、語音/文字聊天、終端共享、調試共享 — 體驗遠超 ECF DocShare。
- IntelliJ Code With Me:JetBrains 官方實時協作,支持全系 IDE。
- Eclipse Che / Theia:雲端 IDE 原生協作。
- GitHub Codespaces / Gitpod:雲端開發環境內建協作。
總結
Eclipse 3.4 + ECF DocShare 屬於「考古級」技術棧。若維護舊專案必須使用,請嚴格匹配歷史版本;新專業務務請遷移至現代協作工具,效率提升數量級。