Idea project runner doesn't understand $MODULE_DIR$ in run configurations?
Log output:
[16:55:26]: Starting run configuration tests:confname ...
[16:55:26]: IDEA Coverage: Java agent added to Java task
[16:55:26]: java
[16:55:27]: [java] C:\usr\JetBrains\TeamCity\buildAgent\work\7b4e9a47f8ecfe8b\$MODULE_DIR$ is not a valid directory
[16:55:27]: : C:\usr\JetBrains\TeamCity\buildAgent\work\7b4e9a47f8ecfe8b\$MODULE_DIR$ is not a valid directory
[16:55:27]: BUILD FAILED
Selected in the idea Working directory => MODULE_DIR and the config file lokks like this
{code}
<option name="WORKING_DIRECTORY" value="file://$MODULE_DIR$" />
{code}
Teamcity 6.5
Regards, Alex
[16:55:26]: Starting run configuration tests:confname ...
[16:55:26]: IDEA Coverage: Java agent added to Java task
[16:55:26]: java
[16:55:27]: [java] C:\usr\JetBrains\TeamCity\buildAgent\work\7b4e9a47f8ecfe8b\$MODULE_DIR$ is not a valid directory
[16:55:27]: : C:\usr\JetBrains\TeamCity\buildAgent\work\7b4e9a47f8ecfe8b\$MODULE_DIR$ is not a valid directory
[16:55:27]: BUILD FAILED
Selected in the idea Working directory => MODULE_DIR and the config file lokks like this
{code}
<option name="WORKING_DIRECTORY" value="file://$MODULE_DIR$" />
{code}
Teamcity 6.5
Regards, Alex
Message was edited by: Alexander Ashitkin
Please sign in to leave a comment.
The issue has been posted to TW-17388, we'll continue troubleshooting there.