Can I reference a Path Variable in Intellij IDEA Run Configuration? -


in intellij idea 14, i've defined path variable foo (in preferences). idea docs ambiguous these variables can used... can reference foo in (tomcat) run configuration > vm options ie:

-dmyprop=$foo$ 

also $foo$ or $foo?

no can't. variable interpreted command processor shell or windows batch. on unix $foo on win %foo%.

you can create different run configurations $foo replacements , save it.

examples: config1: -dmyprop=blah1 config2: -dmyprop=blah2 etc.


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -