ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dushyant Shrivastava" <>
Subject RE: MAIL task
Date Sun, 27 Oct 2002 23:59:43 GMT
Hi Jeff,
Thanks for the reply mate! Yes I did finally resolve this issue but by backtracking to ANT
1.4.1 and JDK 1.4.1 ! Still not sure what the problem was with ANT 1.5 and JDK 1.4.1 But our
team is insistent on using ANT 1.4.1 so I did not bother to investigate more.
Thanks again

-----Original Message-----
From: Jeff Johnson []
Sent: Saturday, October 26, 2002 1:37 AM
To: Ant Users List
Subject: RE: MAIL task


Did you ever resolve this issue?

I'm doing the same thing using Ant 1.5.1 and JDK 1.4.1_01, and it works correctly for me.
 The email body is in HTML format.  I've also tested it against Ant 1.5, and it works.

        <zip destfile="${test.dir}/reports/"
             basedir="${test.dir}/reports/html" />

        <mail mailhost=""
              subject="NightlyBuild test results [${TODAY}]"
            <fileset dir="${test.dir}/reports">
                <include name=""/>

- Jeff

-----Original Message-----
From: Dushyant Shrivastava []
Sent: Wednesday, October 23, 2002 12:24 AM
To: Ant Users List
Subject: MAIL task

Hi guys,
I am using ANT 1.5 with JBoss 3.0.2, JDK 1.4.1.

This is my code which basically should send the mail out:
<!-- =================================================================== -->
<!-- Send mail out                                                                    
<!-- =================================================================== -->

<target name="mail" depends="compile, test">

<mail mailhost="pluto" subject="Test build results" messagemimetype="text/html" messagefile="${reports}/overview-summary.html"
          <from address=""/>
          <to address=""/>
           <fileset dir="${reports}">
                           <include name="index.html"/>

This is what my JUnitreport task looks like:

        <junitreport todir="${reports}">
          <fileset dir="${reports}">
             <include name="TEST-*.xml"/>
          <report format="noframes" todir="${reports}"/>

Now every time the mail is sent out, it gets to my address in plain text instead of the html
format!! Has anyone come across this problem, is this a problem with ANT 1.5 in particular???


Any help is much appreciated




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

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

View raw message