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

Bug 316964

Summary: Export then import a Java project with an empty source dir shows error on project
Product: [Eclipse Project] Platform Reporter: Carl Anderson <ccc>
Component: IDEAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: remy.suen
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Carl Anderson CLA 2010-06-15 15:59:40 EDT
Create a Java project, and then do Export->General->Archive File and select the Java project.  Then bring up a new workspace and do Import->General->Existing Projects into Workspace, switch to the Select Archive file radio button, and choose the zip file you just created.  When the build finishes, you will see the following errors:

Java Build Path Problems
     Project 'EmptySrc' is missing required source folder: 'src'
Java Problems
     The project cannot be built until build path errors are resolved

This is due to the fact that the src directory does not exist in the imported project.
Comment 1 Remy Suen CLA 2010-06-15 17:39:41 EDT

*** This bug has been marked as a duplicate of bug 278402 ***