0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【eclipse】ローカルプロジェクトをSVNプロジェクトへ切替た際のエラー事象および解決方法

Last updated at Posted at 2024-01-08

・ローカルプロジェクトのbranchをSVNのtrunkへ切り替えた際にエラーが発生した
・ローカルプロジェクトの表示はtrunkと表示されたが、中身はbranchの状態のまま


事象

 エラー発生時の操作
  ・プロジェクトをbranchからSVNのtrunkへ切替
  ・切替た際の状態:ローカルプロジェクトのbrunch
           (新規作成したlibフォルダとそのフォルダ内にjarがある状態)
           SVNのtrunk
           (brunchで作成したlibフォルダは存在していない状態)

  branchからtrunkへ切替た際、trunkにはlibフォルダが存在していないため削除されると想定していたが削除することが出来ず切替失敗となった

 エラーメッセージ
  svn:E204899:Cannot delete file '対象のファイルバス\xxx.jar'

 エラー時のイメージ
  

解決方法

 ローカルプロジェクト表示をbranchへ戻した上で、プロジェクトのクリーアップを実施
 その後、再度プロジェクトの切替を実施し問題なく動作した事を確認済

 プロジェクト右クリック → 「チーム」 → 「クリーンアップ」
 

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?