This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository eugene. See https://gitlab.nuiton.org/nuiton/eugene.git commit 1c88cee9945cc84b8b737f0ec9710c2ca73cf061 Author: Tony CHEMIT <chemit@codelutin.com> Date: Sat Sep 10 14:03:01 2016 +0200 Add doc --- .../TransformCompactToFlatPropertiesMojo.java | 30 ++++++++++++++++++++++ .../TransformFlatPropertiesToCompactMojo.java | 30 ++++++++++++++++++++++ eugene-maven-plugin/src/site/fr/rst/usage.rst | 29 +++++++++++++++++++++ eugene-maven-plugin/src/site/rst/usage.rst | 29 +++++++++++++++++++++ 4 files changed, 118 insertions(+) diff --git a/eugene-maven-plugin/src/main/java/org/nuiton/eugene/plugin/TransformCompactToFlatPropertiesMojo.java b/eugene-maven-plugin/src/main/java/org/nuiton/eugene/plugin/TransformCompactToFlatPropertiesMojo.java index cc34b86..98bdf20 100644 --- a/eugene-maven-plugin/src/main/java/org/nuiton/eugene/plugin/TransformCompactToFlatPropertiesMojo.java +++ b/eugene-maven-plugin/src/main/java/org/nuiton/eugene/plugin/TransformCompactToFlatPropertiesMojo.java @@ -22,6 +22,36 @@ import java.util.Set; /** * To a transform some object model extension files in compact format to a single flat properties format. * + * <h3>Example of compact format</h3> + * <pre> + * + * [model] + * modeTagValue value + * modelStereotype + * + * [package] + * fr.ird.observe.entities + * packageTagValue value + * packageStereotype + * [class] + * fr.ird.observe.entities.CommentableEntity + * classTagValue value + * classStereotype + * attribute.attributeTagValue value + * attribute.attributeStereotype + * </pre> + * + * <h3>Example of flat properties format</h3> + * <pre> + * model.tagValue.modeTagValue=value + * model.stereotype.modelStereotype + * package.fr.ird.observe.entities.tagValue.packageTagValue=value + * package.fr.ird.observe.entities.stereotype=packageStereotype + * fr.ird.observe.entities.CommentableEntity.class.tagValue.classTagValue=value + * fr.ird.observe.entities.CommentableEntity.class.stereotype=classStereotype + * fr.ird.observe.entities.CommentableEntity.attribute.attribute.tagValue.attributeTagValue=value + * fr.ird.observe.entities.CommentableEntity.attribute.attribute.stereotype=attributeStereotype* + * </pre> * Created on 09/09/16. * * @author Tony Chemit - chemit@codelutin.com diff --git a/eugene-maven-plugin/src/main/java/org/nuiton/eugene/plugin/TransformFlatPropertiesToCompactMojo.java b/eugene-maven-plugin/src/main/java/org/nuiton/eugene/plugin/TransformFlatPropertiesToCompactMojo.java index 51c907c..3b683fc 100644 --- a/eugene-maven-plugin/src/main/java/org/nuiton/eugene/plugin/TransformFlatPropertiesToCompactMojo.java +++ b/eugene-maven-plugin/src/main/java/org/nuiton/eugene/plugin/TransformFlatPropertiesToCompactMojo.java @@ -20,6 +20,36 @@ import java.util.Set; /** * To a transform some object model extension files in flat properties format to a single file in compact format. * + * <h3>Example of compact format</h3> + * <pre> + * + * [model] + * modeTagValue value + * modelStereotype + * + * [package] + * fr.ird.observe.entities + * packageTagValue value + * packageStereotype + * [class] + * fr.ird.observe.entities.CommentableEntity + * classTagValue value + * classStereotype + * attribute.attributeTagValue value + * attribute.attributeStereotype + * </pre> + * + * <h3>Example of flat properties format</h3> + * <pre> + * model.tagValue.modeTagValue=value + * model.stereotype.modelStereotype + * package.fr.ird.observe.entities.tagValue.packageTagValue=value + * package.fr.ird.observe.entities.stereotype=packageStereotype + * fr.ird.observe.entities.CommentableEntity.class.tagValue.classTagValue=value + * fr.ird.observe.entities.CommentableEntity.class.stereotype=classStereotype + * fr.ird.observe.entities.CommentableEntity.attribute.attribute.tagValue.attributeTagValue=value + * fr.ird.observe.entities.CommentableEntity.attribute.attribute.stereotype=attributeStereotype* + * </pre> * Created on 09/09/16. * * @author Tony Chemit - chemit@codelutin.com diff --git a/eugene-maven-plugin/src/site/fr/rst/usage.rst b/eugene-maven-plugin/src/site/fr/rst/usage.rst index f9a6873..186768f 100644 --- a/eugene-maven-plugin/src/site/fr/rst/usage.rst +++ b/eugene-maven-plugin/src/site/fr/rst/usage.rst @@ -390,3 +390,32 @@ Example: [objectmodel] with implementation 'org.nuiton.eugene.models.object.ObjectModelReader' Found one modeltemplate : [org.nuiton.eugene.java.JavaGenerator] with implementation 'org.nuiton.eugene.java.JavaGenerator' + +transform-flat-properties-to-compact +------------------------------------ + +Ce 'goal' transforme des fichiers d'exention du modèle au format properties vers un format plus compact (objectmodel-ext). + +Exemple de fichier sous ce format : + +:: + + [model] + modeTagValue value + modelStereotype + + [package] + fr.ird.observe.entities + packageTagValue value + packageStereotype + [class] + fr.ird.observe.entities.CommentableEntity + classTagValue value + classStereotype + attribute.attributeTagValue value + attribute.attributeStereotype + +transform-compact-to-flat-properties +------------------------------------ + +Ce 'goal' transforme des fichiers d'extension du modèle au compact vers le format classique de fichier de properties. diff --git a/eugene-maven-plugin/src/site/rst/usage.rst b/eugene-maven-plugin/src/site/rst/usage.rst index b77b600..04f0056 100644 --- a/eugene-maven-plugin/src/site/rst/usage.rst +++ b/eugene-maven-plugin/src/site/rst/usage.rst @@ -316,3 +316,32 @@ Example: [objectmodel] with implementation 'org.nuiton.eugene.models.object.ObjectModelReader' Found one modeltemplate : [org.nuiton.eugene.java.JavaGenerator] with implementation 'org.nuiton.eugene.java.JavaGenerator' + +transform-flat-properties-to-compact +------------------------------------ + +This goal transform some input files (model extension file with properties file format) to a unique file using a compact format (objectmodel-ext). + +Example of a such file: + +:: + + [model] + modeTagValue value + modelStereotype + + [package] + fr.ird.observe.entities + packageTagValue value + packageStereotype + [class] + fr.ird.observe.entities.CommentableEntity + classTagValue value + classStereotype + attribute.attributeTagValue value + attribute.attributeStereotype + +transform-compact-to-flat-properties +------------------------------------ + +This goal transform some input files (compact format) to a unique file using the classical properties file format. -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.