ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <erikhatc...@earthlink.net>
Subject Re: [SUBMIT] mimemail task
Date Wed, 06 Jun 2001 04:30:24 GMT
Whats the status of the <mimemail> task?

Is it committable in its current state or are the changes that Stefan
proposed needed before it can be committed?  Anyone working on these
changes?   I could make the changes needed for the FileSet enhancement if
that is all that is holding up it being committed.   Is a zipfileset or
tarfileset really needed?   Wouldn't it be acceptable to zip or tar files
prior to the executation of the mimemail task?

I just successfully added the MimeMail class to my local installation and
re-built the optional.jar, etc.   It requires the mail.jar and
activation.jar as specified below, which also means that the bootstrap.bat
(and probably others, although I only modified bootstrap.bat on my system)
needs modification to have these jars listed similarly to the junit.jar.
[Or is this modification not really needed and I'm missing some piece in how
optional tasks that depend on other .jars get recognized?]

This task works just fine for what I need.

Thanks,
    Erik "learning more and more about the internals of Ant by the minute!"
Hatcher


----- Original Message -----
From: "Stefan Bodewig" <bodewig@apache.org>
To: <ant-dev@jakarta.apache.org>
Sent: Thursday, May 03, 2001 12:58 AM
Subject: Re: [SUBMIT] mimemail task


> Steve Loughran <steve_l@iseran.com> wrote:
>
> > From: "Stefan Bodewig" <bodewig@apache.org>
>
> >> This means, it uses JavaMail instead of org.apache.tools.mail, yes?
> >
> > yes indeed. So while it does more, its requirements are higher.
>
> Hmm, random thought alarm: Make <mail> a facade that uses JavaMail if
> present and falls back to a non MIME version based on Jason's simple
> mail package that ships with Ant.
>
> >> Any reason you need the complete J2EE stuff instead of JavaMail and
> >> Java Activation Framework separately?
> >
> > nope. I didnt know they came in separate jars. If someone sends me
> > the pointers I'll make the build of the file dependent on them and
> > do a doc page to go with it.
>
> JavaMail: <http://java.sun.com/products/javamail/index.html>
>
> Java Activation Framework:
> <http://java.sun.com/products/javabeans/glasgow/jaf.html>
>
> > Also we need to consider whether the file selection process (comma
> > separated list) is adequate.
>
> I'd always prefer something using nested elements over (arbitrarily)
> seperated lists in attributes.
>
> > I'd rather a proper fileset list, maybe with manual mime type
> > override.
>
> This could be a fileset with some additional features, like
> <zipfileset> or <tarfileset>.
>
> Stefan


Mime
View raw message