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 - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -