Build and run

To build a Pulpcore applet in Eclipse using an Ant build script is easy. Simply select the build.xml from the package explorer. Press Ctrl + F11 to launch the Run Ad Dialog. Select the "Ant Build" option and press the OK button.

Run as dialog

You should get some build info in the bottom panel and moments later the Pulpcore player should pop up displaying a white screen with a nicely centered logo.

Congratulations you have now built your first Pulpcore applet!

If you browse to "c:\workspace\HelloWorld\build\applet" you will find the build files you would need to deploy this applet to a web site.

There are five file you need.

  • HelloWorld.jar
  • HelloWorld.zip
  • index.html
  • pulpcore.js
  • splash.gif

You can download all the files needed to build this project here.
Hello world source code

Next: Hello World Demo



Related Posts:
Ant configuration
Now we need to setup an Ant build script to build our new HelloWorld Pulpcore...
Getting started with Pulpcore
There are several prerequisites that you will need before we get started. JavaSE...
Project directories
Pulpcore expects a few directories to be present in a project before the Ant script...
Java build path
Next we need to setup the Java build path for our hello world project so that it...
Credits
A short run down of all the sites and products that where useful in making classic...