The Hello World Application can be renamed (for example from ves_vector_app_hello_world_example to ves_vector_app_my_example) by changing the short name of the build target in the build system and the short name of the application itself at the same time.
Rename For Build System
To rename the short name of the application, you must ensure that the new short name is known to the build system.
- Open the
<APP_DIR>/app/hello_world/BUILD.bazelfile. - Set the value of the variable
model_executable_short_nametoves_vector_app_my_examplein the file.
- Your application is renamed.
Rename For Application
The easiest and most recommended way to rename your application is by using DaVinci Developer Adaptive.
- Open DaVinci Developer Adaptive.
- Open the File menu in the menu bar.
- Select Open Projects from File System....
- The Import Projects from File System or Archive dialog opens.
- Click and browse to the
amsr-vector-app-my-exampledirectory. - The chosen directory path is set as import source.
- Click .
- The chosen directory is imported as new project and displayed in the Project Explorer.
- Open the context menu (right click) of your project.
- Select Configure | Convert to DaVinci Adaptive Project....
- The Convert to DaVinci Adaptive Project... dialog opens.
- Set the value of the Model field of the Project Folders settings to
model. - Choose User Application as Project Use Case.
- Click and .
- Open the AUTOSAR Model Explorer for your project.
- Navigate to the
ves_vector_app_hello_word_exampleexecutable in the AUTOSAR model. - Change the executable name in the name field to
ves_vector_app_my_example. - Save your changes.
- Your application is renamed.