2012-09-27 40 views
0

我的一些Ant任務在FDT中失敗。錯誤通常是:我無法在FDT中運行一些Ant任務

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 

這是怎麼回事?

回答

2

您需要確保Ant腳本正在運行與您的工作區相同的JRE。

enter image description here enter image description here

+0

非常感謝你! – rushkeldon