- Clone the SEQUENCEDIAGRAM folder
- In Eclipse, choose "File">"Import..." and select the SEQUENCEDIAGRAM folder
- Project opens
- View sequencediagram.ecore by right-clicking the model/efsm.ecore in the project panel and selecting "Initialize Ecore Diagram...".
- Clone the EFSM folder
- In Eclipse, choose "File">"Import..." and select the EFSM folder
- Project opens
- View efsm.ecore by right-clicking the model/efsm.ecore in the project panel and selecting "Initialize Ecore Diagram...".
- Clone the sequencediagram.editor folder
- In Eclipse, choose "File">"Import..." and select the sequencediagram.editor folder
- Project opens
- Run the sequencediagram.editor by right-clicking the sequencediagram.editor in the project panel and selecting "Run As Eclipse Application".
- Clone the SD2EFSM folder
- In Eclipse, choose "File">"Import..." and select the SD2EFSM folder
- Project opens
- Run the sequencediagram.editor by right-clicking the SequenceDiagram2EFSM.atl in the project panel and selecting "Run As ATL transformation".
- Clone the Sd2Stubs folder
- In Eclipse, choose "File">"Import..." and select the Sd2Stubs folder
- Project opens
- Run the generateStubs.mtl by right-clicking Sd2Stubs/src/Sd2Stubs.main/generateStubs.mtl in the project panel and selecting "Run As Launch Acceleo Application".
STEP (c) - How to generate model class, adapter class, test classe and tests implementaion in JUnit?
- Clone the Efsm2ModelJUnit folder
- In Eclipse, choose "File">"Import..." and select the Efsm2ModelJUnit folder
- Project opens
- Run the generate.mtl by right-clicking the src/Efsm2ModelJUnit.main/generate.mtl in the project panel and selecting "Run As Launch Acceleo Application".
- Clone the MODELJUNIT folder
- In Eclipse, choose "File">"Import..." and select the MODELJUNIT folder
- Project opens
- Run the ProfessorOnlineTest by right-clicking the src/test/java/ProfessorOnlineTest in the project panel and selecting "Run As JUnit Test".
- Run the ProfessorOnlineJUnit by right-clicking the src/test/java/ProfessorOnlineJUnit in the project panel and selecting "Run As JUnit Test".
- Download XAMPP
- Clone the MODELJUNIT folder
- Copy MODELJUNIT/src/implementation/profonline folder into xampp/htdocs folder
- Access localhost in the browser
- In Eclipse, choose "File">"Import..." and select the MODELJUNIT folder
- Project opens
- Run the ProfessorOnlineJUnit by right-clicking the src/implementation/java/test/ProfessorOnlineJUnit in the project panel and selecting "Run As JUnit Test".