ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: [SUBMIT] Refactor & combination of mail tasks
Date Sun, 03 Feb 2002 23:01:02 GMT
Is it in Bugzilla?  I don't have the bandwidth right now to do this
particular refactoring justice (it would take several hours of my time at
least).  Is there an urgent need for it?  If not, lets just put it in
Bugzilla as an enhancement request.

    Erik


----- Original Message -----
From: "Magesh Umasankar" <umagesh@apache.org>
To: "Ant Developers List" <ant-dev@jakarta.apache.org>
Sent: Sunday, February 03, 2002 5:38 PM
Subject: Re: [SUBMIT] Refactor & combination of mail tasks


> Erik/Steve:
>
> Will one of you please take care of this?
>
> http://marc.theaimsgroup.com/?t=100802277000004&r=1&w=2
>
> Cheers,
> Magesh
>
> ----- Original Message -----
> From: "Rob Oxspring" <roxspring@yahoo.com>
> To: <ant-dev@jakarta.apache.org>
> Sent: Monday, December 10, 2001 5:18 PM
> Subject: [SUBMIT] Refactor & combination of mail tasks
>
>
> > Hi all,
> >
> > A while back (possibly when MimeMail was submitted) it was suggested
that
> > the mail tasks should be integrated into one, using some reflection to
> > attempt to use JavaMail.  Recently I had a desire to send some binary
> > attachments but didn't want to have to install JavaMail on every
developer
> > workstation and so UU encoding was hit upon.
> >
> > The upshot of all this was that I've integrated the three encoding
formats
> > into a single task using JavaMail if available or uu encoding (via
> > sun.misc.UUEncoder - presumably available to any sun based JDK?).
> >
> > It should be possible to drop in the new task where the old one was used
> and
> > not notice the difference.
> >
> > <project name="emailtest" default="main">
> > <target name="main">
> > <mail message="My message"
> > subject="Ant Submission Test">
> >
> > <from name="From Rob" address="abc@xyz.com"/>
> > <to name="To Rob" address="xyz@abc.com"/>
> > <fileset dir=".">
> > <include name="*.xml"/>
> > </fileset>
> > </mail>
> > </target>
> > </project>
> >
> > Magesh: your includefilenames patch caught me mid flow so I've tried to
> > patch it in but would appreciate it if you would have a quick check that
> > things are coming out OK.  Only the PlainMailer is affected by this
> > attribute since I didn't know how best to add it into the other formats.
> >
> > Todo: Probably could find / implement uu encoding but Sun's solution was
> > handy and did the trick for now.
> >
> > Now if things run true to form I'll be back in touch in five minutes as
I
> > spot some daft mistake but in the meantime if others could eyeball it
too
> it
> > would be appreciated.
> >
> > Hope its deemed good enough...
> >
> > Rob
> >
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message