0

我的一些 Ant 任务在 FDT 中失败。错误通常是:

BUILD FAILED
Problem: failed to create task or type fdt.invoke.launchConfiguration
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

到底是怎么回事?

4

1 回答 1

2

您需要确保 Ant 脚本运行的 JRE 与您的工作区相同。

在此处输入图像描述 在此处输入图像描述

于 2012-09-27T14:53:04.120 回答