Bug 40322 - Error creating new Java projects
Summary: Error creating new Java projects
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows NT
: P3 major (vote)
Target Milestone: 3.0 M3   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 40601 40631 40734 40864 40932 41043 41062 41140 41285 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-17 07:04 EDT by Jesper Kamstrup Linnet CLA
Modified: 2003-08-28 04:47 EDT (History)
8 users (show)

See Also:


Attachments
Error log (5.99 KB, application/octet-stream)
2003-07-17 07:06 EDT, Jesper Kamstrup Linnet CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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:

├───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

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.