Java + Eclipse + Pulpcore

标签 java eclipse pulpcore

我以前从未用 java 或 eclipse 编程过,尽管我使用过 c# 和 visual studio。

我正在尝试开始 java 开发,并开发 2d 游戏,但我无法让项目运行。我已经按照这里的教程进行操作: http://cloningtheclassics.com/getting-started-with-pulpcore/ 我已经重试教程至少 5 次,但仍然无法正常工作。

The error it displays is:

Buildfile: C:\workspace\javapulp\project\build.xml
  [taskdef] Could not load definitions from resource tasks.properties. It could not be found.
  [taskdef] Could not load definitions from resource tasks.properties. It could not be found.
-init:

BUILD FAILED
C:\workspace\javapulp\project\build.xml:127: Required file not found: ../../build/pulpcore-applet-debug-0.11.jar

Total time: 1 second

提前致谢!

编辑:我找到了 http://groups.google.com/group/pulpcore/web/pulpcore-templates-build-xml-eric-berry 我怎么运行这个?我可以用它做什么?

最佳答案

  • 第一个问题是您的 tasks.properties未找到的文件。
  • 第二期是关于../../build/pulpcore-applet-debug-0.11.jar , 和 pulpcore-applet-debug-0.11.jar should be copied in c:\workspace\library\pulpcore 0.11.3 "目录。
    (这是您要仔细检查的关键部分)。 那个 ( c:\workspace\library\pulpcore 0.11.3 ) 是 pulpcore.path build.xml中的属性(property)文件。

这两个问题往往表明您确实遵循了 ant configuration section通过选择 build.xml在template\project文件夹下,然后尝试配置一下。
我建议用 sample build.xml 替换它 在同一页中提到,仔细检查路径并查看是否 build.xml文件效果更好。

关于Java + Eclipse + Pulpcore,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3033040/

相关文章:

java - 在 java 中为什么总是子类调用父类(super class)构造函数?我要内流

java - 使用 oauth2 和日历 api v3 将事件插入到 google 日历 api 的示例

Android 错误 - 打开失败 ENOENT

Java - 语句/转换| PuLP 芯

java - 你能给我一个Java游戏的评论吗?

java - 如何允许用户将图像上传到我的应用程序并使用它们?

java - 玩 datomic 2.0 Evolution

Eclipse .properties 文件禁用 UTF-8 字符转义

windows - Eclipse SSH Remote System Explorer 在 Windows 上是否损坏?