Proto-project for UML in EMF [message #1850269] |
Wed, 23 February 2022 12:11 |
Edouard R. Batot Messages: 100 Registered: March 2015 |
Senior Member |
|
|
Hi all,
it's all in the title I guess: I would like to browse through a bunch of modeling files to extract some statistics.
In a nutshell, I have XMI and java files and I would like to parse/load them - but I'd rather avoid building a parser from scratch for the ecore, uml, genmodel, etc. files.
As an example to start with, I have .uml files (xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML) that I'd like to load in a resourceSet to avoid parsing its XML content with SaX.
I've tryed using Maven to configure dependencies - but I then remembered that Eclipse was not really friend to Maven - maybe with the years it has changed but I could not put a hand on the "right" versions for interedependet jars, as largely discussed here on this forum.
I'd like to build a very basic protoproject that allows to load XMI files into Resource(Set)s for uml, genmodel, ecore, etc. How would you proceed? I precise that the version of UML will not change during the project - let this question on hold for later - and it can be all standalone with concrete JARs if this is the best solution. What do you reckon?
I've heard about Tycho but I must confess I have no idea what it is about. Neither how it works. Is there examples that show the use of Tycho SPECIFICALLY for Eclipse/Model development?
Thanks for your attention, wish you a great day,
Edouard
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03883 seconds