dmitry-zhuravlev / hotswap-agent-intellij-plugin

This plugin intends to simplify the usage of http://hotswapagent.org. Agent provides real hotswap functionality together with https://dcevm.github.io which extends JVM class redefinition functionality.
Apache License 2.0
314 stars 34 forks source link

Per-project settings should not be committed to VCS #13

Open alshain opened 6 years ago

alshain commented 6 years ago

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?

dmitry-zhuravlev commented 6 years ago

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?