4
我使用Ant 1.8.2,我得到這個錯誤:如何使用CPP-任務Ant構建
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
我GOOGLE了它。並意識到螞蟻貢獻缺失。之後,我添加了ant-contrib-1.0b3.jar。但是這個jar不支持Ant 1.8.2並且我不知道使用cpp-tasks。我讀http://ant-contrib.sourceforge.net/cpptasks/index.html這個,但我沒有克服。
問候。
任何想法?我無法使用Eclipse UI。 –
你可以請包括你的構建文件等? – imrichardcole
請列出您的構建文件...以及您爲什麼使用ant-contrib。通常有更好的方法來做事情比ant-contrib。 – thekbb