Proce55ing
ABA Games

P5Doclet

for Proce55ing
P5Doclet ver. 0.1
English / Japanese

This is a tool for creating the applet of the processing(proce55ing) application. It works as the 'Export to web' function in the processing sketchbook, but there are some differences.

P5Doclet works with the J2SDK1.4.2_04 javadoc.

Download

P5Doclet is the free software.

Create bclasses.jar

First, you have to create 'bclasses.jar' that contains the base classes of the processing applet.

To create 'bclasses.jar', with the processing sketchbook(processing.exe),

  1. [File] -> [New]
  2. [File] -> [Rename] and input 'bclasses'
  3. [File] -> [Export to web]

bclasses.jar is created at '{processing root}/sketchbook/default/bclasses/applet/bclasses.jar'.

Using with Eclipse

  1. Create the project for the processing application
    (see P5 vs Eclipse)
  2. Write your application
  3. Copy these files to '{project home}'
  4. Generate the Javadoc for this project

All html files and the jar file are created under '{project home}/doc/'.

If you want to add the API document of your source,

  1. Edit the 'applet_template.html' and add the '[[javadochtml]]' tag to create the link to the API document
    (e.g., <a href="[[javadochtml]]">API Document</a>)
  2. Generate the Javadoc

Using with sketchbook

  1. Write your application
  2. Use [Export to web]
  3. Copy these files to '{project home}/applet/'
  4. Edit the 'p5doclet.bat' and set the 'TARGET_FILE' variable to the name of your java file name
  5. Launch 'p5doclet.bat'

All html files and the jar file are created under '{project home}/applet/doc/'.

Comments

If you have any comments, please mail to cs8k-cyu@asahi-net.or.jp.