2

I am looking to build a console driven application, which would somewhat like look like the Spring ROO Console, any ideas ?.

2
  • Any idea about what? How to read and write text from a console?
    – Dónal
    Dec 30, 2009 at 19:13
  • as Don said, idea about what.?
    – Nachiket
    Jan 11, 2010 at 6:53

2 Answers 2

10

The Spring Roo shell is based on JLine, but contains a large number of design elements oriented around usability that are not present in JLine. You can read the shell philosophy section of the Roo reference guide for a brief treatment of some of these enhancements. We've also integrated JANSI to provide a colour shell for Windows users.

We intend to split out the shell from Spring Roo in due course and create a separate project called "Spring Shell". The timeframe for this work has not been finalised, though. In the meantime if you checkout Roo from SVN you'll be able to get use the shell with minimal dependencies and Roo-specific conventions. Using the @Cli* annotations to setup shell commands is also very easy, and you can see examples of this in the remainder of the Roo source code.

0

I have spiked a couple of bespoke shells based on the spring ROO code in SVN.

I tried hooking or rather (hacking) it in at both the shell level and also using the addon more appropriate mechanism. Possibly OSGi will come later to the official Spring Shell?

ps the roo/shell rocks as a platform for building tool/software.

great work

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.