|Ant failed to create task or type "bnd" [message #1005157]
||Thu, 24 January 2013 10:10
| Ulrich Schmidt
Registered: January 2013
I'm running Eclipse Juno (BuildId 20120614-1722) with Java 6.0.38 and Ant 1.8.3. I just installed BndTools from the Eclipse marketplace (bndlib 1.51 and some other bndtools-jars). I don't know much about OSGi but need to get familiar to it. So I tried to build a bundle with:|
<target name="buildBnd" depends="compile">
The run fails with messages:
[taskdef] Could not load definitions from resource aQute/bnd/ant/taskdef.properties. It could not be found.
D:\Anwendungen\Eclipse\PrivateBase\LNNreader\Bundle.xml:83: Problem: failed to create task or type bnd
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.
As far as I understand now, the classpath in the taskdef-tag describes the location of the bnd-code and the classpath within the bnd-tag describes the path to be bundled. I've copied the "biz.aQute.bndlib_1.51.0.jar" to the $ANT_HOME/lib-path and have added all bndtools.*.jar-files to the runtime-path (Window - Preference - Ant - Runtime - Ant Home Home Entries).
Any suggestion, what can be done here?
Powered by FUDForum
. Page generated in 0.02148 seconds