Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 358470

Summary: [Import/Export] Export project does not export empty folders
Product: [Eclipse Project] Platform Reporter: Remy Suen <remy.suen>
Component: IDEAssignee: Remy Suen <remy.suen>
Status: RESOLVED FIXED QA Contact: Remy Suen <remy.suen>
Severity: normal    
Priority: P3 CC: achapiro, alicec, bjustin, bokowski, cbridgha, ccc, daniel_megert, devel, edwinc, gdtaylor, give.a.damus, hsoliwal, makandre, ob1.eclipse, pkashyap, pwebster, remy.suen, rtaniwa, tdramsey, zalapa
Version: 3.4.2   
Target Milestone: 3.4.2+   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 278402    
Bug Blocks: 342308    
Attachments:
Description Flags
Patch none

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.