Results 1 to 6 of 6

Thread: How to write Roo Addons?

  1. #1
    Join Date
    Nov 2010
    Location
    2k/10, Aditya Garden City, Warje, Pune-411052, India
    Posts
    22

    Default How to write Roo Addons?

    Hi All,
    I would like to learn to write custom Roo Add ons.

    I have searched a lot but could not get step by step Roo Add on tutorials.

    What is the road map for community Roo Add ons?

    Can I get some material on Roo Add Ons from Roo itself?

    Cheers,
    Rohit

  2. #2
    Join Date
    Dec 2007
    Location
    Stockholm, Sweden
    Posts
    190

    Default

    You should start by looking at the Addon-simple and Addon-advanced templates for roo projects.

    There are some hints about how the development can be done in slides shared by Stefan (http://stsmedia.net/spring-roo-1-1-ga-released/) but I guess ROO team has been busy with S2gx and Devoxx we can expect a writeup of these slides in coming weeks (or even better videos of the talks on infoq or parleys)

    But if you are really into development then you should start looking into the code as at this level best documentation is code it's self. I am sure that more instructions will speed up a potential roo-addon-developers understanding, but you can gain the same understanding by looking at code (and for publishing it, by looking in OSGI documentation)
    Shahzada Hatim
    @geoaxis/twitter
    http://hatimonline.com

  3. #3
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    The current Roo master already contains a fair amount of documentation to get you started on add-on development. This will be published along with the next release (1.1.1.RELEASE). In the meantime you can git clone the current trunk and build the docs by running 'mvn site'.
    Stefan Schmidt
    Software Engineer, Spring Roo
    SpringSource - a division of VMware
    twitter @schmidtstefan

  4. #4
    Join Date
    Nov 2010
    Location
    2k/10, Aditya Garden City, Warje, Pune-411052, India
    Posts
    22

    Default

    Hi,
    I have checked out master branch of Roo source code.

    Could you point where to look for add on reference documentation there?

    So far I did some examples of Simple add on, I plan to move to learn Advanced Add on so these can generate their own .aj files (ITDs). I am trying to understand how the entity --class ~.model.XYZ works and even controller all --package ~.web works.

    Any pointers on this would be a lot of help.

    Cheers,
    Rohit

  5. #5
    Join Date
    Nov 2010
    Location
    2k/10, Aditya Garden City, Warje, Pune-411052, India
    Posts
    22

    Default

    Never mind about the location of the documentation, I found them in src/site/

  6. #6
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    To get started on developing an ITD emitting add-on I would also strongly recommend to try out the addon create advanced command which gives you a fully working sample addon which emits ITDs.
    Stefan Schmidt
    Software Engineer, Spring Roo
    SpringSource - a division of VMware
    twitter @schmidtstefan

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •