Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant logging

 
Nigel Browne
Ranch Hand
Posts: 703
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Ant for the first time within a project. I have managed to get Ant to send e-mail on completion of a build and I am attaching log.xml to the mail.This is created using the following command line argument:
ant - listener org.apache.tools.XmlLogger.
This is fine however a bit long winded. Has anyone written a custom log class for ant ? If so I would be interested in how this was achieved.
 
peter maurer
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Nigel Browne:
I am using Ant for the first time within a project. I have managed to get Ant to send e-mail on completion of a build and I am attaching log.xml to the mail.This is created using the following command line argument:
ant - listener org.apache.tools.XmlLogger.
This is fine however a bit long winded. Has anyone written a custom log class for ant ? If so I would be interested in how this was achieved.

Hello Mr. Browne!
This topic is very interesting for me too!!! Did you find a solution with a customed java-class? if so, i would be very pleased if can give me some infos about it to me (hpm-intersoft@t-online.de)
Thanks in advance!
Best
Peter
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic