views:

34

answers:

2

When the build fails, I'd like to execute a program that shoots me in the head with this. I've written the program already - I just need it to run when I break the build.

CCTray has the option to make a sound or icon - but not to run a file. Any simple ideas? I'd rather this not be an all day project. :)

A: 

If you run Outlook, you can set up a rule that runs an application whenever you receive an email saying the build is broken. Just follow the rules wizard and you will find it (in Ootlook 2007 it's on the 3rd page of the wizard, in the select action part).

TskTsk
I don't get an email, or run outlook - really trying to play off of CCTray here, but it looks like I'll have to write my own program to check build status.Thinking of contributing an "execute program" feature in CCTray instead since I think it's open source.
TheSoftwareJedi
+1  A: 

CCTray allows you to run commands. In CCTry, go to File | Settings and then click on the Exec tab.

Al Dass
Note that this was added after the 1.4.4 release (likely with version 1.5.)
Pedro