Bug 40322

Summary: Error creating new Java projects
Product: [Eclipse Project] JDT Reporter: Jesper Kamstrup Linnet <eclipse>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 CC: albertl_1998, charliemorss, j.hohwiller, jpatadia, kd, mtim2000, sameer.s.vaingankar, sdionne
Version: 3.0   
Target Milestone: 3.0 M3   
Hardware: PC   
OS: Windows NT   
Whiteboard:
Attachments:
Description Flags
Error log none

Description Jesper Kamstrup Linnet CLA 2003-07-17 07:04:17 EDT
I200307160800

Create a new Java project. Enter project name, deselect "Use default" and point
to an existing directory structure:

&#9500;&#9472;&#9472;&#9472;config
&#9474;   &#9500;&#9472;&#9472;&#9472;messagebean
&#9474;   &#9474;   &#9492;&#9472;&#9472;&#9472;META-INF
&#9474;   &#9492;&#9472;&#9472;&#9472;sessionbean
&#9474;       &#9492;&#9472;&#9472;&#9472;META-INF
&#9500;&#9472;&#9472;&#9472;etc
&#9500;&#9472;&#9472;&#9472;lib
&#9500;&#9472;&#9472;&#9472;public
&#9474;   &#9500;&#9472;&#9472;&#9472;dist
&#9474;   &#9492;&#9472;&#9472;&#9472;lib
&#9492;&#9472;&#9472;&#9472;src
    &#9500;&#9472;&#9472;&#9472;ear
    &#9474;   &#9492;&#9472;&#9472;&#9472;META-INF
    &#9500;&#9472;&#9472;&#9472;ejb
    &#9474;   &#9492;&#9472;&#9472;&#9472;META-INF
    &#9500;&#9472;&#9472;&#9472;java
    &#9474;   &#9492;&#9472;&#9472;&#9472;com
    &#9474;       &#9492;&#9472;&#9472;&#9472;XXX
    &#9474;           &#9492;&#9472;&#9472;&#9472;...
    &#9500;&#9472;&#9472;&#9472;properties
    &#9492;&#9472;&#9472;&#9472;web
        &#9500;&#9472;&#9472;&#9472;META-INF
        &#9492;&#9472;&#9472;&#9472;WEB-INF

Eclipse fails with a "<project name> does not exist." error message. The
.project file is created anyway.
Comment 1 Jesper Kamstrup Linnet CLA 2003-07-17 07:06:03 EDT
Created attachment 5494 [details]
Error log
Comment 2 Jesper Kamstrup Linnet CLA 2003-07-17 07:09:48 EDT
Sorry about the original layout. The correct directory layout is shown below:

+---config
¦   +---messagebean
¦   ¦   +---META-INF
¦   +---sessionbean
¦       +---META-INF
+---etc
+---lib
+---public
¦   +---dist
¦   +---lib
+---src
    +---ear
    ¦   +---META-INF
    +---ejb
    ¦   +---META-INF
    +---java
    ¦   +---com
    ¦       +---XXX
    ¦           +---...
    +---properties
    +---web
        +---META-INF
        +---WEB-INF
Comment 3 Philipe Mulet CLA 2003-07-21 10:45:55 EDT
Suspicion is that working copies should not populated namelookup when no need 
for problem detection.
Comment 4 Jerome Lanneluc CLA 2003-07-21 11:12:48 EDT
That was it. Fixed CompilationUnit.reconcile(boolean, WorkingCopyOwner, 
IProgressMonitor) and added regression test 
WorkingCopyNotInClasspathTests.testReconcileNonExistingProject()
Comment 5 Philipe Mulet CLA 2003-07-22 11:39:56 EDT
*** Bug 40601 has been marked as a duplicate of this bug. ***
Comment 6 Philipe Mulet CLA 2003-07-23 05:00:32 EDT
*** Bug 40631 has been marked as a duplicate of this bug. ***
Comment 7 Philipe Mulet CLA 2003-07-25 05:32:29 EDT
*** Bug 40734 has been marked as a duplicate of this bug. ***
Comment 8 Olivier Thomann CLA 2003-07-29 11:40:49 EDT
*** Bug 40864 has been marked as a duplicate of this bug. ***
Comment 9 Rafael Chaves CLA 2003-07-30 10:16:36 EDT
*** Bug 40932 has been marked as a duplicate of this bug. ***
Comment 10 Rafael Chaves CLA 2003-08-02 21:41:36 EDT
*** Bug 41062 has been marked as a duplicate of this bug. ***
Comment 11 Rafael Chaves CLA 2003-08-02 21:42:49 EDT
*** Bug 41043 has been marked as a duplicate of this bug. ***
Comment 12 Olivier Thomann CLA 2003-08-05 15:53:42 EDT
*** Bug 41140 has been marked as a duplicate of this bug. ***
Comment 13 Martin Aeschlimann CLA 2003-08-08 05:43:05 EDT
*** Bug 41285 has been marked as a duplicate of this bug. ***
Comment 14 David Audel CLA 2003-08-28 04:47:03 EDT
Verified.