ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abridgel <>
Subject Problems creating my own ant task
Date Wed, 03 Nov 2010 17:40:02 GMT

Hi I'm new to creating ant tasks - I wrote a simple hello world java program,
created a antbuild.xml - I jarred it up as follows


I put the jar in my ANT_HOME/lib

At the top of my buildfile I define the xmlns in the project tag

The target in antbuild.xml is "jack"

I call the target in my build file <test:jack/>

I get the following error

antlib.xml:2: taskdef A class needed by class hello.tasks.Hello cannot be
: hello/tasks/Hello (wrong name: Hello)

Can anyone help I've been struggling with this all morning.
View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message