Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
MoDisco/KDMSourceDiscoverer
The goal of KDM Source Discoverer plugin is to allow practical extractions of KDM Source models from the file hierarchy of an application.
Details
This plugin aims at analysing the file system hierarchy of an application and providing a model describing the information found, conforming to KDM Source sub package. (see next Figure)
The Source package defines a set of meta-model elements whose purpose is to represent the physical artifacts of the existing system, such as source files, images, configuration files, resource descriptions, etc.
For an input folder, the KDM source discoverer visit each folder and file. For each file, it creates the appropriate sub class of InventoryItem using the Resources content type API. This plugin defines its own content types to properly classify file types.
Requirements
To use the plug-in you need:
- JDK 1.5 or above
- a version of Eclipse 3.3 or above with the following set of plugins installed
- EMF 2.3.0 or higher
- KDM metamodel
Team
Fabien Giquel (Mia-Software)
Source Repository
All of the source code is stored in a public source repository, which you can access at:
You can also browse it through the Web interface.
User manual
The plugin provides the user with a contextual menu to easily create models.
By right-clicking on a container (folder or project) in the Eclipse Package Explorer view, you can quickly create the KDM Source model of your application (see next Figure). Each of these models can then be used with any other tool compliant with the corresponding metamodel.
A progress bar will appear at the bottom of the window as soon as the operation begins. Depending on the size of your application, the reverse engineering might take some time to complete (see next Figure).
At the end of the process, the newly created model file is added at the root of your project and is automatically opened in the default editor (see next Figure).
It can be opened in MoDisco model browser (see next Figure) which brings some graphical improvements.