[AccuRev plugin] Agent specific binary path?

When configuring a VCS root with the AccuRev plugin you have to provide the AccuRev directory so that the plugin knowns where to find the executable.

As far as I understand, the plugin supports agent-side checkout, so I was wondering if it would be possible to make this directory an agent specific property, as not all agents have the same directory.
The problem is that the configuration page will try to validate the setting and if I enter any %agent.property% in this field the settings cannot be saved.

Ideas?

cheers,
Martin

2 comments
Comment actions Permalink

Do you use TeamCity 6.5? If so, the following hack should work for AccuRev plugin: remember id of the VCS root which you want to change, find this VCS root in the .BuildServer/config/vcs-roots.xml file and change corresponding property value by hand. Then wait till server recognizes this change or restart server manually.
As for the good solution, the plugin needs to be modified to allow references in its fields. Since its a third party plugin you should contact its authors.

0
Comment actions Permalink

Thanks!

I was hoping to reach the developers via this forum :)


I'll try your hack when I find the time.
Note: I also tried to work around the problem via an environment variable TC_ACCUREV_DIR: %env.TC_ACCUREV_DIR% but that also doesn't work, so I guess I'll have to fix the plugin or use your hack.

cheers,
Martin

0

Please sign in to leave a comment.