Community
Participate
Working Groups
Using build N20050607-0010 + JDT/Core HEAD I've 2 eclipse sessions opened on 2 different workspaces (of course...). 1) Create project Test in workspace 1 2) Create a class X in this project 3) In workspace 2, Import existing project "Test" from workspace 1 4) Expand project "Test" in package explorer: I can see a bin folder with a .project...!? Note that this happens both with RC1 and RC2, but I do not remember have this strange behavior before... (I often import existing project in my test workspaces)
I confirm that this does not happen with 3.1 M7. However, it seems that this cannot be reproducible systematically... :-( I'll try to understand when exactly it can be reproduced and reopen it when I get it...
It seems that Test class need to have compiler error... I get this unexpected bin/.project with following class Test.java: import java.util.HashMap; import java.util.List; public class Test<T> { List<String> x; HashMap<String, String> y; foo() {} }
Now that I have find a scenario to reproduce it, I can really confirm that it does not happen with 3.1 M7...
Import existing prject is a workspace operations. Frederic, I don't think that this is a UI problem. The bin folder is under JDT/Core control. We never put anything there. Could it be that the builder wrongly copies the file.
Wanted to say that Import existing projects is a Platform/UI operation.
Looks like a dup of bug 96258
If this is a dup of bug 96258, then Frédéric should not be able to reproduce it with the build he used. Bug 96258 has been verified with the same build used to reproduce this one.
Cannot reproduce with N20050608 + JDT/Core HEAD
In fact this problem seems to occur only while importing project from RC2 workspace to RC1 workspace I agree I never was able to reproduce it while importing project from RC2 wksp to RC2 wksp... I've also verified that importing project from RC1 wksp to RC2 wksp works properly and does not create this unexpected bin/.project file. Close as invalid as failing test case does not reflect a real life scenario, it was just specific for testing...