You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Hendrik Maryns <qw...@sneakemail.com> on 2008/08/25 17:00:51 UTC

Setting up cpptasks (in Eclipse)

Hi,

I found cpptasks through a recent thread and I am trying to use it, but 
the installation instructions are very concise for a newbie to Ant.  I’d 
like some help here.

What I did:
- downloaded the tarball from Sourceforge
- unpacked it in /usr/local
- invoked ant
- copied cpptasks.jar to /usr/share/ant/lib
- put the following line in my build.xml:
	<taskdef resource="cpptasks.tasks"/>

I executed the clean target from Eclipse and I got:

Buildfile: /home/hendrik/workspace/MonaSearch/build.xml
   [taskdef] Could not load definitions from resource cpptasks.tasks. It 
could not be found.
clean:
    [delete] Deleting directory /home/hendrik/workspace/MonaSearch/bin
BUILD SUCCESSFUL
Total time: 958 milliseconds

Could it be that Eclipse doesn’t look in /usr/share/ant/lib or do I have 
to do a refresh or anything?

TIA, H.
-- 
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html