ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurien Mathew" <kur...@mail.pdx.envivio.com>
Subject Exception with <mail> task
Date Thu, 20 Jun 2002 02:48:49 GMT
I get the following output when the mail task is used as

        <mail from="${builduser}" tolist="${diffusionlist}"
subject="${mail.subject}" messagefile="build.log" mailhost="${mailserver}"/>

Output:
     [mail] Failed to initialise MIME mail
     [mail] Using UU mail
	....
java.lang.NullPointerException
	at org.apache.tools.ant.taskdefs.email.Message.print(Message.java)
	at org.apache.tools.ant.taskdefs.email.PlainMailer.send(PlainMailer.java)
	at org.apache.tools.ant.taskdefs.email.EmailTask.execute(EmailTask.java)
	at org.apache.tools.ant.Task.perform(Task.java)
	at org.apache.tools.ant.Target.execute(Target.java)
	at org.apache.tools.ant.Target.performTasks(Target.java)
	at org.apache.tools.ant.Project.executeTarget(Project.java)
	at org.apache.tools.ant.Project.executeTargets(Project.java)
	at org.apache.tools.ant.Main.runBuild(Main.java)
	at org.apache.tools.ant.Main.start(Main.java)
	at org.apache.tools.ant.Main.main(Main.java)


Looking a little deeper I noticed that
'org.apache.tools.ant.taskdefs.email.MimeMailer' and some other related
classes are missing from ant.jar(version 1.5b2)

Is this how it is meant to be?

Kurien


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