Bug 562957

Summary: Exporting files to local filesystem doesn't allow overwrites
Product: [Eclipse Project] Platform Reporter: Torbjörn Stabo <torbjorn>
Component: ResourcesAssignee: Platform-Resources-Inbox <platform-resources-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: mat.booth
Version: 4.15   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Error popup after 2nd export none

Description Torbjörn Stabo CLA 2020-05-08 04:42:41 EDT
Created attachment 282753 [details]
Error popup after 2nd export

To reproduce:
(The Eclipse workspace is in my /home folder)
1. In PHP perspective(unsure whether this matters)
2. Select some files/folders in Project Explorer
3. Right click on them and select Export..., General->File System
4. Select /tmp as "To directory", and "Create only selected directories" under Options
5. Click Finish. 
6. The export finishes
7. Now repeat step 3-5, i.e export to a target folder with existing files/folders that Eclipse asks if you want to overwrite or not
8. Click "Yes To All" in the Question popup that asks whether you want to overwrite files in target folder
9. There's an error popup saying there were errors(see attachment)

Expected behavior:
Since I selected "Yes To All" I expected the files in /tmp to be updated. If I run "cp <some file in my local workspace> /tmp/" from bash/command line I can run it as many times as I wish, with no problems regarding overwriting files.

So I can get around, running cp from command line. But exporting from within Eclipse is a pretty fundamental part of my workflow in this case.