Changes for page Kieler Compiler
Last modified by Richard Kreissig on 2023/09/14 10:52
From 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
To version 40.1
edited by Alexander Schulz-Rosengarten
on 2023/09/11 16:17
on 2023/09/11 16:17
Change comment:
Renamed back-links.
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.s tu2309801 +XWiki.als - Content
-
... ... @@ -1,8 +1,8 @@ 1 -Deprecated since 0.13 1 +{{panel bgColor="orange" title="Deprecated since 0.13"}} 2 2 This article is deprecated. The described features are no longer available in current releases. 3 +{{/panel}} 3 3 4 -== Project Overview == 5 - 5 +{{panel borderStyle="dashed" title="Project Overview"}} 6 6 Responsible: 7 7 8 8 * [[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"]] ... ... @@ -12,6 +12,7 @@ 12 12 * none yet 13 13 14 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]].** 15 +{{/panel}} 15 15 16 16 = Kieler Compiler (KiCo) = 17 17 ... ... @@ -47,7 +47,7 @@ 47 47 48 48 {{{de.cau.cs.kieler.kico}}} 49 49 50 - 51 +\\ 51 51 ))) 52 52 1. Add the extension 53 53 ... ... @@ -54,7 +54,7 @@ 54 54 {{{de.cau.cs.kieler.kico.transformation}}} 55 55 56 56 ((( 57 - 58 +\\ 58 58 ))) 59 59 60 60 1. ((( ... ... @@ -134,6 +134,7 @@ 134 134 </extension> 135 135 {{/code}} 136 136 138 +\\ 137 137 138 138 == Compilation == 139 139 ... ... @@ -146,9 +146,9 @@ 146 146 Description 147 147 ))) 148 148 |((( 149 - 151 +\\ 150 150 151 -{{{EObject KielerCompiler.compile(List <String>transformationIDs, EObject eObject)}}}153 +{{{EObject KielerCompiler.compile(List<String> transformationIDs, EObject eObject)}}} 152 152 )))|((( 153 153 * 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. 154 154 * eObject: The EObject that is the input to the compilation process. ... ... @@ -155,7 +155,7 @@ 155 155 * Returns: The EObject returned from the last model transformation called by KiCo. 156 156 ))) 157 157 |((( 158 - 160 +\\ 159 159 160 160 {{{EObject KielerCompiler.compile(String transformationIDs, EObject eObject)}}} 161 161 )))|((( ... ... @@ -162,9 +162,9 @@ 162 162 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. 163 163 ))) 164 164 |((( 165 - 167 +\\ 166 166 167 -{{{EObject KielerCompiler.compile(List <String>transformationIDs, EObject eObject, boolean autoexpand)}}}169 +{{{EObject KielerCompiler.compile(List<String> transformationIDs, EObject eObject, boolean autoexpand)}}} 168 168 )))|((( 169 169 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. 170 170 ))) ... ... @@ -175,10 +175,10 @@ 175 175 import de.cau.cs.kieler.kico.KielerCompiler; 176 176 ... 177 177 private MyEObjectClass myMethod(EObject eObject) { 178 - ...179 - transformed = (MyEObjectClass) KielerCompiler.compile("ABORT, SIGNAL", eObject);180 - ...181 - return transformed180 + ... 181 + transformed = (MyEObjectClass) KielerCompiler.compile("ABORT, SIGNAL", eObject); 182 + ... 183 + return transformed 182 182 } 183 183 {{/code}} 184 184 ... ... @@ -185,10 +185,10 @@ 185 185 {{code title="Xtend Code"}} 186 186 import de.cau.cs.kieler.kico.KielerCompiler 187 187 ... 188 -def dispatch MyEObjectClass myMethod(EObject eObject) { 189 - transformed = KielerCompiler.compile("ABORT, SIGNAL", eObject) as MyEObjectClass190 - ...191 - transformed190 +def dispatch MyEObjectClass myMethod(EObject eObject) { 191 + transformed = KielerCompiler.compile("ABORT, SIGNAL", eObject) as MyEObjectClass 192 + ... 193 + transformed 192 192 } 193 193 194 194 ... ... @@ -198,6 +198,7 @@ 198 198 199 199 === Requirement Completion === 200 200 203 +\\ 201 201 202 202 (% class="wrapped" %) 203 203 |=((( ... ... @@ -219,7 +219,7 @@ 219 219 )))|=((( 220 220 (% class="content-wrapper" %) 221 221 ((( 222 -(% style="text-align:center" %) 225 +(% style="text-align: center;" %) 223 223 [[image:attach:dependencies3.jpg]] 224 224 225 225 (% style="text-align: center;" %) ... ... @@ -230,9 +230,9 @@ 230 230 ))) 231 231 ))) 232 232 233 - 236 +\\ 234 234 ))) 235 -)))|=( % scope="row" %)(((238 +)))|=((( 236 236 (% class="content-wrapper" %) 237 237 ((( 238 238 (% style="text-align: center;" %) ... ... @@ -259,11 +259,13 @@ 259 259 ))) 260 260 ))) 261 261 262 - 265 +\\ 263 263 ))) 264 264 ))) 265 265 269 +\\ 266 266 271 +\\ 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 299 +of alternative 295 295 group 296 296 297 - 302 +\\ 298 298 ))) 299 299 ))) 300 300 301 - 306 +\\ 302 302 ))) 303 -)))|=( % scope="row" %)(((308 +)))|=((( 304 304 (% class="content-wrapper" %) 305 305 ((( 306 306 (% style="text-align: center;" %) ... ... @@ -329,10 +329,11 @@ 329 329 ))) 330 330 ))) 331 331 332 - 337 +\\ 333 333 ))) 334 334 ))) 335 335 341 +\\ 336 336 337 337 == Help / Problems / FAQs == 338 338 ... ... @@ -356,12 +356,11 @@ 356 356 357 357 358 358 359 - 360 -\\[[java:102>>url:http://java:102||shape="rect"]] 365 +\\\\[[java:102>>url:http://java:102||shape="rect"]] 361 361 [[java:136>>url:http://java:136||shape="rect"]] 362 -[[java:164>>url:http://java:164||shape="rect"]] 367 +[[java:164>>url:http://java:164||shape="rect"]]\\ 363 363 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.)...}}}369 +{{{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.)...}}} 365 365 )))|((( 366 366 There is a transformation with ID "ABORT2" referenced 367 367 either by the initial call to KielerCompiler.compile() or ... ... @@ -374,11 +374,11 @@ 374 374 Maybe the plugin declaring "ABORT2" was not loaded 375 375 or the ID is misspelled. 376 376 377 - 382 +\\ 378 378 )))|((( 379 379 Check why "ABORT2" may not be found 380 380 by KiCo, more specifically, check if the 381 -declaring can be loaded (sometimes 386 +declaring can be loaded (sometimes 382 382 compiler error prevent it from being loaded 383 383 or it has unsatisfied dependencies). 384 384 Also check the spelling of the ID, maybe ... ... @@ -390,6 +390,7 @@ 390 390 391 391 {{{!ENTRY de.cau.cs.kieler.kico 2 2 2014-03-17 11:26:13.818}}} 392 392 398 +\\ 393 393 394 394 {{{!MESSAGE Extension 'TERMINATION' from component: de.cau.cs.kieler.sccharts cannot beloaded becaus this ID is already taken. (de.cau.cs.kieler.kico)}}} 395 395 )))|(((