You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Tomasz Anuszewski <bu...@wp.pl> on 2005/10/12 16:31:42 UTC
taskdef problem
Hi,
I want to compile my custom task and in the same build.xml file script
use it in another target. Is this possible or I have to write another
script to only compile my task?
Until now I've got error message: "taskdef class 'taskName' cannot be
found". That's right because at first I have to compile my custom task
and later use it. How to set classpath attribute in ant script?
Regards
Tomasz Anuszewski.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: taskdef problem
Posted by Matt Benson <gu...@yahoo.com>.
set the classpath on the taskdef itself after having
compiled the class.
HTH,
Matt
--- Tomasz Anuszewski <bu...@wp.pl> wrote:
> Hi,
> I want to compile my custom task and in the same
> build.xml file script
> use it in another target. Is this possible or I have
> to write another
> script to only compile my task?
> Until now I've got error message: "taskdef class
> 'taskName' cannot be
> found". That's right because at first I have to
> compile my custom task
> and later use it. How to set classpath attribute in
> ant script?
>
> Regards
> Tomasz Anuszewski.
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
>
>
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org