On Fri, 14 Jun 2002, Rob Oxspring <[EMAIL PROTECTED]> wrote:

> I had checked out ANT_15_BRANCH

should work (as long as you've updated it ;-).

> and have since tried ANT_15_B1 and ANT_15_B2

It has been bug #9574 which has been fixed after beta2.

> I can't see how mailer is ever assigned a project unless
> addMessage(Messsage) is called, which is a bit messed up when there
> are the setMessage and setMessageFile alternatives.

I patched the setter methods to do that explicitly (we are guaranteed
that setProject has been called before the setters get invoked on the
task).  The relevant patch is here:

<http://cvs.apache.org/viewcvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java.diff?r1=1.12&r2=1.12.2.1>

Stefan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to