You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Kevin Jackson <fo...@gmail.com> on 2007/06/05 11:01:44 UTC

Overriding a core task with taskdef

Hi all,

I'd like to be able to do
<taskdef name="mail"
 				classname="org.apache.tools.ant.taskdefs.email.EmailTask"
 				classpathref="javamail.path"/>

So that I can define where to load the ant-javamail.jar and mail.jar
from.  This works fine for the SSHExec and Scp tasks, but not with
EmailTask.

Is there a fundamental difference here?

Kev

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