我无法在FDT中运行一些Ant任务

时间:2012-09-27 14:53:04

标签: ant fdt launching

我的一些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

发生了什么事?

1 个答案:

答案 0 :(得分:2)

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

enter image description here enter image description here