devonfw / ide

Tool to automate setup and update of development environment (esp. for Java projects).
Apache License 2.0
33 stars 102 forks source link

improve EnvironmentVariables #1337

Closed hohwille closed 10 months ago

hohwille commented 10 months ago

With #1318 we have introduced IdeContext with EnvironmentVariables. The latter shall be improved, so we can find and modify a specific properties file via the API and also save the changes. Further, we need support to preserve comments, etc. and need to go away from java.util.Properties and implement our own logic to load and save properties files according to our own semantics with bash-arrays vs. comma-separated lists, export keyword, potential quotes, etc.