-
May 15th, 2009, 12:56 AM
#1
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.
-
May 15th, 2009, 10:13 PM
#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
-
May 16th, 2009, 08:38 AM
#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
-
May 16th, 2009, 09:19 PM
#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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules