You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "DHARNA, AJAY [AG/1000]" <aj...@monsanto.com> on 2006/01/09 22:28:31 UTC

using the default Logger/Listener in Ant

I am using the following options in Ant

-listener org.apache.tools.ant.XmlLogger -DXmlLogger.file log.xml

However, I get the following error message;

ant logfile C:Development\Project\Source\Build\log.xml does not exist.

Do I need to create a log.xml file?? Has anyone seen this issue and know how
to fix this error.

Thank you for your help
 
Ajay Dharna

---------------------------------------------------------------------------------------------------------
This e-mail message may contain privileged and/or confidential information, and is intended to be received only by persons entitled to receive such information. If you have received this e-mail in error, please notify the sender immediately. Please delete it and all attachments from any servers, hard drives or any other media. Other use of this e-mail by you is strictly prohibited.


All e-mails and attachments sent and received are subject to monitoring, reading and archival by Monsanto. The recipient of this e-mail is solely responsible for checking for the presence of "Viruses" or other "Malware". Monsanto accepts no liability for any damage caused by any such code transmitted by or accompanying this e-mail or any attachment.
---------------------------------------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: using the default Logger/Listener in Ant

Posted by Tim Meals <ti...@codeknox.com>.
Ajay --

You need an equals sign between the XmlLogger.file property and its 
value.  Try:

ant -listener org.apache.tools.ant.XmlLogger -DXmlLogger.file=log.xml 
[YOUR_TARGET_HERE]

Tim

DHARNA, AJAY [AG/1000] wrote:

>I am using the following options in Ant
>
>-listener org.apache.tools.ant.XmlLogger -DXmlLogger.file log.xml
>
>However, I get the following error message;
>
>ant logfile C:Development\Project\Source\Build\log.xml does not exist.
>
>Do I need to create a log.xml file?? Has anyone seen this issue and know how
>to fix this error.
>
>Thank you for your help
> 
>Ajay Dharna
>
>---------------------------------------------------------------------------------------------------------
>This e-mail message may contain privileged and/or confidential information, and is intended to be received only by persons entitled to receive such information. If you have received this e-mail in error, please notify the sender immediately. Please delete it and all attachments from any servers, hard drives or any other media. Other use of this e-mail by you is strictly prohibited.
>
>
>All e-mails and attachments sent and received are subject to monitoring, reading and archival by Monsanto. The recipient of this e-mail is solely responsible for checking for the presence of "Viruses" or other "Malware". Monsanto accepts no liability for any damage caused by any such code transmitted by or accompanying this e-mail or any attachment.
>---------------------------------------------------------------------------------------------------------
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>  
>

-- 
/**
 * 	Tim Meals
 * 	Web Applications Developer
 */


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org