ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elena Ognovenko" <>
Subject RE: Receiving IO error sending email
Date Thu, 27 May 2004 13:46:23 GMT
I've just remove these strings from build.xml

                                 <fileset dir="."

But it won't help. I am getting the same message.

I forgot to mention - on another PC in my network, everything works fine
with this code. Mails can be successfully sent from any PC in my network
except mine.

Maybe I miss some necessary programs?

-----Original Message-----
From: Hartman, Shane [] 
Sent: Thursday, May 27, 2004 5:42 PM
To: 'Ant Users List'
Subject: RE: Receiving IO error sending email

It looks like you may be deleting your zip file before you send it or
referencing the incorrect directory when looking for you zip file.

It looks like you have the <delete> tag at the top referencing "." as the
directory and later in your <mail from> tag you are referencing the same
directory to look for you zip file. 

-----Original Message-----
From: Elena Ognovenko [] 
Sent: Thursday, May 27, 2004 9:29 AM
Subject: Receiving IO error sending email

Hello All,


I am using apache-ant-1.5.2 to compile builds. And I always fail to send

Here is what I've got for you, hope you will be able to grant me some
brilliant ideas what to do:


1. I have build.xml file with the following code for sending mails


            <target name="send-release-mail" depends="init">


                                   <fileset dir="."



                        <zip destfile="${app-path}/"


                                   <fileset dir="."





                        <mail from="${release_mail.from}"







                                   <fileset dir="."






2. Then, I have file with the following specs:<!--my real smtp host--> 

recipients=<!--my real email address-->


release_mail.subject= release build - 

mail.body=Check the attached log files for details.


3. Running ant in verbose mode gives no errors and "BUILD SUCCESSFUL"


While trying to send mail, receive the following:


C:\mde\ant-build>ant send-release-mail

Buildfile: build.xml





      [zip] Warning: skipping zip archive C:\mde\ because
no files were included.

     [mail] Sending email: MDE release build -  bld001

     [mail] Failed to send email



file:C:/mde/ant-build/build.xml:2286: IO error sending mail


Total time: 2 seconds


(build.xml:2286 is "encoding="uu">" string.)


What can be wrong with the setup?





This email and any attachments constitute non-public information for use
only by intended recipient(s) and may contain confidential information.  If
you are not an intended recipient, please notify our Information Security
Officer immediately at (941) 906-5844 and permanently delete the original of
this email and any attachments, as well as any copies or printouts thereof.
The unauthorized use, dissemination, distribution or reproduction of this
email and any attachments is prohibited and may be unlawful.

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

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

View raw message