ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <jakarta-...@ehatchersolutions.com>
Subject Re: Problem with writing a new ant task
Date Thu, 14 Aug 2003 01:22:20 GMT
Where did you put the JAR containing the .class file?

And the classname that the error message below was not the same as the 
classname as the one you said you made it (org.teste??).  Are you also 
using <taskdef>?

On Wednesday, August 13, 2003, at 04:24  PM, Aloizio Pereira da Silva 
wrote:
> Hi
>
> I wrote a new task. I put the MessageTask.class in the
> org.apache.tools.ant.taskdefs.MessageTask and put a new line in the
> file
> org.apache.tools.ant.taskdefs.defaults.properties. When I run my 
> build.xml
> the message is showed: BUILD FAILED
> file:M:/Aloizio/JAVADOC/NewAntTask/build.xml:19: taskdef class
> org.teste.MessageTask cannot be found
>
> I want that this new task to be as a standard ant task.
>
> Could someone help me?
>
>             *****************************************************
>             *         Federal University of Minas Gerais        *
>             *          Department of Computer Science          *
>             *         Master Degree in Computer Science         *
>             *                                                   *
>             *                 Aloizio Silva                     *
>             *         http://www.dcc.ufmg.br/~aloizio          *
>             *                                                   *
>             *      Mobile Computer and Network Optimization     *
>             *****************************************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


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


Mime
View raw message