eclipse-platform / eclipse-platform/eclipse.platform

Relative paths for projects inside workspace.

オープン
#90 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
165
フォーク
174
平均マージ
2日 8時間
マージ済み PR(30日)
22

説明

Use-Case

I have a workspace-1(C:/workspace-1) created for my eclipse ide. Now i create 2 projects(proj-1 and proj-2) inside eclipse so these 2 projects would get stored inside workspace-1.

Now I close eclipse, move this workspace-1 into another folder(C:/archive/workspace-1).

Then i create a new workspace-2(C:/workspace-2) work with this for a while and after some time i switch to the moved workspace-1(C:/archive/workspace-1) for testing. Now the proj-1 and proj-2 are corrupted because i have moved my workspace-1 to another path.

So is there anything that can be done in eclipse to correct the location or can a feature be requested to eclipse to do a relative path check(maybe use relative paths for projects based on user preference) for projects created inside of workspace.

The issue is because for all projects the absolute path is stored inside workspace metadata org.eclipse.core.resources.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、org.eclipse.core.resources 配下のワークスペースメタデータにプロジェクトの場所がどのように保存されているかを調べ、workspace-1 を移動する前後の絶対パスを比較します。移動したワークスペースを再び開いたときに Eclipse が proj-1 と proj-2 をどのように解決するかを追跡します。完了条件は、移動後もプロジェクトを使用できること、またはサポートされている修正手順が明確に定義されていることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
developer-experience, tooling
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。