Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358470 - [Import/Export] Export project does not export empty folders
Summary: [Import/Export] Export project does not export empty folders
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 3.4.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.4.2+   Edit
Assignee: Remy Suen CLA
QA Contact: Remy Suen CLA
URL:
Whiteboard:
Keywords:
Depends on: 278402
Blocks: 342308
  Show dependency tree
 
Reported: 2011-09-21 13:45 EDT by Remy Suen CLA
Modified: 2011-09-21 14:30 EDT (History)
20 users (show)

See Also:


Attachments
Patch (8.71 KB, patch)
2011-09-21 13:53 EDT, Remy Suen CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2011-09-21 13:45:20 EDT
+++ This bug was initially created as a clone of Bug #278402 +++

I have a project with an empty folder in it, which I exported to a zip file using the standard "Export > General > Archive File" method.

I subsequently imported that project into another workspace using "Import > Genearal > Existing Projects into Workspace" method.  The resulting project does not have the empty folder that was in the original project.

This is a problem especially for Java projects with empty src folder, because after importing there will be an error saying the src folder is missing.
Comment 1 Remy Suen CLA 2011-09-21 13:53:21 EDT
Created attachment 203794 [details]
Patch

This patch against R3_4_maintennace combines elements from attachment 137765 [details] and attachment 192859 [details] to fix the original bug 278402 on 3.4.x.
Comment 2 Remy Suen CLA 2011-09-21 14:30:19 EDT
(In reply to comment #1)
> Created attachment 203794 [details]
> Patch

Patch released to R3_4_maintenance.