hotswap-agent-intellij-plugin icon indicating copy to clipboard operation
hotswap-agent-intellij-plugin copied to clipboard

Per-project settings should not be committed to VCS

Open alshain opened this issue 7 years ago • 1 comments

Currently, the settings are per-project. However, the settings file cannot be committed to VCS because they contain machine-specific paths.

Maybe path variables could be used in hotswap_agent.xml to make the file machine-independent?

alshain avatar Dec 27 '17 11:12 alshain

Hi @alshain, Thanks for point to this issue. Just test it on the latest IntelliJ IDEA 2018.1.6 (Ultimate Edition) Build #IU-181.5540.7, built on July 11, 2018 macOS 10.13.6

It seems that now everything is fine with path. IDEA automatically put some specific path variables e.g <option name="agentPath" value="$USER_HOME$/Desktop/hotswap-agent-1.3.0.jar" /> or <option name="agentPath" value="$APPLICATION_PLUGINS_DIR$/hotswap-agent-intellij-plugin/lib/agent/hotswap-agent-1.3.0.jar" />

Does it also work for you?

dmitry-zhuravlev avatar Jul 17 '18 10:07 dmitry-zhuravlev