I've created a Rails plugin for both JsBuiler and JsDoc
it works fabulously. kudos to this excellent java JsBuilder tool.
In addition to wrapping JsBuilder, I've also written a wrapper for some work I've been doing on the jsdoc toolkit
interested? I could put it into my public SVN for you.
and for building documentation with jsdoc toolkit:
>rake js_builder:build project=my_custom_library
>rake js_builder:build project=my_controller_library
>rake js_builder:document project=my_custom_library
config is defined in a yaml file which maps to the .jsb format. my js_builder plugin creates the .jsb file.
The actual java apps for jsbuilder / jsdoc are held within the plugin's own /lib dir -- you don't need to copy builder to your project directory to get it to work. The plugin will generate the necessary paths and send them to the java executable.
# builds resistor-ext2 tree
:name: Resistor Software Ext2 Library
:author: Chris Scott
:copyright: Resistor Software
:shorthand_list: not sure if this is necessary