ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Thompson" <tony.thomp...@stone-ware.com>
Subject Re: ANT Mail Task
Date Mon, 14 Jul 2003 16:17:23 GMT
Use a <fileset> instead of <files> (files is actually an attribute of
the <mail> task):

  <fileset includes="D:\sources\test\prj\test.plg"/>

>>> andreiv@ubm.ro 07/14/03 10:59AM >>>
This code seems to have a problem:
<mail mailhost="host.xxx.com" subject="New Build Notification">
<from address="andreiv@xxx.com"/>
<to address="andreiv@xxx.com"/>
<files="D:\sources\test\prj\test.plg"/>
<message>
Build Timestamp:	${date_time} 
Build Number:		${build_number}	
Build Status:		{still to be implemented}
For more information see the attached log file.
</message>
</mail>

It gives me the following message:
line4: Element type "files" must be followed by either attribute 
specifications, ">" or "/>"
If I delete the <files... line it works.
What is wrong with the <files... line?
Thank You.
Andrei


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


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


Mime
View raw message