|
Re: Any possibility to filter certain Java files from discoverer? [message #501492 is a reply to message #501417] |
Wed, 02 December 2009 14:51 |
Fabien Giquel Messages: 147 Registered: July 2009 |
Senior Member |
|
|
Hi Jan,
until now there is no way for filtering some java files neither for 'J2SE5 discoverer' nor 'Java discoverer'.
We recently have worked on parameterizing the 'Java' discoverer (not the 'J2SE5' one). But we did not implement .java files filters.
So such a contribution would be welcome !
Here are some informations about Java discoverers implementation :
If you get the sources for the org.eclipse.gmt.modisco.java.features (0.7.0), you will notice that :
- A DiscoverJavaModelFromJavaProject class waits for a DiscoveryParametersBean parameter which allows to indicate which artefacts should be analysed (selected project + some .jar from classpath of the selected project + some projects referenced from the selected project...etc)
- Using the discoverer from the popup menu will open a window, implemented in JavaWizard class, which allows the end user to select the artefacts.
So if you wish to contribute for filtering .java files, it seems to me that it will now better fit in the 'Java' discoverer than the 'J2SE5' one, with two levels of achievment :
- Completing 'DiscoveryParametersBean' for storing .java files filters (might be java packages filters i think), and modifying the 'DiscoverJavaModelFromJavaProject' for getting this new parameter and giving it to the basic 'JavaReader' class (in options Map) which would actually apply the filter.
- Additionally (and optionnally) completing the JavaWizard to allow the end user to indicate the Java classes/packages filter to apply from the popup menu.
If you are interested, it would be great to receive such a contribution in a patch submitted in bugzilla.
Best regards,
----------------------------------------------------
Fabien GIQUEL
R&D Engineer
Mia-Software
rue Nina Simone
44000 NANTES
----------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
Re: Any possibility to filter certain Java files from discoverer? [message #573864 is a reply to message #501417] |
Wed, 02 December 2009 14:51 |
Fabien Giquel Messages: 147 Registered: July 2009 |
Senior Member |
|
|
Hi Jan,
until now there is no way for filtering some java files neither for 'J2SE5 discoverer' nor 'Java discoverer'.
We recently have worked on parameterizing the 'Java' discoverer (not the 'J2SE5' one). But we did not implement .java files filters.
So such a contribution would be welcome !
Here are some informations about Java discoverers implementation :
If you get the sources for the org.eclipse.gmt.modisco.java.features (0.7.0), you will notice that :
- A DiscoverJavaModelFromJavaProject class waits for a DiscoveryParametersBean parameter which allows to indicate which artefacts should be analysed (selected project + some .jar from classpath of the selected project + some projects referenced from the selected project...etc)
- Using the discoverer from the popup menu will open a window, implemented in JavaWizard class, which allows the end user to select the artefacts.
So if you wish to contribute for filtering .java files, it seems to me that it will now better fit in the 'Java' discoverer than the 'J2SE5' one, with two levels of achievment :
- Completing 'DiscoveryParametersBean' for storing .java files filters (might be java packages filters i think), and modifying the 'DiscoverJavaModelFromJavaProject' for getting this new parameter and giving it to the basic 'JavaReader' class (in options Map) which would actually apply the filter.
- Additionally (and optionnally) completing the JavaWizard to allow the end user to indicate the Java classes/packages filter to apply from the popup menu.
If you are interested, it would be great to receive such a contribution in a patch submitted in bugzilla.
Best regards,
--
----------------------------------------------------
Fabien GIQUEL
R&D Engineer
mailto:fgiquel@mia-software.com
Mia-Software
4, rue du Château de l'Eraudiere
44324 NANTES CEDEX 03
----------------------------------------------------
----------------------------------------------------
Fabien GIQUEL
R&D Engineer
Mia-Software
rue Nina Simone
44000 NANTES
----------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04764 seconds