You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by PASSIGNAT STEPHANE <ST...@sgam.com> on 2002/06/06 19:05:14 UTC
mail target
Hello,
I've a problem with the target 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)
ant code :
<target name="mailme" >
<mail from="${mail_from}" mailhost="${mailhost}"
tolist="${listemail}" messagemimetype="text/plain" encoding="plain"
subject="[${revision}] ${project}"
message="pi=3.14"/>
</target>
does anybody knows what to do ?
Stephane
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: mail target
Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 6 Jun 2002, Hal Hildebrand <Ha...@hellblazer.com>
wrote:
> I forgot to submit this as a bug to Ant, but attached is the fixed
> task.
It has been submitted by somebody else - and is fixed in the 1.5
branch, i.e. the next 1.5 build will not have this problem. You can
verify it by using the latest build from
<http://cvs.apache.org/~bodewig/gump/ant1.5beta/>
Stefan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: mail target
Posted by "Hal Hildebrand (web)" <Ha...@hellblazer.com>.
The problem is that the EmailTask is not setting the "project" of the
Message.
I forgot to submit this as a bug to Ant, but attached is the fixed task.
Cheers.
----- Original Message -----
From: "PASSIGNAT STEPHANE" <ST...@sgam.com>
> Hello,
>
> I've a problem with the target 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)
>
> ant code :
>
> <target name="mailme" >
> <mail from="${mail_from}" mailhost="${mailhost}"
> tolist="${listemail}" messagemimetype="text/plain" encoding="plain"
> subject="[${revision}] ${project}"
> message="pi=3.14"/>
> </target>
>
>
> does anybody knows what to do ?
>
> Stephane
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
>
something like -Xmx256x
Posted by Matthias Born <bo...@oio.de>.
hi!
my transformation with task 'style' seems to need more memory (i'm not
shure).
>> javax.xml.transform.TransformerException:
org.apache.xml.dtm.DTMException: No more DTM IDs are available
but the <style> task doesn't support the nested "jvmarg" element.
some ideas to fix that?
thx!
matze
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>