Community
Participate
Working Groups
Importing an existing project into the workspace with the "Copy projects into workspace" option checked will ask user permission to overwrite .settings directory if the imported project contains it. This permission is not required since the .settings directory in the destination is during the import process. using eclipse 2022-06, eclipse platform 4.24
Created attachment 288987 [details] ImportOperation callstack
Having the same issue with version 4.26 still. during import an empty project is created first, in which the org.eclipse.core.resources.prefs is created already with your default file encoding. (encoding/<project>=UTF-8) Then the import operation is created and it is configured to overwrite all the overwriteState to OVERWRITE_ALL(2) However in during execution of the import operation, ImportOperation.collectExistingReadonlyFiles does not seem to check this value, and calls the queryOverwrite method anyway, which shows the confirmation dialog. see also the "ImportOperation callstack" I have attached to this issue.