Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Cannot use USER_HOME path variable in TestNG run configuration VM arguments

$
0
0

Hi,

 

I am in the process of migrating from Eclipse and I read about path variables to parametrize our shared run configurations and it seems like a perfect fit. However, when I tried to add "USER_HOME" as a path variable, I got an error dialog reading "A variable named "USER_HOME" already exists". I thought, fine, it's a predefined one and used it in the VM params of my TestNG run config but it was not substituted. The string that was used in the command line was this:

 

-Dlogback.configurationFile=${USER_HOME}/.logback/logback.xml

 

However, other variables were substituted as expected. What am I doing wrong?

 

Thank you,

 

Robert


Viewing all articles
Browse latest Browse all 5661

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>