How to add/update an environment variable without Eclipse restart? [message #1867479] |
Wed, 26 June 2024 15:57 |
Yurii Kartsev Messages: 5 Registered: July 2009 |
Junior Member |
|
|
I am currently struggling with setting up environment variable for Eclipse in macOS. Is there a standard/recommended way to do so? Ideally, to set it without restarting Eclipse itself. The only way I know is to use "Info.plist", but that would need Eclipse restart. Are there any other ways?
Bonus points question: is there a way to set up environment variable for Eclipse, that is a result of a bash command? I need it for setting my authorization token for AWS code artifact: export CODEARTIFACT_AUTH_TOKEN=$(aws codeartifact get-authorization-token ...)
The reason behind it is that that token expires every 24 hours...
Forgot to mention that I have also tried "Environment Variables Preference Page" Eclipse plugin, but it does not seem to work.
Thank you in advance!
UPDATE: I posted the same question on Stack Overflow.
[Updated on: Thu, 25 July 2024 04:16] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03155 seconds