Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331309

Summary: Ambiguous name between a class and a project
Product: [Modeling] MoDisco Reporter: Stephane Rousseau <srousseau>
Component: MainAssignee: Fabien Giquel <fabien.giquel>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: fabien.giquel, hugo.bruneliere, modisco.web-inbox
Version: 0.9.0Flags: fabien.giquel: indigo+
Target Milestone: 0.9.0 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch nicolas.bros: iplog+

Description Stephane Rousseau CLA 2010-11-29 04:32:58 EST
Created attachment 184014 [details]
Patch

Hello,

With Modisco 0.9.0 and Eclipse 3.7.0, benchmark test fails on Hudson because of the way of creating the project. In a package, we have a class named JavaDiscovererBenchmarkTest and a subpackage with the same name.

So requesting the object with the qualified name can return the class instead of the package. This makes an error.

Here is a patch to change the name of the package.
Comment 1 Stephane Rousseau CLA 2010-11-29 05:09:59 EST
Hi

(a) I, Stephane Rousseau, wrote 100% of the code I've provided.
(b) I have the right to contribute the code to Eclipse.
(c) I contribute the content under the EPL.
Comment 2 Fabien Giquel CLA 2010-11-29 09:12:38 EST
Thank you for you path.
It is less than 250 loc : no CQ required.
It has been commited into SVN on 0.9 branch (revision 3619)
Comment 3 Hugo Bruneliere CLA 2011-01-11 05:20:36 EST
Bug fixed via a patch.