Login | Register
My pages Projects Community openCollabNet

Discussions > users > taskdef resource problem

antelope
Discussion topic

Hide all messages in topic

All messages in topic

taskdef resource problem

Author Ed Meagher <ed at meagherfamily dot org>
Full name Ed Meagher <ed at meagherfamily dot org>
Date 2006-10-02 20:11:12 PDT
Message Hi,

At the beginning of my build file I have a <taskdef> specified as follows:

   <taskdef resource="net/sf/ant​contrib/antlib.xml" />

Whenever I try to run the build through the JEdit (4.2) Antelope (3.2.18)
plugin, I get the following error:

Could not load definitions from resource net/sf/antcontrib/antlib.xml. It
could not be found.
BUILD FAILED
E:\src\build.xml:11: Could not create task or type of type: if.

The antelope_debug.log says this:

Mon Oct 02 23:06:25 EDT 2006: ise.antelope.common.AntLogger:
Mon Oct 02 23:06:25 EDT 2006: ise.antelope.common.AntLogger: ===== BUILD
STARTED =====

Mon Oct 02 23:06:25 EDT 2006: ise.antelope.common.AntLogger: Could
not load definitions from resource net/sf/antcontrib/antlib.xml. It could
not be found.
Mon Oct 02 23:06:25 EDT 2006: ise.antelope.common.AntLogger:
BUILD FAILED

The build works fine from the command line. I'm using Ant 1.6.5 and java
1.5.0_06.

Am I doing something wrong?

Thanks,

Ed
Attachments
Messages per page: