Changes for page Kieler Compiler
Last modified by Richard Kreissig on 2023/09/14 10:52
From version 28.1
edited by aas2
on 2017/04/04 13:06
on 2017/04/04 13:06
Change comment:
There is no comment for this version
To version 41.1
edited by Richard Kreissig
on 2023/09/14 10:52
on 2023/09/14 10:52
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 13 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,0 +1,1 @@ 1 +KIELER.SCCharts (DeprecatedHistorical Documentation & Features).WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. aas21 +XWiki.stu230980 - Content
-
... ... @@ -1,4 +1,8 @@ 1 -{{panel borderStyle="dashed" title="Project Overview"}} 1 +Deprecated since 0.13 2 +This article is deprecated. The described features are no longer available in current releases. 3 + 4 +== Project Overview == 5 + 2 2 Responsible: 3 3 4 4 * [[Christian Motika>>url:http://www.informatik.uni-kiel.de/rtsys/kontakt/cmot/||shape="rect"]], [[Steven Smyth>>url:http://www.informatik.uni-kiel.de/rtsys/kontakt/ssm/||shape="rect"]] ... ... @@ -7,8 +7,7 @@ 7 7 8 8 * none yet 9 9 10 -**To see the KielerCompiler in action, we provide an Online SCCharts Compiler [[here>>doc:Online Compiler]].** 11 -{{/panel}} 14 +**To see the KielerCompiler in action, we provide an Online SCCharts Compiler [[here>>doc:KIELER.SCCharts (DeprecatedHistorical Documentation & Features).SCCharts (pre 1\.0).Online Compiler.WebHome]].** 12 12 13 13 = Kieler Compiler (KiCo) = 14 14 ... ... @@ -44,14 +44,16 @@ 44 44 45 45 {{{de.cau.cs.kieler.kico}}} 46 46 47 - \\50 + 48 48 ))) 49 49 1. Add the extension 50 50 54 +{{{de.cau.cs.kieler.kico.transformation}}} 51 51 52 - {{{de.cau.cs.kieler.kico.transformation}}}(((53 - \\56 +((( 57 + 54 54 ))) 59 + 55 55 1. ((( 56 56 Add one of the following extension element 57 57 ... ... @@ -129,7 +129,6 @@ 129 129 </extension> 130 130 {{/code}} 131 131 132 -\\ 133 133 134 134 == Compilation == 135 135 ... ... @@ -142,9 +142,9 @@ 142 142 Description 143 143 ))) 144 144 |((( 145 - \\149 + 146 146 147 -{{{EObject KielerCompiler.compile(List <String>transformationIDs, EObject eObject)}}}151 +{{{EObject KielerCompiler.compile(List<String> transformationIDs, EObject eObject)}}} 148 148 )))|((( 149 149 * transformationIDs: List of Strings representing the transformation IDs and a pre-ordering. Note that KiCo may automatically modify the order to meet the dependencies of the referenced transformation IDs or transformation group IDs. 150 150 * eObject: The EObject that is the input to the compilation process. ... ... @@ -151,7 +151,7 @@ 151 151 * Returns: The EObject returned from the last model transformation called by KiCo. 152 152 ))) 153 153 |((( 154 - \\158 + 155 155 156 156 {{{EObject KielerCompiler.compile(String transformationIDs, EObject eObject)}}} 157 157 )))|((( ... ... @@ -158,10 +158,9 @@ 158 158 This is a convenient method only which can be used to give transformation IDs or transformation group IDs as a comma separated String. For eObject and the return value see above. 159 159 ))) 160 160 |((( 165 + 161 161 162 -\\ 163 - 164 -{{{EObject KielerCompiler.compile(List<String> transformationIDs, EObject eObject, boolean autoexpand)}}} 167 +{{{EObject KielerCompiler.compile(List<String> transformationIDs, EObject eObject, boolean autoexpand)}}} 165 165 )))|((( 166 166 This is an advanced compile method which can turn of auto-expansion with the last parameter. Use this with care! Note that if switching autoexpand off you cannot use transformation group IDs any more. Also no dependencies will be considered. The transformations will be applied straight forward in the order defined by the transformationIDs list. 167 167 ))) ... ... @@ -172,10 +172,10 @@ 172 172 import de.cau.cs.kieler.kico.KielerCompiler; 173 173 ... 174 174 private MyEObjectClass myMethod(EObject eObject) { 175 - ...176 - transformed = (MyEObjectClass) KielerCompiler.compile("ABORT, SIGNAL", eObject);177 - ...178 - return transformed178 + ... 179 + transformed = (MyEObjectClass) KielerCompiler.compile("ABORT, SIGNAL", eObject); 180 + ... 181 + return transformed 179 179 } 180 180 {{/code}} 181 181 ... ... @@ -182,10 +182,10 @@ 182 182 {{code title="Xtend Code"}} 183 183 import de.cau.cs.kieler.kico.KielerCompiler 184 184 ... 185 -def dispatch MyEObjectClass myMethod(EObject eObject) { 186 - transformed = KielerCompiler.compile("ABORT, SIGNAL", eObject) as MyEObjectClass187 - ...188 - transformed188 +def dispatch MyEObjectClass myMethod(EObject eObject) { 189 + transformed = KielerCompiler.compile("ABORT, SIGNAL", eObject) as MyEObjectClass 190 + ... 191 + transformed 189 189 } 190 190 191 191 ... ... @@ -195,7 +195,6 @@ 195 195 196 196 === Requirement Completion === 197 197 198 -\\ 199 199 200 200 (% class="wrapped" %) 201 201 |=((( ... ... @@ -217,7 +217,7 @@ 217 217 )))|=((( 218 218 (% class="content-wrapper" %) 219 219 ((( 220 -(% style="text-align: center;" %)222 +(% style="text-align:center" %) 221 221 [[image:attach:dependencies3.jpg]] 222 222 223 223 (% style="text-align: center;" %) ... ... @@ -228,9 +228,9 @@ 228 228 ))) 229 229 ))) 230 230 231 - \\233 + 232 232 ))) 233 -)))|=((( 235 +)))|=(% scope="row" %)((( 234 234 (% class="content-wrapper" %) 235 235 ((( 236 236 (% style="text-align: center;" %) ... ... @@ -257,13 +257,11 @@ 257 257 ))) 258 258 ))) 259 259 260 - \\262 + 261 261 ))) 262 262 ))) 263 263 264 -\\ 265 265 266 -\\ 267 267 268 268 (% class="wrapped" %) 269 269 |=((( ... ... @@ -291,16 +291,16 @@ 291 291 Auto selected 292 292 requirements 293 293 using DEFAULT 294 -of alternative 294 +of alternative 295 295 group 296 296 297 - \\297 + 298 298 ))) 299 299 ))) 300 300 301 - \\301 + 302 302 ))) 303 -)))|=((( 303 +)))|=(% scope="row" %)((( 304 304 (% class="content-wrapper" %) 305 305 ((( 306 306 (% style="text-align: center;" %) ... ... @@ -329,11 +329,10 @@ 329 329 ))) 330 330 ))) 331 331 332 - \\332 + 333 333 ))) 334 334 ))) 335 335 336 -\\ 337 337 338 338 == Help / Problems / FAQs == 339 339 ... ... @@ -351,11 +351,18 @@ 351 351 You get the following run time error: 352 352 353 353 354 -\\\\\\\\\\\\\\\\[[java:102>>url:http://java:102||shape="rect"]] 353 + 354 + 355 + 356 + 357 + 358 + 359 + 360 +\\[[java:102>>url:http://java:102||shape="rect"]] 355 355 [[java:136>>url:http://java:136||shape="rect"]] 356 -[[java:164>>url:http://java:164||shape="rect"]] \\362 +[[java:164>>url:http://java:164||shape="rect"]] 357 357 358 -{{{ENTRY de.cau.cs.kieler.klighd 4 0 2014-03-17 11:08:46.009!MESSAGE !STACK 0java.lang.RuntimeException: Cannot find a transformation with the ID 'ABORT2'. Make sure that the transformation with this ID is registered and its declaring plugin is loaded. Make sure that the ID does exactly match (case sensitive). Maybe you forgot to separate multiple ID's by a comma. at de.cau.cs.kieler.kico.KielerCompiler.getTransformation(KielerCompiler.java:61)at de.cau.cs.kieler.kico.KielerCompiler.getDependencies(KielerCompiler.java:82)at de.cau.cs.kieler.kico.KielerCompiler.isDependingOn(KielerCompiler.)at de.cau.cs.kieler.kico.KielerCompiler.insertTransformationID(KielerCompiler.)at de.cau.cs.kieler.kico.KielerCompiler.expandDependencies(KielerCompiler.)...}}}364 +{{{ENTRY de.cau.cs.kieler.klighd 4 0 2014-03-17 11:08:46.009!MESSAGE !STACK 0java.lang.RuntimeException: Cannot find a transformation with the ID 'ABORT2'. Make sure that the transformation with this ID is registered and its declaring plugin is loaded. Make sure that the ID does exactly match (case sensitive). Maybe you forgot to separate multiple ID's by a comma. at de.cau.cs.kieler.kico.KielerCompiler.getTransformation(KielerCompiler.java:61) at de.cau.cs.kieler.kico.KielerCompiler.getDependencies(KielerCompiler.java:82) at de.cau.cs.kieler.kico.KielerCompiler.isDependingOn(KielerCompiler.) at de.cau.cs.kieler.kico.KielerCompiler.insertTransformationID(KielerCompiler.) at de.cau.cs.kieler.kico.KielerCompiler.expandDependencies(KielerCompiler.)...}}} 359 359 )))|((( 360 360 There is a transformation with ID "ABORT2" referenced 361 361 either by the initial call to KielerCompiler.compile() or ... ... @@ -368,11 +368,11 @@ 368 368 Maybe the plugin declaring "ABORT2" was not loaded 369 369 or the ID is misspelled. 370 370 371 - \\377 + 372 372 )))|((( 373 373 Check why "ABORT2" may not be found 374 374 by KiCo, more specifically, check if the 375 -declaring can be loaded (sometimes 381 +declaring can be loaded (sometimes 376 376 compiler error prevent it from being loaded 377 377 or it has unsatisfied dependencies). 378 378 Also check the spelling of the ID, maybe ... ... @@ -384,7 +384,6 @@ 384 384 385 385 {{{!ENTRY de.cau.cs.kieler.kico 2 2 2014-03-17 11:26:13.818}}} 386 386 387 -\\ 388 388 389 389 {{{!MESSAGE Extension 'TERMINATION' from component: de.cau.cs.kieler.sccharts cannot beloaded becaus this ID is already taken. (de.cau.cs.kieler.kico)}}} 390 390 )))|(((
- IMAG4642.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.5 MB - Content
- KiCo.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +138.2 KB - Content
- KiCo2.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +5.0 KB - Content
- KiCo3.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +166.2 KB - Content
- dependencies2.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +170.9 KB - Content
- dependencies2.pdf
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +18.5 KB - Content
- dependencies3.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +242.8 KB - Content
- dependencies4.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +252.6 KB - Content
- dependencies4b.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +260.5 KB - Content
- dependencies5.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +249.6 KB - Content
- dependencies5b.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +281.7 KB - Content
- dependencies6.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +258.3 KB - Content
- dependencies6b.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +283.2 KB - Content
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 - 508232241 +9470057 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/ 50823224/Kieler Compiler1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9470057/Kieler Compiler