【发布时间】:2019-06-27 19:55:06
【问题描述】:
我对 ANT 构建 Eclipse (Oxygen) 项目非常陌生。我正在使用之前在 RAD 环境中编写的现有 build.xml 文件。
这是我的workspacePreferenceFile;
<workspacePreferenceFile
preferenceFileName="${rad.preferences.filename}"
useEclipsePrefs="true"
overwrite="true" />
这是我的${rad.preferences.filename}
compiler.problem.unusedImport=ignore
compiler.compliance=1.8
compiler.source=1.8
这是错误
BUILD FAILED
Problem: failed to create task or type workspacePreferenceFile
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.
有什么想法吗?谢谢!
【问题讨论】: