Java build path

Next we need to setup the Java build path for our hello world project so that it knows where to find the Pulpcore API. So we need to put the Pulpcore jar files some where that our project can find them. This is my personal preference on how to setup the build path for use with Pulpcore.

Start by creating a new library directory under your default workspace. The default workspace for Eclipse is "c:\workspace" so it should end up like this "c:\workspace\library"

Next create two more directories under the library directory call them progaurd 4.2 and pulpcore 0.11.3 You should now have the following directories "c:\workspace\library\progaurd 4.2" and "c:\workspace\library\pulpcore 0.11.3"

Copy the contents of the Proguard lib directory to your "c:\workspace\library\progaurd 4.2" directory. It should now contain these three files.

* proguard.jar
* proguardgui.jar
* retrace.jar

Copy the contents of the Pulpcore build directory to the "c:\workspace\library\pulpcore 0.11.3" directory. It should now contain these five files.

* Pack200Task.jar
* pulpcore-applet-debug-0.11.jar
* pulpcore-applet-release-0.11.jar
* pulpcore-assettools-0.11.jar
* pulpcore-player-0.11.jar
* retroweaver-all.jar

Now lets tell our project where we have placed our jar files.

Select the Project->Properties menu item.

Select the Java build path from the tree.

Select the libraries tab.

Click "Add External JARS..."

Navigate to "c:\workspace\library\pulpcore 0.11.3" and add all of the jar files to the project.

Press the OK button.

Java build path dialog

Next: Hello world source code



Related Posts:
Project directories
Pulpcore expects a few directories to be present in a project before the Ant script...
Getting started with Pulpcore
There are several prerequisites that you will need before we get started. JavaSE...
Ant configuration
Now we need to setup an Ant build script to build our new HelloWorld Pulpcore...
Eclipse And Pulpcore Tutorial
Just a quick post about a new tutorial I have written. How to build your basic Hello...
Credits
A short run down of all the sites and products that where useful in making classic...