升级到使用新ASC 2.0编译器的AIR 3.6 SDK后,我的Ant构建文件中的所有ASDoc任务都失败。我得到错误:Adobe ASC 2.0和ASDoc
BUILD FAILED
E:\Projects\Eclipse\project\build\build_swc.xml:51: The following error occurred while executing this line:
E:\Projects\Eclipse\projectbuild\build_swc.xml:209: Problem: failed to create task or type asdoc
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.
Adobe是否删除了ASDoc Ant任务?我在其他地方找不到任何有关此信息。在我安装3.6 SDK之前,ASDoc的生成工作完美无缺。
检查Ant任务变化的文件;检查你的类路径;检查taskdef类路径中的jar并查找taskdef.properties或antlib.xml以查看asdoc任务是否已重命名。 – coolcfan 2013-03-13 06:45:47
ASC2.0不理解MXML,所以这可能是一个问题(如果你使用flex) – 2013-03-13 15:34:52