-
20 Jan 2008 10:06 PM #1
JsBuilder / JsDoc Rails plugin including rake tasks
JsBuilder / JsDoc Rails plugin including rake tasks
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:Code:>rake js_builder:build project=my_custom_library >rake js_builder:build project=my_controller_library
http://sophie.zarb.org/rpm/,x86_64/apache2-mod_deflateCode:>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.
js_builder.yml
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.Code:### # builds resistor-ext2 tree # :resistor_ext2: :name: Resistor Software Ext2 Library :path: public/javascripts/resistor-ext2/source :output: ../deploy :author: Chris Scott :version: 2.0 :copyright: Resistor Software :source: false :source_dir: $output/source :minify: true :min_dir: $output/build :doc: false :doc_dir: $path/../docs :min_dir: $output/build :target: :name: EverythingInOne :file: $output/resistor-ext2-all.js :debug: true :shorthand: false :shorthand_list: not sure if this is necessary :include: - core/RExt.js - util/Collection.js - form/vtypes.js - Page.js - form/DialogForm.js - form/Fields.js - widgets/Plugins.js - widgets/View.js - widgets/RPanel.js - widgets/RegionManager.js - application/company/CompanyManager.js - widgets/LoginForm.jsLast edited by christocracy; 21 Jan 2008 at 8:04 AM. Reason: forgot an "s"
-
8 Feb 2008 4:02 PM #2
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote