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
-
... ... @@ -54,8 +54,12 @@ 54 54 55 55 === Launch Groups === 56 56 57 - 57 +The list of shell commands are a simple mechanism to further compile and deploy code via command line tools. However, there are cases in which command line tools are not available or reasonable to use, for example because a different Eclipse launch configuration does a better job. 58 58 59 +In this case it is desirable that the KiCo launch config only compiles the model and another Eclipse launch config does the rest. This can be achieved via //launch groups//. They let you define a launch configuration, which starts other launch configurations sequentially. To illustrate this, another use-case for launch groups is that you have a Client-Server application and wants to start the client right after the server for debugging. Then you can create a launch config for the server and a launch config for the client. Afterwards you create a launch group with aforesaid configurations. (Screenshot) 60 + 61 +Launch groups are a part of the C/C++ Development Tools (CDT), although they provide a general mechanism that could be a part of any Eclipse IDE. The CDT is available in the Eclipse Marketplace (//Help > Eclipse Marketplace//) 62 + 59 59 == Prom Environments == 60 60 61 61 Environments are used to provide default settings for project creation and launch. They are configured in the **preferences** (Window > Preferences > KIELER > Environments). ... ... @@ -75,15 +75,15 @@ 75 75 76 76 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. 77 77 78 -The ** wrappercode origin** is used to initialize the wrapper code snippet directory of a newly created project.82 +The **snippets origin** is used to initialize the wrapper code snippet directory of a newly created project. 79 79 80 80 The other fields are default settings for KiCo launch configurations. 81 81 82 82 === Paths for initial content === 83 83 84 -The paths for main file origin accept an absolute file path as well as an **URL** with the platform protocol of Eclipse. An URL has the form //plaftorm:/plugin/ my.plugin/folder/in/the/plugin/file.txt//88 +The paths for main file origin accept an **absolute** file **path** as well as an **URL** with the platform protocol of Eclipse. An URL for the field has the form //plaftorm:/plugin/a.plugin.name/folder/in/the/plugin/file.txt// 85 85 86 -The snippets directory works analog. It accepts an absolute directory path as well as an URL with the platform protocol which points to a directory. An URL has the form //plaftorm:/plugin/ my.plugin/folder/in/the/plugin/file.txt//90 +The snippets directory works analog. It accepts an absolute directory path as well as an URL with the platform protocol which points to a directory. An URL for the field has the form //plaftorm:/plugin/a.plugin.name/folder/in/the/plugin// 87 87 88 88 == Project Wizards with Prom == 89 89 ... ... @@ -95,4 +95,8 @@ 95 95 96 96 == Automatically generated files == 97 97 98 -Todo 102 +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. 103 + 104 +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.// 105 + 106 +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 -137626 881 +13762699 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/137626 88/Project Creation, Initialization and Launch (Prom)1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/13762699/Project Creation, Initialization and Launch (Prom)