1. #1
    Ext JS Premium Member christocracy's Avatar
    Join Date
    Oct 2006
    Location
    Montreal
    Posts
    381
    Vote Rating
    0
    christocracy is on a distinguished road

      0  

    Default 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.

    Code:
    >rake js_builder:build project=my_custom_library
    >rake js_builder:build project=my_controller_library
    and for building documentation with jsdoc toolkit:
    Code:
    >rake js_builder:document project=my_custom_library
    http://sophie.zarb.org/rpm/,x86_64/apache2-mod_deflate

    config is defined in a yaml file which maps to the .jsb format. my js_builder plugin creates the .jsb file.
    js_builder.yml
    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.js
    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.
    Last edited by christocracy; 21 Jan 2008 at 8:04 AM. Reason: forgot an "s"

  2. #2
    Ext User nelius's Avatar
    Join Date
    Oct 2007
    Posts
    22
    Vote Rating
    0
    nelius is on a distinguished road

      0  

    Default


    Quote Originally Posted by christocracy View Post
    interested? I could put it into my public SVN for you.
    Yepp me!
    have an url?

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi