I've been asked to write a Fortress server plugin that will detect when certain labels have been applied and exract those files from the server and write them out to a server. An example would be that when we applied a label like "ReleasedOnProd" then it would extract the files that were just labeled this way and write them out to the prod server.
I'm overridding the "OnEndTx" method as described in the template project and when a new version of a file is checked in it will detect it and I can step through it, but it doesn't fire when only a label has changed. Does anybody know if there is a way to do this?
Stephen
How do I React to Label Changes in a Server Plugin?
Moderator: SourceGear
There is no event fired when a label is added, unfortunately.
This doesn't help your immediate problem, but we have a new deploy wizard power toy that you might find useful here:
http://www.sourcegear.com/fortress/fort ... rtoys.html
This doesn't help your immediate problem, but we have a new deploy wizard power toy that you might find useful here:
http://www.sourcegear.com/fortress/fort ... rtoys.html