IntelliJ IDEA global environment variable configuration

后端 未结 5 1431
萌比男神i
萌比男神i 2020-12-06 04:26

I need to use an envirnoment variable in all of my idea run configurations. I currently use run->edit configurations->and then ente

5条回答
  •  情书的邮戳
    2020-12-06 04:37

    If Maven is used project specific environment variables can be configured under File->Settings->Build, Execution, Deployment->Build Tools->Maven->Runner These are reused then in any Maven configuration.

    The same mechanism to set the environment variables might also work with different runners.

提交回复
热议问题