Question

I've never programmed in java or eclipse before, although I have used c# and visual studio.

I'm trying to get started with java development, and develop 2d games, but I can't get the project to run. I've followed the tutorial here: http://cloningtheclassics.com/getting-started-with-pulpcore/ I've retried the tutorial at least 5 times, and I still can't get it to work.

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

Thanks in advance!

EDIT: I found http://groups.google.com/group/pulpcore/web/pulpcore-templates-build-xml-eric-berry how do I run this? What do I do with it?

Was it helpful?

Solution

  • The first issue is your tasks.properties file which is not found.
  • The second issue is about ../../build/pulpcore-applet-debug-0.11.jar, and pulpcore-applet-debug-0.11.jar should be copied in c:\workspace\library\pulpcore 0.11.3" directory.
    (That is the key section for you to double-check). That (c:\workspace\library\pulpcore 0.11.3) is the pulpcore.path property in the build.xml file.

Those two issues tend to indicate you did follow the ant configuration section by selecting a build.xml under the template\project folder, and then try to configure it.
I would recommend replacing it by the sample build.xml mentioned in the same page, double-check the paths and see if that build.xml file works better.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top