Bug 106195 - blocked creating new CU while checking out from CVS
Summary: blocked creating new CU while checking out from CVS
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-05 12:28 EDT by Darin Wright CLA
Modified: 2007-06-20 08:07 EDT (History)
1 user (show)

See Also:


Attachments
Screenshot (131.78 KB, image/png)
2005-08-05 12:28 EDT, Darin Wright CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2005-08-05 12:28:11 EDT
I20050803

* I started to check out a large project from a CVS server.
* While waiting, tried to create a Java CU in an unrelated project.

Creation of the new CU was blocked on the CVS checkout. However, there should 
be no reason to block, as the operations as on seperate projects. Will attach 
screen shot.
Comment 1 Darin Wright CLA 2005-08-05 12:28:52 EDT
Created attachment 25759 [details]
Screenshot

Blocked dialog showing CU creationg and CVS checkout in contention.
Comment 2 Dirk Baeumer CLA 2005-08-05 12:46:33 EDT
The problem is that UI doesn't know which rule to take. Do we need a rule on the
package, or the project. It depends on what look
IPackageFragement#createCompilationUnit needs.

We need something comparable to IResourceRuleFactory for Java elements to handle
these cases correctly. Or corresponding methods on the Java elements.

Moving to JDT/Core to comment on this.
Comment 3 Frederic Fusier CLA 2007-06-19 07:36:47 EDT
Reproduced with 3.3 RC4
Comment 4 Jerome Lanneluc CLA 2007-06-20 08:07:00 EDT
Marking as enhancement since we need a new API on JDT/Core to solve this problem.