-----Original Message-----
From: Emsley, I (Iain) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 11, 2008 12:14 PM
To: [email protected]
Subject: Failing to create a task or type

/*
[taskdef] Could not load definitions from resource
net/sf/antcontrib/antcontrib.properties. It could not be found.
init:
build:
BUILD FAILED
M:\bedework\bedework\projects\contrib\build.xml:117: The following error
occurred while executing this line:
M:\bedework\bedework\projects\contrib\build\buildjar.xml:84: Problem:
failed to create task or type if
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken
place.
*/

means that antcontrib.jar is out of sight for your Ant installation

place antcontrib.jar into %ANT_HOME%/lib folder

and put =
  <!-- Import AntContrib -->
  <taskdef resource="net/sf/antcontrib/antlib.xml" />

in your buildfile.

or 

place antcontrib.jar elsewhere and put =
<taskdef resource="net/sf/antcontrib/antlib.xml">
  <classpath path="path/to/antcontrib.jar"/>
</taskdef>

in your buildfile.

get antcontrib.jar here =

1.0b2
http://sourceforge.net/project/showfiles.php?group_id=36177&package_id=2
8636&release_id=302241
or
1.0b3
http://sourceforge.net/project/showfiles.php?group_id=36177&package_id=2
8636&release_id=459052


Regards, Gilbert





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to