Wiki source code of How to open YAKINDU-SCCharts Editor
Last modified by Richard Kreissig on 2023/09/14 11:10
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{toc/}} | ||
2 | |||
3 | = **Install YAKINDU Statechart Tools (SCT) 2.0 from Source Code** = | ||
4 | |||
5 | (% style="color:#000000" %)Download the BASE module: | ||
6 | |||
7 | (% style="color:#000000" %)**svn checkout **(%%)**//http//**(% style="color:#000000" %):~/~/svn.codespot.com/a/eclipselabs.org/yakindu/**BASE/branches/Extension API/** | ||
8 | |||
9 | (% style="color:#000000" %)Download the SCT2 project: | ||
10 | |||
11 | (% style="color:#000000" %)**svn checkout //http//**:~/~/svn.codespot.com/a/eclipselabs.org/yakindu/SCT2(% style="color:#555555" %)/(% style="color:#000000" %)branches(% style="color:#555555" %)/(% style="color:#000000" %)Extension API(% style="color:#555555" %)/ | ||
12 | |||
13 | (% style="color:#000000" %)** ** | ||
14 | |||
15 | (% style="color:#000000" %)**ATTENTION: **You still need **svn checkout http[[(% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %):~~/~~/svn.codespot.com/a/eclipselabs.org/yakindu/trunk>>url:http://svn.codespot.com/a/eclipselabs.org/yakindu/trunk||shape="rect"]](%%)**(%%)[[(% style="color:#000000" %) >>url:http://svn.codespot.com/a/eclipselabs.org/yakindu/trunk||shape="rect"]](%%) for de.itemis.gmf.utils and de.itemis.xtext.utils! | ||
16 | |||
17 | ((( | ||
18 | = Get YAKINDU extended Editor Source Code = | ||
19 | |||
20 | 1. ((( | ||
21 | change your git branch to wah/mt | ||
22 | |||
23 | {{info icon="false"}} | ||
24 | git checkout wah/mt | ||
25 | {{/info}} | ||
26 | ))) | ||
27 | 1. ((( | ||
28 | get the code | ||
29 | |||
30 | {{info icon="false"}} | ||
31 | git pull | ||
32 | {{/info}} | ||
33 | ))) | ||
34 | |||
35 | = Add the Source Code to your Eclipse Project = | ||
36 | |||
37 | 1. select from the menu bar **File -> Import** | ||
38 | 1. choose **General -> Existing Projects into Workspace** and click **Next** | ||
39 | 1. choose select** root directory** and click associated **Browse** | ||
40 | 1. ((( | ||
41 | under **Projects** select the following projects from KIELER semantics GIT repository at [[ssh:~~/~~/git@git.rtsys.informatik.uni-kiel.de:7999/KIELER/semantics.git>>url:ssh://git@git.rtsys.informatik.uni-kiel.de:7999/KIELER/semantics.git||shape="rect"]]: | ||
42 | |||
43 | {{info icon="false"}} | ||
44 | de.cau.cs.kieler.yakindu.sccharts.model.scchartstext | ||
45 | de.cau.cs.kieler.yakindu.sccharts.model.scchartstext.tests | ||
46 | de.cau.cs.kieler.yakindu.sccharts.model.scchartstext.ui | ||
47 | de.cau.cs.kieler.yakindu.sccharts.ui.editor | ||
48 | de.cau.cs.kieler.yakindu.sccharts.ui.integration.scchartstext | ||
49 | de.cau.cs.kieler.yakindu.synccharts.model.text | ||
50 | de.cau.cs.kieler.yakindu.synccharts.model.text.tests | ||
51 | de.cau.cs.kieler.yakindu.synccharts.model.text.ui | ||
52 | de.cau.cs.kieler.yakindu.synccharts.ui.editor | ||
53 | de.cau.cs.kieler.yakindu.synccharts.ui.integration.text | ||
54 | {{/info}} | ||
55 | ))) | ||
56 | 1. ((( | ||
57 | (% style="font-size:10pt; line-height:13pt" %)under **Projects** select the following projects from itemis yakindu SVN repository: | ||
58 | |||
59 | |=((( | ||
60 | [[image:attach:yakinducheckout.jpg]] | ||
61 | )))|=((( | ||
62 | The selection of the following listed plugins from the two BASE and SCT2 | ||
63 | repositories is illustrated in the left figure: | ||
64 | |||
65 | {{info icon="false"}} | ||
66 | de.itemis.gmf.runtime.commons-feature | ||
67 | de.itemis.xtext.utils.gmf-feature | ||
68 | de.itemis.xtext.utils.jface-feature | ||
69 | org.yakindu.base-feature | ||
70 | org.yakindu.base.releng | ||
71 | org.yakindu.base.repository | ||
72 | org.yakindu.base.target | ||
73 | org.yakindu.sct.doc.userde.itemis.gmf.runtime.commons | ||
74 | de.itemis.gmf.runtime.treelayout | ||
75 | de.itemis.xtext.utils.gmf | ||
76 | de.itemis.xtext.utils.jface | ||
77 | org.yakindu.base.types | ||
78 | org.yakindu.base.types.edit | ||
79 | org.yakindu.base.types.scope | ||
80 | org.yakindu.sct.commons | ||
81 | org.yakindu.sct.model.sgraph | ||
82 | org.yakindu.sct.model.sgraph.edit | ||
83 | org.yakindu.sct.model.sgraph.ui | ||
84 | org.yakindu.sct.model.stext | ||
85 | org.yakindu.sct.model.stext.edit | ||
86 | org.yakindu.sct.model.stext.resource | ||
87 | org.yakindu.sct.model.stext.ui | ||
88 | org.yakindu.sct.ui | ||
89 | org.yakindu.sct.ui.editor | ||
90 | org.yakindu.sct.ui.integration.stext | ||
91 | {{/info}} | ||
92 | |||
93 | |||
94 | ))) | ||
95 | ))) | ||
96 | 1. (% style="font-size:10.0pt; line-height:13.0pt" %)click **Finish** to start the import | ||
97 | ))) | ||
98 | |||
99 | = Eclipse Run Configuration = | ||
100 | |||
101 | 1. (% style="color:#222222" %)Select Run / Run Configurations from the menu. | ||
102 | 1. (% style="color:#222222" %)Double click on "Eclipse Application". | ||
103 | 1. (% style="color:#222222" %)Give the name. (Example: "YAKINDU Runtime") | ||
104 | 1. (% style="color:#222222" %)Select the "Arguments" Tab | ||
105 | 1. (% style="color:#222222" %)Add -XX:MaxPermSize=196m to VM arguments(%%) | ||
106 | \\\\(% style="color:#222222" %)**Important notice**(%%) | ||
107 | (% style="color:#222222" %)To run yakindu properly you need an eclipse container application(%%) | ||
108 | (% style="color:#222222" %)To run yakindu in KIELER add kieler.core and kieler.core.ui |