GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — processing-docs/java_generate at master · processing/processing-docs

Expand file tree

/

java_generate

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

java_generate

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
ReferenceGenerator
ReferenceGenerator
 
 
templates
templates
 
 
GenerateDescriptions.py
GenerateDescriptions.py
 
 
README.md
README.md
 
 
utils.py
utils.py
 
 

README.md

Outline

Documentation for Java-Generate

Java-generate is built on top of Javadoc in order to semi-automate the generation of Processing's documentation for distribution and the web.

Since it uses Javadoc, we need to be able to find the Processing source code. If you clone both "processing" and "processing-docs" to the same directory, you should be good to go.

In other words, the two repositories should live side-by-side:

  • base_dir/processing/
  • base_dir/processing-docs/

Running java-generate

The documentation is build using a command-line script.

$ cd ReferenceGenerator/
$ ./processingrefBuild.sh

Building the Java-Generate classes

Java-generate is compiled using ant, which is likely already installed on your machine. To build the reference generator

$ cd ReferenceGenerator/
$ ant compile

For more information on ant, see http://ant.apache.org

If you have trouble compiling with ant, you may need to install the JDK on your machine and add a JAVA_HOME environment variable to your machine. Properly locating your JDK is essential for handling issues like importing the javadoc package.

On OSX (Mavericks), that will look like the following:

# in e.g. ~/.bash_profile
# tell Java where to find JDK and libraries
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home

Tips & Tricks

When a method is overloaded, but you don't want one of the variants to appear in the reference, add a @nowebref comment to the source above that variant. For example:

/**
  * @nowebref
  */
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.