From: SourceForge.net <no...@so...> - 2007-01-03 08:32:50
|
Bugs item #1626443, was opened at 2007-01-02 21:35 Message generated for change (Comment added) made by mat007 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=416920&aid=1626443&group_id=36177 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: cpptasks Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mathieu Champlon (mat007) Assigned to: Curt Arnold (carnold) Summary: Missing includepath type definition needed with ant 1.7.0 Initial Comment: Hello, The following build.xml file used to be valid with ant 1.6.5 : <project> <taskdef resource="net/sf/antcontrib/cpptasks/antlib.xml"/> <includepath id="my-id"/> </project> (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 : includepath=net.sf.antcontrib.cpptasks.types.IncludePath MAT. ---------------------------------------------------------------------- >Comment By: Mathieu Champlon (mat007) Date: 2007-01-03 09:32 Message: Logged In: YES user_id=71590 Originator: YES Oups sorry I mixed up my test build files... Actually the code that use to be valid with ant 1.6.5 and isn't anymore with ant 1.7.0 is : <project> <taskdef resource="net/sf/antcontrib/cpptasks/antlib.xml"/> <path id="my-id"/> <cc> <includepath refid="my-id"/> </cc> </project> Now with ant 1.7.0 the error is : build.xml:11: my-id doesn't denote a includepath Adding the type definition makes it possible to declare : <includepath id="my-id"/> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=416920&aid=1626443&group_id=36177 |