My application needs custom environment variables to run. I have created a run configuration in IntelliJ in order to start the application. For environment variables, I have set VM options.
Example :
-DDATABASE_URL=jdbc:oracle:thin:@dbbdevdb0397.fr:1522:DBZD08
My concern is to add all environment variables in my IntelliJ configuration automatically. That is why I have set these environment variables inside a separated file
Example : DEV.env
DATABASE_URL=jdbc:oracle:thin:@dbbdevdb0397.fr:1522:DBZD08
Is it possible to load this file DEV.env in a IntelliJ run configuration as it could be done by SH script:
eval $(cat DEV.env | sed 's/^/export /');