Announcement Announcement Module
Collapse
No announcement yet.
Extending Roo Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Extending Roo

    How can we extend Roo by adding custom commands?

    I'm expirementing a little with Roo and like to add a commmand to deploy the app e.g. to the Google App Engine Cloud.

  • #2
    For now the best way of learning how to extend Roo is to look at some of its source code. Yesterday we finished publishing the source code to a public SVN repository:

    https://anonsvn.springframework.org/...ring-roo/trunk

    Comment


    • #3
      OK had a look at the addon-* modules.

      How should I 'register' my own addon to a project?

      Will the commands be available from the cli shell and in STS?


      Cheers,
      Marcel

      Comment


      • #4
        At this stage all you need to do is ensure your add-on's JAR is within your Roo installation /lib or /dist directory. It will automatically be detected if you have implemented the correct interfaces (using the interfaces implemented by an existing add-on as a guide). You use the @CliCommand and @CliOption annotations to add commands to the Roo shell.

        We're going to improve all of these extensibility features in due course. For now we're mostly focusing on getting the core functionality for RAD working, documented and understood by the community. If you have any suggestions on add-on development, please feel free to raise them here or add an issue to Jira.

        Comment

        Working...
        X