Hi, I mean a class implementing org.apache.tools.ant.BuildListener
Thanks > -----Original Message----- > From: ext jan.mate...@rzf.fin-nrw.de [mailto:jan.mate...@rzf.fin-nrw.de] > Sent: 28 January 2009 12:22 > To: user@ant.apache.org > Subject: AW: AntUnit > > >> How can I run antunit with custom ant listeners enabled? > > > >A "custom Ant listener" is a class implementing > >org.apache.ant.antunit.AntUnitListener? > > > >If so, use <typedef> to give a symbolic name to your custom listener, > >say > > > ><typedef name="customListener" > > classname="my.custom.Listener"/> > > > >and maybe throw in classpath attributes and an uri. > > > >After that, you attach it to AntUnit via > > > ><au:antunit ...> > > <customListener/> > ></au:antunit> > > > >If your custom listener needs configuration you can use setter and add > >methods and ant will translate them into attributes and nested > >elements just like it does for any other task and type, see > >file:///C:/OSS/ant/docs/manual/develop.html#writingowntask > > > Because I am sure you dont have access to Stefans computer, here the > official link ;-) > http://ant.apache.org/manual/develop.html#writingowntask > > > Jan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org