Servicerobotics-Ulm / SmartMDSD-Toolchain

Source code of the SmartMDSD Toolchain, an Eclipse-based IDE for robotics software development and composition
BSD 3-Clause "New" or "Revised" License
8 stars 5 forks source link

Deployment generator deletes ini files #1

Closed alex-lotz closed 5 years ago

alex-lotz commented 5 years ago

Describe the bug The deployment generator cleans the src-gen/deploy subfolder thereby also deleting the ini files which are created by the combine_ini_files.sh script.

To Reproduce Steps to reproduce the behavior:

  1. Create (or open) a System project (with the three models SystemComponentArchitecture, TargetPlatform, and Deployment)
  2. Trigger the Deploy command
  3. Adjust and save the Deployment model
  4. Error: the ini files are now deleted (they will be generated again when step 2. is called)

Expected behavior The ini-files should remain even when triggering the Deployment generator again. A separate subfolder for ini-files which is excluded from code-gen clean-up might solve the problem. (the paths for ini-files need to be adjusted accordingly in related bash scripts)

Screenshots If applicable, add screenshots to help explain your problem.

Toolchain version (and other specific settings) that you are using:

Additional context Add any other context about the problem here.

alex-lotz commented 5 years ago

Fixed by commit https://github.com/Servicerobotics-Ulm/SmartMDSD-Toolchain/commit/632b54a44088b94ae7bda20928982ac606696fb9.