Using growl with ant for build notifications
Something that just struck me as handy, was Growl notifications for certain steps in the ant build process. If you’re doing something else, its always nice to see “Build completed”. I could go into a long process on how to create an ant plugin, integrate it with Growls’ Java bindings, and have a very tightly integrated plugin. But I won’t. Just install growlnotify from the Growl dmg, and use ant’s exec command with “Mac OS X” as an attribute, so the Windows folks won’t get unhappy error messages.
Here’s the little snippet of ant code:
<exec executable="/usr/local/bin/growlnotify" os="Mac OS X" logError="true">
<arg line="-m 'Build has been completed'"/>
</exec>
There seems to be a similar framework out there taking its inspiration from Growl, called Snarl.
About mystic
Mystic is located in Southern California,
we are a dedicated team of magic makers for your
organizations needs. We can take your needs and
turn them into the solution that fits perfectly
for your company.
Learn More
Categories
- Apple (3)
- Java (9)
- Technology (3)
Archive
- March 2007 (2)
- September 2006 (1)
- August 2006 (2)
- April 2006 (1)
- March 2006 (1)
- February 2006 (1)
- January 2006 (3)
Write a comment