My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
README  
How to use
Phase-Deploy, Featured
Updated Dec 14, 2009 by ndr...@gmail.com

Introduction

This package contains a custom BuildListener and Task that display messages via Growl/JGrowl.

Prerequisites

Details

Setting things up in Mac OS with Growl

  • Make sure the following settings are enabled in Growl's Network preferences:
    • "Listen for incoming notifications"
    • "Allow remote application registration"
  • Put growllistener.jar into Ant's lib directory
  • Put binaryblizzard.jar (From JGrowl) into Ant's lib directory

Setting things up in Linux with JGrowl

  • Startup JGrowl
  • Put growllistener.jar into Ant's lib directory
  • Put binaryblizzard.jar (From JGrowl) into Ant's lib directory

Using the Growl BuildListener

  • To make ant use the new listener, invoke ant like this:
    • ant -listener net.slimeslurp.growl.GrowlListener
    • You could also add "-listener net.slimeslurp.growl.GrowlListener" to your ANT_ARGS environment variable
    • If you set a property called gbl.endsticky in your build file, the Build Finished notification will be "sticky"

Using the GrowlEcho task

  • Add a taskdef to your build like this:
<taskdef name="growl" classname="net.slimeslurp.growl.GrowlEcho"/>
  • Use the task like this:
  • <growl message="The message"/>
  • GrowlEcho now support accepts a sticky attribute which, when set, will cause the notification to be "sticky"
Comment by curious....@gmail.com, Nov 6, 2008

I didn't see a way to use the listener with Gant. Have you gotten that working?

Comment by aya...@gmail.com, Dec 31, 2008

The JGrowl link above is broken, does anybody know where else it can be acquired?

Comment by marius.s...@gmail.com, Mar 6, 2009

"-listener net.slimeslurp.growl.GrowlListener?" must be added to ANT_ARGS, and not to ANT_OPTS: http://ant.apache.org/manual/running.html#envvars


Sign in to add a comment
Powered by Google Project Hosting