Bug 486570 - [DiaGen][Releng] allow the generation of clazz diagram at build time
Summary: [DiaGen][Releng] allow the generation of clazz diagram at build time
Status: UNCONFIRMED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: 1.2.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 473742
  Show dependency tree
 
Reported: 2016-01-26 09:23 EST by Francois Le Fevre CLA
Modified: 2017-08-07 11:38 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Le Fevre CLA 2016-01-26 09:23:22 EST
In order to have better continuous approach, it could be good to be able to generate clazz diagram code at buildtime thank to a gmf-tooling maven plugin.
Comment 1 Francois Le Fevre CLA 2016-02-01 09:51:17 EST
Locally, I am able to make:

[flefevre@is227415 org.eclipse.papyrus]$ mvn clean install -f releng/pom.xml -PdiagramGeneration

that conducts to the activation of the gmfgen-tooling
that performs in less than 1 mn the generation of the code

==================
org.eclipse.papyrus.uml.diagram.clazz .............. SUCCESS [ 57.573 s]

Please notice that the actual code indentation is a little different.
I have made the generation in the src folder and keep the source files in the git.

As soon as we have a non nightly version of the plugin, we could integrate it.
We need eventually:
- a new name for the plugin

Finnaly it sounds really great !

==================
[INFO] --- generate-maven-plugin:0.0.10-SNAPSHOT:generate (default) @ org.eclipse.papyrus.uml.diagram.clazz ---
[INFO] Command line:
	[/export/programs/jdk1.8.0_60/jre/bin/java, -Dosgi.os=linux, -Dosgi.ws=gtk, -Dosgi.arch=x86_64, -jar, /export/home/flefevre/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.3.200.v20151021-1308/org.eclipse.equinox.launcher-1.3.200.v20151021-1308.jar, -data, /export/home/flefevre/gitNeon/org.eclipse.papyrus/plugins/uml/diagram/class/osgi, -install, /export/home/flefevre/gitNeon/org.eclipse.papyrus/plugins/uml/diagram/class/work, -application, org.eclipse.gmf.tooling.codegen.launcher.GMFGenerateApplication, -configuration, /export/home/flefevre/gitNeon/org.eclipse.papyrus/plugins/uml/diagram/class/work/configuration, -generationProperties, /export/home/flefevre/gitNeon/org.eclipse.papyrus/plugins/uml/diagram/class/work/gmflauncher.properties]
Bundle presents in platform: org.eclipse.papyrus.def
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ org.eclipse.papyrus.uml.diagram.clazz ---