Bug 12392

Summary: Problems to add Project from repository
Product: [Eclipse Project] JDT Reporter: Mirko Novakovic <mirko.novakovic>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: dj.houghton, Kevin_McGuire
Version: 2.0   
Target Milestone: 2.0 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Mirko Novakovic CLA 2002-03-27 16:21:32 EST
Hello,

I have problems with adding projects to my Java view. If I add a project 
with "Check out as project" in the CVS Respoitories view, I see it in the 
Resources Perspective, but not in the Java Perspective. 

The only way is to add a new Project (with the same name in the repository) to 
my Java Perspective and than synchronize it with the repository.

My current version is: Stable Build 20020321 

Mirko
Comment 1 DJ Houghton CLA 2002-03-27 17:35:32 EST
*** Bug 12393 has been marked as a duplicate of this bug. ***
Comment 2 DJ Houghton CLA 2002-03-27 17:36:41 EST
Are the projects in your repository Eclipse projects? (e.g. do they contain 
either a .project or .vcm_meta file?)

Moving to Platform/VCM for comment.
Comment 3 Kevin McGuire CLA 2002-03-27 22:21:00 EST
I saw similar today but with completely different steps not involving VCM:

- create a vanilla project
- added the lines to .project to "turn it into a java project"

The resulting project was decorated with a 'J' in the navigator and I was able 
to get at its Java properties and change its source folder, a bin folder 
appeared in the project, etc., which all suggests it was a real java project.

And yet, I couldn't get it to show up in the Packages view.  I tried closing 
and recreating the Packages view to no avail.  I didn't try closing and 
restarting the workbench (it was end of day and had to get going).

Moving to JDT-UI for comment.
Comment 4 Mirko Novakovic CLA 2002-04-01 14:50:53 EST
Yes, there is a .project file in the repository, and in the workspace local 
file system.


Mirko
Comment 5 Erich Gamma CLA 2002-05-12 08:00:36 EDT
As a workaround try to close and reopen the Java project in the navigator.

moving to JDT CORE for investigation.
Comment 6 Philipe Mulet CLA 2002-05-14 05:15:51 EDT
We did not reconcile addition of Java nature properly. This should be fixed in 
latest integration build.

Please confirm it is so.
Comment 7 Philipe Mulet CLA 2002-05-14 11:15:10 EDT

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