Rob,

I'd be interested in checking this out, I think it'd be a useful tool in my 
environment because people are running ant from seperate clearcase views and 
run into errors about 5 times a week and always have to call me over to check 
it out, when I think it'd be more useful if I could be emailed the error log 
and some clearcase view information.

Doug Daniels


> -----Original Message-----
> From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 14, 2005 8:07 PM
> To: Ant Users List
> Cc: [email protected]
> Subject: RE: Mail a nice pretty html build log...
> 
> 
> Ivan, Thanks. What I'm really looking for is an HTMLMailLogger.
> 
> All, I have almost got one working but I am having some 
> trouble running the xslt. I'm not really committed to making 
> it work, since I don't really need it, but if anyone is 
> interested in it, I'll send out what I have and you can finnish it up.
> 
> Let me know.
> 
> -Rob A
> 
> > -----Original Message-----
> > From: Ivan Ivanov [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, June 14, 2005 12:05 PM
> > To: Ant Users List
> > Subject: Re: Mail a nice pretty html build log...
> > 
> > 
> > Rob,
> > 
> > I have an extension of MailLogger that allows to send
> > emails with some files attached to it. It works pretty
> > closely to the original oata.listener.MailLogger. You
> > only should specify the location of the attachments by
> > specifying MailLogger.success.attachments and
> > MailLogger.failure.attachments and at the end of the
> > build proccess it will send a message with the
> > attached files.
> > 
> > If you find this useful, I will post the code as well.
> > 
> > Regards
> > Ivan
> > 
> > --- "Anderson, Rob (Global Trade)"
> > <[EMAIL PROTECTED]> wrote:
> > 
> > > Hi all, I would like to be able to mail a nice
> > > pretty html build log. There is a slight dilema
> > > though. If I run:
> > > 
> > > ant -listener org.apache.tools.ant.XmlLogger
> > > 
> > > The log is not produced until the build is complete.
> > > I would like to do this in one invocation of ant. I
> > > think it might be possible if I write a wrapper
> > > target like so:
> > > 
> > >   <target name="build" depends="wrapper">
> > >   </target>
> > > 
> > >   <target name="test">
> > >     <tstamp>
> > >       <format property="start.time"
> > > pattern="MM/dd/yyyy hh:mm:ss aa"/>
> > >     </tstamp>
> > >     <echo>${start.time}</echo>
> > >   </target>
> > > 
> > >   <target name="wrapper">
> > >     <ant target="test">
> > >       <property name="listener"
> > > value="org.apache.tools.ant.XmlLogger"/>
> > >     </ant>
> > >     <style ... /style>
> > >     <mail ... /mail>
> > >   </target>
> > > 
> > > The problem I am having is with making the XmlLogger
> > > work via <ant> task. Any help would be appreciated.
> > > 
> > > Thanks,
> > > 
> > > ______________________
> > > Robert Anderson
> > > Sr. System Engineer
> > > Nike - Global Trade IT
> > > 503-532-6803 
> > > 
> > > 
> > >
> > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > 
> > 
> >             
> > __________________________________ 
> > Discover Yahoo! 
> > Have fun online with music videos, cool games, IM and more. 
> > Check it out! 
> > http://discover.yahoo.com/online.html
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to