Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit 8f45c942 authored by Depasse Arthur's avatar Depasse Arthur

ajout d'un projet acceleo dans le second workspace

parent dea5f0d3
......@@ -8,6 +8,10 @@
<description xmi:type="description_1:DiagramDescription" href="platform:/plugin/fr.supelec.plong9.fsm.design/description/fsm.odesign#//@ownedViewpoints[name='FSMViewpoint']/@ownedRepresentations[name='FSMDiagram']"/>
<target xmi:type="fsm:FSM" href="My.fsm#/"/>
</ownedRepresentationDescriptors>
<ownedRepresentationDescriptors xmi:type="viewpoint:DRepresentationDescriptor" xmi:id="_FSdBUDrVEemcm56I_drVWA" name="new FSMDiagram" repPath="#_FPvEgDrVEemcm56I_drVWA">
<description xmi:type="description_1:DiagramDescription" href="platform:/plugin/fr.supelec.plong9.fsm.design/description/fsm.odesign#//@ownedViewpoints[name='FSMViewpoint']/@ownedRepresentations[name='FSMDiagram']"/>
<target xmi:type="fsm:FSM" href="Server.fsm#/"/>
</ownedRepresentationDescriptors>
</ownedViews>
</viewpoint:DAnalysis>
<diagram:DSemanticDiagram xmi:id="_I9QkMDnaEemSIPKdEadlfw" name="new FSMDiagram" uid="_I8jZkDnaEemSIPKdEadlfw">
......@@ -69,4 +73,66 @@
<activatedLayers xmi:type="description_1:Layer" href="platform:/plugin/fr.supelec.plong9.fsm.design/description/fsm.odesign#//@ownedViewpoints[name='FSMViewpoint']/@ownedRepresentations[name='FSMDiagram']/@defaultLayer"/>
<target xmi:type="fsm:FSM" href="My.fsm#/"/>
</diagram:DSemanticDiagram>
<diagram:DSemanticDiagram xmi:id="_FSZW8DrVEemcm56I_drVWA" name="new FSMDiagram" uid="_FPvEgDrVEemcm56I_drVWA">
<ownedAnnotationEntries xmi:type="description:AnnotationEntry" xmi:id="_FSZW8TrVEemcm56I_drVWA" source="DANNOTATION_CUSTOMIZATION_KEY">
<data xmi:type="diagram:ComputedStyleDescriptionRegistry" xmi:id="_FSZW8jrVEemcm56I_drVWA"/>
</ownedAnnotationEntries>
<ownedAnnotationEntries xmi:type="description:AnnotationEntry" xmi:id="_FSsR4DrVEemcm56I_drVWA" source="GMF_DIAGRAMS">
<data xmi:type="notation:Diagram" xmi:id="_FSsR4TrVEemcm56I_drVWA" type="Sirius" element="_FSZW8DrVEemcm56I_drVWA" measurementUnit="Pixel">
<children xmi:type="notation:Node" xmi:id="_FS9-sDrVEemcm56I_drVWA" type="2001" element="_FSZW9DrVEemcm56I_drVWA">
<children xmi:type="notation:Node" xmi:id="_FTJk4DrVEemcm56I_drVWA" type="5002">
<layoutConstraint xmi:type="notation:Location" xmi:id="_FTJk4TrVEemcm56I_drVWA" y="5"/>
</children>
<children xmi:type="notation:Node" xmi:id="_FT2vgDrVEemcm56I_drVWA" type="3004" element="_FSZW9TrVEemcm56I_drVWA">
<styles xmi:type="notation:ShapeStyle" xmi:id="_FT2vgTrVEemcm56I_drVWA" fontName=".AppleSystemUIFont"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_FT2vgjrVEemcm56I_drVWA"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_FS9-sTrVEemcm56I_drVWA" fontName=".AppleSystemUIFont" fontHeight="12" italic="true"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_FS9-sjrVEemcm56I_drVWA" x="208" y="104" width="98" height="45"/>
</children>
<styles xmi:type="notation:DiagramStyle" xmi:id="_FSsR4jrVEemcm56I_drVWA"/>
<edges xmi:type="notation:Edge" xmi:id="_FUTbcDrVEemcm56I_drVWA" type="4001" element="_FSZW9jrVEemcm56I_drVWA" source="_FS9-sDrVEemcm56I_drVWA" target="_FS9-sDrVEemcm56I_drVWA">
<children xmi:type="notation:Node" xmi:id="_FUUpkDrVEemcm56I_drVWA" type="6001">
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_FUUpkTrVEemcm56I_drVWA" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_FUVQoDrVEemcm56I_drVWA" type="6002">
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_FUVQoTrVEemcm56I_drVWA" y="10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_FUV3sDrVEemcm56I_drVWA" type="6003">
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_FUV3sTrVEemcm56I_drVWA" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_FUTbcTrVEemcm56I_drVWA"/>
<styles xmi:type="notation:FontStyle" xmi:id="_FUTbcjrVEemcm56I_drVWA" fontName=".AppleSystemUIFont" fontHeight="12"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_FUTbczrVEemcm56I_drVWA" points="[68, -14, 68, -14]$[68, -14, 68, -14]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FUoLkDrVEemcm56I_drVWA" id="(0.8469387755102041,0.3333333333333333)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FUoLkTrVEemcm56I_drVWA" id="(0.8469387755102041,0.3333333333333333)"/>
</edges>
</data>
</ownedAnnotationEntries>
<ownedDiagramElements xmi:type="diagram:DNode" xmi:id="_FSZW9DrVEemcm56I_drVWA" name="Attente" outgoingEdges="_FSZW9jrVEemcm56I_drVWA" incomingEdges="_FSZW9jrVEemcm56I_drVWA" width="3" height="3" resizeKind="NSEW">
<target xmi:type="fsm:State" href="Server.fsm#//@ownedStates.0"/>
<semanticElements xmi:type="fsm:State" href="Server.fsm#//@ownedStates.0"/>
<arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
<arrangeConstraints>KEEP_SIZE</arrangeConstraints>
<arrangeConstraints>KEEP_RATIO</arrangeConstraints>
<ownedStyle xmi:type="diagram:BundledImage" xmi:id="_FSZW9TrVEemcm56I_drVWA" labelSize="12" showIcon="false" labelPosition="node" shape="ring" color="255,245,181">
<labelFormat>italic</labelFormat>
<description xmi:type="style:BundledImageDescription" href="platform:/plugin/fr.supelec.plong9.fsm.design/description/fsm.odesign#//@ownedViewpoints[name='FSMViewpoint']/@ownedRepresentations[name='FSMDiagram']/@defaultLayer/@nodeMappings[name='StateNode']/@style"/>
</ownedStyle>
<actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/fr.supelec.plong9.fsm.design/description/fsm.odesign#//@ownedViewpoints[name='FSMViewpoint']/@ownedRepresentations[name='FSMDiagram']/@defaultLayer/@nodeMappings[name='StateNode']"/>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" xmi:id="_FSZW9jrVEemcm56I_drVWA" name="?ping / !pong" sourceNode="_FSZW9DrVEemcm56I_drVWA" targetNode="_FSZW9DrVEemcm56I_drVWA">
<target xmi:type="fsm:Transition" href="Server.fsm#//@ownedStates.0/@outgoingTransitions.0"/>
<semanticElements xmi:type="fsm:Transition" href="Server.fsm#//@ownedStates.0/@outgoingTransitions.0"/>
<ownedStyle xmi:type="diagram:EdgeStyle" xmi:id="_FSZW9zrVEemcm56I_drVWA" size="2" centered="Both">
<description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/fr.supelec.plong9.fsm.design/description/fsm.odesign#//@ownedViewpoints[name='FSMViewpoint']/@ownedRepresentations[name='FSMDiagram']/@defaultLayer/@edgeMappings[name='TransitionEdge']/@style"/>
<centerLabelStyle xmi:type="diagram:CenterLabelStyle" xmi:id="_FSZW-DrVEemcm56I_drVWA" labelSize="12" showIcon="false"/>
</ownedStyle>
<actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/fr.supelec.plong9.fsm.design/description/fsm.odesign#//@ownedViewpoints[name='FSMViewpoint']/@ownedRepresentations[name='FSMDiagram']/@defaultLayer/@edgeMappings[name='TransitionEdge']"/>
</ownedDiagramElements>
<description xmi:type="description_1:DiagramDescription" href="platform:/plugin/fr.supelec.plong9.fsm.design/description/fsm.odesign#//@ownedViewpoints[name='FSMViewpoint']/@ownedRepresentations[name='FSMDiagram']"/>
<filterVariableHistory xmi:type="diagram:FilterVariableHistory" xmi:id="_FSZW-TrVEemcm56I_drVWA"/>
<activatedLayers xmi:type="description_1:Layer" href="platform:/plugin/fr.supelec.plong9.fsm.design/description/fsm.odesign#//@ownedViewpoints[name='FSMViewpoint']/@ownedRepresentations[name='FSMDiagram']/@defaultLayer"/>
<target xmi:type="fsm:FSM" href="Server.fsm#/"/>
</diagram:DSemanticDiagram>
</xmi:XMI>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>demonstration</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
<nature>org.eclipse.sirius.nature.modelingproject</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<fsm:FSM xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:fsm="fr.supelec.plong9.fsm">
<ownedStates incomingTransitions="//@ownedStates.1/@outgoingTransitions.0"/>
<ownedStates>
<outgoingTransitions target="//@ownedStates.0"/>
</ownedStates>
</fsm:FSM>
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-10"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" output="bin" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.acceleo.module.sample</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.acceleo.ide.ui.acceleoBuilder</name>
<arguments>
<dictionary>
<key>compilation.kind</key>
<value>compilation.platform.resource</value>
</dictionary>
<dictionary>
<key>compliance</key>
<value>pragmatic</value>
</dictionary>
<dictionary>
<key>resource.kind</key>
<value>xmi</value>
</dictionary>
<dictionary>
<key>trim-position</key>
<value>false</value>
</dictionary>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.acceleo.ide.ui.acceleoNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Acceleo Sample Module Runtime Plug-in
Bundle-SymbolicName: org.eclipse.acceleo.module.sample
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: org.eclipse.acceleo.module.sample.Activator
Bundle-Vendor: Eclipse Modeling Project
Require-Bundle: org.eclipse.core.runtime,
fr.supelec.plong9.fsm,
org.eclipse.emf.ecore,
org.eclipse.emf.ecore.xmi,
org.eclipse.ocl,
org.eclipse.ocl.ecore,
org.eclipse.acceleo.common;bundle-version="3.3.0",
org.eclipse.acceleo.model;bundle-version="3.3.0",
org.eclipse.acceleo.profiler;bundle-version="3.3.0",
org.eclipse.acceleo.engine;bundle-version="3.3.0",
com.google.guava
Bundle-RequiredExecutionEnvironment: JavaSE-10
Bundle-ActivationPolicy: lazy
Eclipse-LazyStart: true
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.
jre.compilation.profile = JavaSE-10
/*******************************************************************************
* Copyright (c) 2008, 2011 Obeo.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.acceleo.module.sample;
import org.eclipse.core.runtime.Plugin;
import org.osgi.framework.BundleContext;
/**
* The activator class controls the plug-in life cycle.
*/
public class Activator extends Plugin {
/**
* The plug-in ID.
*/
public static final String PLUGIN_ID = "org.eclipse.acceleo.module.sample";
/**
* The shared instance.
*/
private static Activator plugin;
/**
* The constructor.
*/
public Activator() {
}
/**
* {@inheritDoc}
*
* @see org.eclipse.core.runtime.Plugin#start(org.osgi.framework.BundleContext)
*/
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
}
/**
* {@inheritDoc}
*
* @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
*/
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
}
/**
* Returns the shared instance.
*
* @return the shared instance
*/
public static Activator getDefault() {
return plugin;
}
}
[comment encoding = UTF-8 /]
[module generate('fr.supelec.plong9.fsm')]
[template public generateElement(aFSM : FSM)]
[comment @main /]
[file (aFSM.name.concat('.java'), false)]
[/file]
[/template]
<?xml version="1.0" encoding="UTF-8"?>
<project default="generate" name="org.eclipse.acceleo.module.sample">
<property name="ECLIPSE_HOME" value="../../../../../../../Applications/EclipseGEMOC.app/Contents/Eclipse"/>
<property name="ECLIPSE_WORKSPACE" value="../.."/>
<!-- The classpath with only the dependencies used by the project -->
<path id="org.eclipse.acceleo.module.sample.libraryclasspath">
<pathelement location="${ECLIPSE_WORKSPACE}/org.eclipse.acceleo.module.sample/bin"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime_3.14.0.v20180417-0825.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/javax.inject_1.0.0.v20091030.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi_3.13.0.v20180409-1500.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.weaving.hook_1.2.100.v20171221-2204.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.fx.osgi_3.3.0.201805280500.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi.compatibility.state_1.1.100.v20180331-1743.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.common_3.10.0.v20180412-1130.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.jobs_3.10.0.v20180427-1454.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.registry_3.8.0.v20180426-1327.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.preferences_3.7.100.v20180510-1129.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.contenttype_3.7.0.v20180426-1644.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.app_1.3.500.v20171221-2204.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore_2.14.0.v20180529-1144.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.common_2.14.0.v20180527-1134.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.xmi_2.14.0.v20180129-1548.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl_3.9.0.v20180611-1119.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/lpg.runtime.java_2.0.17.v201004271640.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.common_1.4.300.v20180611-1119.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.ecore_3.9.0.v20180611-1119.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.common_3.7.3.201802240723.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.model_3.7.3.201802240723.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.profiler_3.7.3.201802240723.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.engine_3.7.3.201802240723.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen.ecore_2.14.0.v20180418-0836.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen_2.13.0.v20180319-0813.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/com.google.guava_21.0.0.v20170206-1425.jar"/>
</path>
<path id="org.eclipse.acceleo.module.sample.classpath">
<path refid="org.eclipse.acceleo.module.sample.libraryclasspath"/>
</path>
<!-- The classpath with only the jars available in the plugin folder of Eclipse -->
<path id="org.eclipse.acceleo.module.sample.libraryclasspath.alljars">
<pathelement location="../org.eclipse.acceleo.module.sample/bin"/>
<fileset dir="${ECLIPSE_HOME}/plugins/" includes="*.jar"/>
</path>
<path id="org.eclipse.acceleo.module.sample.classpath.alljars">
<path refid="org.eclipse.acceleo.module.sample.libraryclasspath.alljars"/>
</path>
<!-- The default task with the jars used by this project -->
<target name="generate">
<java classname="org.eclipse.acceleo.module.sample.common.Generate" classpathref="org.eclipse.acceleo.module.sample.classpath">
<arg value="${model}"/>
<arg value="${target}"/>
</java>
</target>
<!--
In case of problem you can also try with all the jar available in your Eclipse
Keep in mind that having two versions of the same jar can create problems
-->
<target name="generate.alljars">
<java classname="org.eclipse.acceleo.module.sample.common.Generate" classpathref="org.eclipse.acceleo.module.sample.classpath">
<arg value="${model}"/>
<arg value="${target}"/>
</java>
</target>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Place this file in the target project and call it with "External Tools > Run As > Ant Build" -->
<!-- You have to change the MODEL and the TARGET values -->
<project basedir="." default="generateSample" name="org.eclipse.acceleo.module.sampleSample">
<import file="../../org.eclipse.acceleo.module.sample/tasks/generate.xml"/>
<!-- Change the values of MODEL and TARGET to point to your model and output folder -->
<property name="MODEL" value="${basedir}/model/file.xmi"/>
<property name="TARGET" value="${basedir}/src-gen"/>
<target name="generateSample" description="Generate files in 'TARGET'">
<antcall target="generate" >
<param name="model" value="${MODEL}"/>
<param name="target" value="${TARGET}"/>
</antcall>
</target>
</project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment