Changes for page Project Creation, Initialization and Launch (Prom)
Last modified by Richard Kreissig on 2023/09/14 10:56
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -29,41 +29,8 @@ 29 29 30 30 The **Run As** command will search for a KiCo launch config for the project. If there is such a config, the selected file is only added to the list of model files that should be compiled. If there is none, a launch config is created by using the main file and environment the project has been created with. If the main file and environment information could not be found, dialogs will query it from the user. 31 31 32 - 32 +[[image:attach:launch_config_tabs.png]] 33 33 34 - 35 - 36 - 37 - 38 -[[image:attach:Screenshot_20160509_133139.png]] 39 - 40 -[[image:attach:Screenshot_20160509_134127.png]] 41 - 42 - 43 - 44 -[[image:attach:Screenshot_20160509_133254.png]] 45 - 46 - 47 - 48 - 49 - 50 - 51 - 52 - 53 - 54 - 55 - 56 - 57 - 58 - 59 - 60 - 61 - 62 - 63 - 64 - 65 - 66 -(% style="text-align: left;" %) 67 67 The **main file** of the launch config is used to set several file path variables, which can be used in several fields of the configuration, notably the shell commands to be executed, and wrapper code input. To use a variable, the syntax is **${**//variable_name//**}**. The variables that are set are 68 68 69 69 * //main_name// : The file name, including its file extension (e.g. //MyModel.sct//) ... ... @@ -111,15 +111,16 @@ 111 111 An environment consists of 112 112 113 113 1. a unique **name**, which may not contain a comma 114 -1. an **associated** project wizard 115 -1. information for a default **main file** for the project 116 -1. information for a default **model file** for the project 117 -1. information for a default **wrapper code snippet directory** 118 -1. default values for the KiCo compilation 81 +1. a **related project wizard** 82 +1. information about a **main file** for the project 83 +1. information about the **target code** KiCo should produce 84 +1. information for **wrapper code generation** 85 +1. a list of **shell commands**, which should be run as part of a project launch 86 +1. an **associated launch shortcut**, which is used on the compiled main file 119 119 120 120 Besides the name, all of these are optional, but can improve the workflow. 121 121 122 -The a ssociated project wizard is run as part of the Prom project wizard and takes care of the actual project creation.90 +The related project wizard is run as part of the Prom project wizard and takes care of the actual project creation. 123 123 124 124 A main file typically contains the entry point of the program on the target environment. Its wrapper code initializes and runs the model and sets inputs and outputs to the physical components of the target device. To ease the project setup and because wrapper code for a specific target platform is often similar, it is possible to define default content for the main file. Therefore the field **main file origin** can contain an absolute file path to a file with the default contents of a newly created main file for this environment. Furthermore, predefined wrapper code snippets can be injected as part of a project launch, which is described below. 125 125 ... ... @@ -127,7 +127,7 @@ 127 127 128 128 The other fields are default settings for KiCo launch configurations. 129 129 130 -[[image:attach: Screenshot_20160509_132406.png]]98 +[[image:attach:environments_preferences.png]] 131 131 132 132 === Paths for initial content === 133 133 ... ... @@ -193,11 +193,8 @@ 193 193 194 194 == Automatically generated files == 195 195 196 -Files created by Prom are eithersaved in the directory **kieler-gen**orinthe**samedirectoryashe input files**theycorrespondto. This is configuredin theKiColaunchconfiguration.164 +Files created by Prom are saved in the directory **kieler-gen**. Thereby the directory structure of files is retained, but without a starting Java source folder. This is because //kieler-gen// itself is a Java source folder. 197 197 198 - When choosingthekieler-genfolder,the directory structureofinput filesis retained. HoweverastartingJava source folderwill be skipped because //kieler-gen//itself is a Java sourcefolder.166 +For example (if //code// is not a Java source folder) the file //code/subfolder/MyModel.sct//, will be save to //kieler-gen/code/subfolder/MyModel.sct.// 199 199 200 -For example 201 - 202 -* if //code// is not a Java source folder, the file //code/subfolder/MyModel.sct// will be save to //kieler-gen/code/subfolder/MyModel.sct.// 203 -* if //src// is a Java source folder, the file //src/subfolder/MyModel.sct//, will be saved to //kieler-gen/subfolder/MyModel.sct.// 168 +In contrast (if //src// is a Java source folder) the file //src/subfolder/MyModel.sct//, will be saved to //kieler-gen/subfolder/MyModel.sct.//
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -1681057 61 +16810575 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/1681057 6/Project Creation, Initialization and Launch (Prom)1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/16810575/Project Creation, Initialization and Launch (Prom)