[ant-contrib - Help] RE: Problem: failed to create task or type c

"SourceForge.net" <[email protected]> Thu, 25 Oct 2007 08:23:57 -0700
Newsgroups gmane.comp.java.ant-contrib.devel
Message-ID <[email protected]>
Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4587991
By: sherpaguy

I put the taskdef for cpptasks in a separate target, upon which the other targets
can depend if they need it.  Try adding this target and adding it to the depends
list for the hello target.

   <!-- Pick up the cpptasks definitions -->
   <!-- Documentation at: http://ant-contrib.sourceforge.net/cc.html -->
   <target name="cpptasks">
     <taskdef resource="net/sf/antcontrib/cpptasks/antlib.xml">
       <classpath>
         <pathelement location="<path to cpptasks.jar>"/>
       </classpath>
     </taskdef>
  </target>

-Michael


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=113701

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/