<
From version < 35.1 >
edited by aas2
on 2015/10/28 15:31
To version < 36.1 >
edited by aas2
on 2016/02/15 16:32
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -78,12 +78,13 @@
78 78  
79 79  An environment consists of
80 80  
81 -1. a unique **name**, that does not contain a comma
81 +1. a unique **name**, which may not contain a comma
82 82  1. a **related project wizard**
83 83  1. information about a **main file** for the project
84 84  1. information about the **target code** KiCo should produce
85 85  1. information for **wrapper code generation**
86 -1. a list of **shell commands** which should be run as part of a project launch
86 +1. a list of **shell commands**, which should be run as part of a project launch
87 +1. an **associated launch shortcut**, which is used on the compiled main file
87 87  
88 88  Besides the name, all of these are optional, but can improve the workflow.
89 89  
... ... @@ -133,8 +133,10 @@
133 133  
134 134  In the **template file** one can use special **placeholders**.
135 135  
136 -**${model_name}** will be replaced with the name of the model.
137 +**${file_name}** is replaced with the name withouth extension of the file that is generated (e.g. //Main.java// will be //Main//).
137 137  
139 +**${model_name}** is replaced with the name of the last compiled model.
140 +
138 138  **${declarations}** and** ${decls}** will be replaced with additional declarations of variables and functions (<@decl>...</@decl> of a snippet definition). Declarations should occur before the tick loop of the model file. In general they are not required for Java code but may be useful in C applications (e.g. for //extern// calls).
139 139  
140 140  **${initializations}** and **${inits}** will be replaced with initialization code for components (<@init>...</@init> of a snippet definition). Initialization should occur before the tick loop of the model file.
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -15532232
1 +16810568
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/15532232/Project Creation, Initialization and Launch (Prom)
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/16810568/Project Creation, Initialization and Launch (Prom)