Can you reference the PROJECT_DIR variable in the VM Options text field?

Im trying to do something like this in the VM options run config for an app:

-Dlog4j.configuration=%PROJECT_DIR%/config/dev.log4j.xml

Its not working - is there a better/alternate way to achieve this?

N

1 comment

Simply put the project directory "as is" in that field. IntelliJ IDEA will automatically store the path as a project-relative one.

0

Please sign in to leave a comment.