Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 297122 - Exclusion of Java files during Java project to model creation process
Summary: Exclusion of Java files during Java project to model creation process
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Contribution (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: 0.8.0   Edit
Assignee: Fabien Giquel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-07 14:52 EST by Romain Dervaux CLA
Modified: 2010-09-22 09:28 EDT (History)
3 users (show)

See Also:


Attachments
Proposed patch (12.45 KB, patch)
2009-12-07 14:52 EST, Romain Dervaux CLA
no flags Details | Diff
Java files filter for Java discoverer (12.48 KB, patch)
2009-12-08 12:59 EST, Romain Dervaux CLA
fabien.giquel: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Romain Dervaux CLA 2009-12-07 14:52:43 EST
Created attachment 153954 [details]
Proposed patch

Jan Mauersberger requested the possibility to exclude Java files during the
parse of the sources. See
http://www.eclipse.org/forums/index.php?t=msg&th=158776&start=0

Here is my solution : 
I added a entry field in the wizard which allows to indicate an unlimited
number of types and packages to be excluded.

For types, user has to give qualified names. (java.io.File for example)
For packages, user has 2 possibilities : with or without the .* at the end of
the package name. (for example, org.eclipse and org.eclipse.* are equals and
excludes all packages and types of package org.eclipse)
Comment 1 Hugo Bruneliere CLA 2009-12-08 04:44:25 EST
Hi Romain,

Thanks for you patch (and also your reactivity on the newsgroup!).

Fabien, as you are the lead developer on this "Java Discoverer" component, could you please check that the patch is OK and directly integrate it accordingly?

Best regards,

Hugo
Comment 2 Romain Dervaux CLA 2009-12-08 12:59:55 EST
Created attachment 154036 [details]
Java files filter for Java discoverer

Patch modified.
In the wizard, users can indicate case-insensitive names for better comfort and less error possibility.
Comment 3 Fabien Giquel CLA 2009-12-09 04:30:09 EST
Hi Romain,

could you make the usual confirmations via this bug:

1. You authored 100% of the content
2. You have the rights to donate the content to Eclipse under the EPL
3. You have both already provided the filled Employer Consent Forms to the
Foundation 

Fabien.
Comment 4 Romain Dervaux CLA 2009-12-09 06:57:01 EST
I confirm that

1. I, DERVAUX Romain, authored 100% of the content
2. I have the rights to donate the content to Eclipse under the EPL
3. I have both already provided the filled Employer Consent Forms to the
Foundation 

Romain DERVAUX.
Comment 5 Fabien Giquel CLA 2009-12-09 08:30:49 EST
Romain,

Your contribution has been successfully reviewed.
It is now available from the MoDisco SVN.

Thanks for this contribution!

Best regards,
Fabien.