Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Writing a custom ant task

Hi all,

I'm trying to create a custom ant task going forth as Robin describes in her excellent article referred to by this post.

I've generated my plugin and placed it in the buildtoolkit folder. When I run my build, I get the following error. Can anybody help me?


C:\temp\build.xml:15: Only antlib URIs can be located from the URI alone,not the URI 

15: <taskdef taskname="testbackendapi" classname="xtool.backend.tasks.TestBackendAPI"/>

0 votes



One answer

Permanent link
OMG! the answer was SO easy!

the attribute "taskname" should be renamed to "name"....... argh!

The correct taskdef

<taskdef name="testbackendapi" classname="xtool.backend.tasks.TestBackendAPI"/>

1 vote

Comments

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,943
× 25

Question asked: Jun 08 '13, 11:38 a.m.

Question was seen: 6,949 times

Last updated: Jun 09 '13, 5:16 a.m.

Confirmation Cancel Confirm