ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lakshmi Prasad Thota <>
Subject RE: generating log file in AIX
Date Wed, 30 May 2007 18:34:02 GMT
Thanks a lot  to  you all for  your hints.

I used these attributes output and error at each of my exec task. 
But when build failed it says '[exec] result: 166' at console and
writes 'Failed. Please check log file'  in the output log file (not in the 
error log file)
what log file is this? and where is it created?
The message is not clear about what was the actual error and why build 

Is there any thing else needs to be specified?


"Pankaj Arora01" <> 
05/30/2007 05:47 AM

"Ant Users List" <>, <>

RE: generating log file in AIX

If u r looking for log files for each of the exec task then you can use
smthing like following:

<exec dir="" 

-----Original Message-----
From: [] 
Sent: Wednesday, May 30, 2007 3:13 PM
To: Ant Users List
Subject: RE: generating log file in AIX

ant -l <logname.log>

instead of just giving ant, use the above one. if you have build.xml in 

Does that do what you're looking for?

Best regards,

"David Alves" <> 
05/30/2007 02:37 AM
Please respond to
"Ant Users List" <>

"Ant Users List" <>

RE: generating log file in AIX

Take a look at the <record> task at this address:

Does that do what you're looking for?

David Alves

-----Original Message-----
From: Lakshmi Prasad Thota [] 
Sent: Tuesday, May 29, 2007 1:11 PM
To: Ant Users List
Subject: generating log file in AIX

Hi All,

Can any one help me generating a log file for ant tasks in AIX?
When I run my ant scripts any  errors in execution should go to a log 
Basically I'm using exec task in my build.xml


This message, and any attachments to it, may contain information
that is privileged, confidential, and exempt from disclosure under
applicable law.  If the reader of this message is not the intended
recipient, you are notified that any use, dissemination,
distribution, copying, or communication of this message is strictly
prohibited.  If you have received this message in error, please
notify the sender immediately by return e-mail and delete the
message and any attachments.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

This e-Mail may contain proprietary and confidential information and is
sent for the intended recipient(s) only.  If by an addressing or
transmission error this mail has been misdirected to you, you are
requested to delete this mail immediately. You are also hereby notified
that any use, any form of reproduction, dissemination, copying,
disclosure, modification, distribution and/or publication of this e-mail
message, contents or its attachment other than by its intended
recipient/s is strictly prohibited.

Visit us at

**************** CAUTION - Disclaimer *****************
solely for the use of the addressee(s). If you are not the intended 
recipient, please notify the sender by e-mail and delete the original 
message. Further, you are not to copy, disclose, or distribute this e-mail 
or its contents to any other person and any such actions are unlawful. 
This e-mail may contain viruses. Infosys has taken every reasonable 
precaution to minimize this risk, but is not liable for any damage you may 
sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves 
the right to monitor and review the content of all messages sent to or 
from this e-mail address. Messages sent to or from this e-mail address may 
be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message