Projet

Général

Profil

MAY Project Setup » Historique » Version 73

Anonyme, 21/03/2021 20:29

1 69 Anonyme
h1. Project Setup
2 1 Anonyme
3 65 Anonyme
h2. Create a Java Project
4
5 60 Anonyme
First, create a Java project in *File* / *New* / *Java Project*.
6
Choose a name, and click *Finish*.
7 1 Anonyme
8 73 Anonyme
_Note: verify that the chosen execution environment is Java 1.8 or greater_ (e.g., **JavaSE-11**)
9 1 Anonyme
10 72 Anonyme
h2. Add a SpeADL File
11 63 Anonyme
12 72 Anonyme
Right-click on the *src* folder (or any desired sub-package) and select *New* / *File*.
13 63 Anonyme
14
Choose a name with a ".speadl" extension and click *Finish*.
15 1 Anonyme
16 73 Anonyme
!{width:70%}add-speadl-file.png!
17
18
h2. Open the SpeADL File (and Enable the Xtext Project Nature)
19
20
**Double-click on the _file_.speadl** and if asked (typically with Eclipse ≥ 2020-12), enable Xtext by clicking on *Yes* in the dialog.
21
22
!{width:35%}Eclipse_2020-12_MAY_3-6-2_Xtext_project_nature.png!
23 62 Anonyme
24
h2. Next Steps
25 1 Anonyme
26
Next, you can configure Eclipse to use Maven if you want to exploit the reusable components for MAY: [[MAY Maven Eclipse Setup]].
27 72 Anonyme
28
h1. Wiki Page Resources