Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Setting up cpptasks (in Eclipse)

Hendrik Maryns

2008-08-25


Author LoginPost Reply
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


Attachment: signature.asc (zipped)
©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.