ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S I" <xia...@hotmail.com>
Subject RE: cvs task failing from cron
Date Fri, 08 Jul 2005 20:38:03 GMT
Try to remove the port attribute and that should make it work.  Same thing 
happened to me when I tried to define a dedicated port number and the server 
did not like it; must be the firewall.  Just do it w/o the port #.

   <target name="mailer">
     <mail from="${fromlist}"
           tolist="${tolist}""
           subject="Build${build.number} was successfull..."
           messagefile="folder/msg.txt"
           mailhost="${my.mail.host}"/>
   </target>

----Original Message Follows----
From: "George Dibi" <George.Dibi@intervoice.com>
Reply-To: "Ant Users List" <user@ant.apache.org>
To: "Ant Users List" <user@ant.apache.org>
Subject: RE: cvs task failing from cron
Date: Fri, 8 Jul 2005 13:57:58 -0500
MIME-Version: 1.0
X-Originating-IP: [205.143.75.32]
Received: from mail.apache.org ([209.237.227.199]) by mc9-f2.hotmail.com 
with Microsoft SMTPSVC(6.0.3790.211); Fri, 8 Jul 2005 11:58:18 -0700
Received: (qmail 53965 invoked by uid 500); 8 Jul 2005 18:58:12 -0000
Received: (qmail 53952 invoked by uid 99); 8 Jul 2005 18:58:11 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49)    by 
apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2005 11:58:11 -0700
Received: pass (asf.osuosl.org: local policy)
Received: from [216.82.255.67] (HELO mail73.messagelabs.com) (216.82.255.67) 
    by apache.org (qpsmtpd/0.29) with SMTP; Fri, 08 Jul 2005 11:58:09 -0700
Received: (qmail 24156 invoked from network); 8 Jul 2005 18:58:07 -0000
Received: from unknown (HELO SRV-EXVS01-DAL.intervoice.int) (205.143.75.32)  
by server-2.tower-73.messagelabs.com with SMTP; 8 Jul 2005 18:58:07 -0000
X-Message-Info: JGTYoYF78jFWD/cTXKi9CdPWJC9D6whpesJxOm00UNA=
Mailing-List: contact user-help@ant.apache.org; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:user-unsubscribe@ant.apache.org>
List-Help: <mailto:user-help@ant.apache.org>
List-Post: <mailto:user@ant.apache.org>
List-Id: "Ant Users List" <user.ant.apache.org>
Delivered-To: mailing list user@ant.apache.org
X-ASF-Spam-Status: No, hits=0.0 required=10.0tests=
X-Spam-Check-By: apache.org
X-VirusChecked: Checked
X-Env-Sender: George.Dibi@intervoice.com
X-Msg-Ref: server-2.tower-73.messagelabs.com!1120849087!37041670!1
X-StarScan-Version: 5.4.15; banners=intervoice.com,-,-
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: cvs task failing from cron
Thread-Index: AcWDAvMe/mS5wevxQK6c/TfHl3c5rQADdLcAADdbR6A=
X-Virus-Checked: Checked by ClamAV on apache.org
Return-Path: user-return-51043-xiamak=hotmail.com@ant.apache.org
X-OriginalArrivalTime: 08 Jul 2005 18:58:18.0762 (UTC) 
FILETIME=[010786A0:01C583EF]

All,

After a build I send an email notification for PASS/FAIL.
The problem is that sometimes I get this IO error.

Have anyone ran to this problem before?
I am using ant version 161 and 162. In either cases I am getting the
same error.
I would appreciate any help.

hmpsuccess:
      [mail] Sending email: successfull INTEL HMP build
      [mail] Failed to send email

BUILD FAILED
V:\ccadm_gdibi3\buildVOB\autobuild\simple3.xml:105: Following error
occured while executing this line
V:\ccadm_gdibi3\buildVOB\autobuild\simple3.xml:115: IO error sending
mail


Example of code.

           <condition property="isdnSuccessful">
               <equals arg1="${isdnResult}" arg2="0" />
           </condition>
           <antcall target="isdnsuccess"/>
           <antcall target="isdnfail"/>
   </target>

   <target name="isdnsuccess" if="isdnSuccessful">
        <mail mailhost="mail-relay-dal.intervoice.int" mailport="25"
       	     subject= "Successfull Isdnss build"
              encoding="plain"
              from="${mail.fromlist}" tolist="${mail.tolist}"
	     files="${build.log}/isdnss/data.txt">
      </mail>
      <copy
file="${drive}/${new.BUILD_VIEW}/buildVOB/autobuild/vxmlmtc2.4"

tofile="${std.app}/vxml_mtc/Trace_output/${old.label.product}ISDNSS_${ne
w.ISDNSSVOB_BLD}PASS_${STAMP}"/>
   </target>

   <target name="isdnfail" unless="isdnSuccessful">
        <mail mailhost="mail-relay-dal.intervoice.int" mailport="25"
              subject= "Isdnss build failed"
              encoding="plain"
              from="${mail.fromlist}" tolist="${mail.tolist}"
              files =
"${build.log}/${isdnss.mtc.collection}/build.report,${build.log}/missing
.err">
      </mail>
      <copy
file="${drive}/${new.BUILD_VIEW}/buildVOB/autobuild/vxmlmtc2.4"

tofile="${std.app}/vxml_mtc/Trace_output/${old.label.product}ISDNSS_${ne
w.ISDNSSVOB_BLD}FAIL_${STAMP}"/>
        <fail message="Build failed"/>
   </target>

This e-mail transmission may contain information that is proprietary, 
privileged and/or confidential and is intended exclusively for the person(s) 
to whom it is addressed. Any use, copying, retention or disclosure by any 
person other than the intended recipient or the intended recipient's 
designees is strictly prohibited. If you are the intended recipient, you 
must treat the information in confidence and in accordance with all laws 
related to the privacy and confidentiality of such information.  If you are 
not the intended recipient or their designee, please notify the sender 
immediately by return e-mail and delete all copies of this email, including 
all attachments.

---------------------------------------------------------------------
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