Wiki » History » Revision 56
Revision 55 (Guillaume Babin, 03/05/2013 04:51 PM) → Revision 56/94 (Guillaume Babin, 03/05/2013 04:55 PM)
h1. Wiki h2. Editeur Lustre h3. Prérequis # Installer ObeoDesigner (http://www.obeodesigner.com/download) # Installer le plug-in Xtext sous ObeoDesigner (http://www.eclipse.org/Xtext/download.html) h3. Installation du projet en tant que plug-in Eclipse # Installer @maven@ (version 3 ou supérieure) (@sudo apt-get install maven@ sous Ubuntu) (configuration proxy : https://maven.apache.org/guides/mini/guide-proxies.html) # Récupérer le projet lustre-parent du dépot (@svn co https://cavale.enseeiht.fr/svn/lustreeditor@) # Se placer dans @<path>/lustreeditor/trunk/lustre-parent/@ @<path>/lustre-parent/@ # Exécuter @mvn clean verify@, attendre... # Sous Obeo, Help > Install new software > Add > Local # Sélectionner le répertoire @<path>/lustre-parent/features/org.obeonetwork.dsl.lustre.update/target/repository@ # Valider > Ok # Sélectionner le LustreEditor, installer. # Redémarrer ObeoDesigner, il est maintenant directement utilisable ! h3. Utilisation du projet, sans l'installer en tant que plug-in Eclipse # Récupérer le projet lustre-parent du dépot (@svn co https://cavale.enseeiht.fr/svn/lustreeditor@) # Sous Obeo, Import > General > Existing projects into workspace > Select root directory : Browse # Sélectionner @<path>/lustreeditor/trunk/lustre-parent/plugins@ @<path>/lustre-parent/plugins@ # Select All > Finish # Clic droit sur l'un des projets importés > Run as > Eclipse Application # Un 2° Obeo se lance, il est maintenant utilisable via ce second Eclipse ! h3. Utilisation de l'éditeur # Créer un project Modeling project # Ajouter un fichier "Nomdufichier".lus (Ajouter via import ou drag&drop, et non pas Créer) # Faire clic droit sur le projet # Sélectionner Viewpoints Selection # Cocher Lustre Design # Dérouler le fichier "Nomdufichier".lus dans l'Explorer Eclipse jusqu'a voir "Program" # Clic droit et faire New Representation -> new Program Diagram # Entrer un nom NB : Si la pop-up bar de l'éditeur graphique vous dérange, vous pouvez l'enlever, modifier : Window > Preferences > Viewpoint > Viewpoint Diagram > Global settings > show popup bars h2. Projet long ENSEEIHT 2013 * [[ProjetLongN72013|Travail préliminaire]] * [[CdC|Dossier de Spécification Logicielle]] * [[Grammaire|Grammaire Lustre]]