首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >EclipseME eclipseme-build.xml

EclipseME eclipseme-build.xml
EN

Stack Overflow用户
提问于 2013-03-16 14:24:47
回答 1查看 108关注 0票数 0

首先,我遇到了导出天线文件的几个问题,ant build : build.xml,但这很容易修复,因为我找到了解决方案。

现在,当我尝试对eclipseme-build.xml执行同样的操作时,我得到了一个错误:

代码语言:javascript
复制
  [taskdef] Could not load definitions from resource antenna.properties. 
It could not be found.

BUILD FAILED
C:\Documents and Settings\...\eclipseme-build.xml:21: Problem: failed to create task or type wtkbuild`
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.

这行是这样的:

代码语言:javascript
复制
<target depends="-eclipseme-initialize" name="-eclipseme-build">
  <echo message="Building source files..."/>
  <wtkbuild destdir="${path.build.classes}" encoding="${src.encoding}" source="1.3" sourcepath="" srcdir="${project.root.Client}/res">
     <classpath refid="classpath.Client"/>
  </wtkbuild>
  <wtkbuild destdir="${path.build.classes}" encoding="${src.encoding}" source="1.3" sourcepath="" srcdir="${project.root.Client}/src">
     <classpath refid="classpath.Client"/>
  </wtkbuild>

顺便问一下,我需要做什么步骤,我可以成功地导出一个jar文件,它将在模拟器上运行,因为现在它说“找不到Midlet类”

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-03-21 23:03:09

通过更新ant版本解决了这个问题。

如果您遇到此问题,请先从http://ant.apache.org/bindownload.cgi下载新的Ant版本

然后继续eclipse:"Window“- "Prefereces”- " ant“- "Runtime”Ant在那里你会看到一个按钮Ant Home。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/15446271

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档