The following build.xml file used to be valid with ant 1.6.5 :
(the cpptasks jar must be in the ant lib/ directory)
With ant 1.7.0 it generates the following error :
build.xml:3: Problem: failed to create task or type includepath
Cause: The name is undefined.
Adding one line to cpptasks.types solves the issue :