Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MoDisco » Discovering multiple related java projects
Discovering multiple related java projects [message #899848] Thu, 02 August 2012 15:01 Go to next message
Benjamin Klatt is currently offline Benjamin KlattFriend
Messages: 36
Registered: September 2010
Member
Hi,

We are analyzing software which is developed within multiple java projects.
However, selecting all required plugins and choosing to discover them

  • starts the java and inventory model discoverer once per project
  • requires us to put in the discoverer options once per project and
  • generates multiple java2kdm file sets which are not interconnected

Is there any way to discover multiple java projects at once to ensure all dependencies between model/java elements are resolved?

Thanks
Benjamin
Re: Discovering multiple related java projects [message #900036 is a reply to message #899848] Fri, 03 August 2012 14:52 Go to previous messageGo to next message
Fabien Giquel is currently offline Fabien GiquelFriend
Messages: 138
Registered: July 2009
Senior Member
Hi Benjamin,

yes there is a dedicated way to do it, unfortunetaly it seems there is some issue with it :

when you select one of your java project (which have dependencies to other of your projects), on "java and inventory model discoverer" parameters screen, you may click on "ELEMENTS_TO_ANALYZE" button and select not only one but several projects among dependencies to reverse to one single jav2kdm model.


After some basic tests, i observe some "IllegalArgumentException: No Null constraint". This multi-project selection works fine with simple java model discoverer. I think there is some issue in kdm model mapping with directories in several workspace projects.
I will feed some bugzilla about it.

Regards,
Fabien.


----------------------------------------------------
Fabien GIQUEL
R&D Engineer
Mia-Software
4, rue du Château de l'Eraudiere
44324 NANTES CEDEX 03
----------------------------------------------------
Re: Discovering multiple related java projects [message #900038 is a reply to message #900036] Fri, 03 August 2012 14:59 Go to previous messageGo to next message
Fabien Giquel is currently offline Fabien GiquelFriend
Messages: 138
Registered: July 2009
Senior Member
I entered the bugzilla https://bugs.eclipse.org/bugs/show_bug.cgi?id=386579



----------------------------------------------------
Fabien GIQUEL
R&D Engineer
Mia-Software
4, rue du Château de l'Eraudiere
44324 NANTES CEDEX 03
----------------------------------------------------
Re: Discovering multiple related java projects [message #900555 is a reply to message #900038] Tue, 07 August 2012 13:55 Go to previous messageGo to next message
Benjamin Klatt is currently offline Benjamin KlattFriend
Messages: 36
Registered: September 2010
Member
Thanks for pointing to this function. I could reproduce the bug you described above.
I added myself to the cc list of the bug to get notified.
Re: Discovering multiple related java projects [message #900556 is a reply to message #899848] Tue, 07 August 2012 13:56 Go to previous messageGo to next message
Benjamin Klatt is currently offline Benjamin KlattFriend
Messages: 36
Registered: September 2010
Member
Thanks for pointing to this function. I could reproduce the bug you described above.
I added myself to the cc list of the bug to get notified.
Re: Discovering multiple related java projects [message #1087898 is a reply to message #900556] Fri, 16 August 2013 08:47 Go to previous message
Benjamin Klatt is currently offline Benjamin KlattFriend
Messages: 36
Registered: September 2010
Member
I was able to fix this issue and provided attached a patch to the bugzilla entry.
Previous Topic:MetaModel Util Packages
Next Topic:KDM Method Invocation
Goto Forum:
  


Current Time: Sat Dec 20 03:06:12 GMT 2014

Powered by FUDForum. Page generated in 0.03077 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software