Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MoDisco » Modisco standalone
Modisco standalone [message #658261] Mon, 07 March 2011 15:28 Go to next message
Eclipse User
Originally posted by: jan-christopher.bals.uni-paderborn.de

Hi!

I´m looking for maven plugin which generates uml class diagrams from
source code during the maven build lifecycle.

Is it possible to use modisco for that?

I read something about running eclipse plugins headless (invoked via
command line).

Now i wonder if it is possible to write a maven plugin which invokes a
headless eclipse plugin which uses the modisco plugin.

best regards
Jan
Re: Modisco standalone [message #658630 is a reply to message #658261] Wed, 09 March 2011 10:16 Go to previous messageGo to next message
Fabien Giquel is currently offline Fabien Giquel
Messages: 138
Registered: July 2009
Senior Member
Hi,

yes it is possible to implement and launch some
org.eclipse.equinox.app.IApplication which will reference and invoke
MoDisco plugins. Some internet search will describe you this
IApplication framework.

You may browse MoDisco components Help (Help content or wiki
http://wiki.eclipse.org/MoDisco/Components) to know more about Java API.
About discoverers, each MoDisco discoverer responds to a normalized
interface and can be called programmatically (see
org.eclipse.gmt.modisco.infra.discoverymanager.Discoverer).
As an example, you may checkout the code from
org.eclipse.gmt.modisco.java.discoverer.tests project.

About Java source analysis, the MoDisco Java discoverer (and derived
discoverers such as transformations to KDM and UML) requires that the
source code is managed into one eclipse workspace project.

I hope it well help you to start.
Fabien.


----------------------------------------------------
Fabien GIQUEL
R&D Engineer
Mia-Software
4, rue du Château de l'Eraudiere
44324 NANTES CEDEX 03
----------------------------------------------------
Re: Modisco standalone [message #1106233 is a reply to message #658630] Tue, 10 September 2013 21:34 Go to previous message
Federico Tomassetti is currently offline Federico Tomassetti
Messages: 186
Registered: July 2009
Location: Torino
Senior Member

Does it mean basically that I can not get a model of a Java file in a standalone application? Do I need a running Eclipse (perphaps headless)?

Previous Topic:Creating a Java Class Programmatically by means of Java Model
Next Topic:Modisco excluded elements regex
Goto Forum:
  


Current Time: Thu Sep 18 01:39:59 GMT 2014

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

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