Subscribed unsubscribe Subscribe Subscribe

Spring Roo Install

仕事で Spring Roo を使う機会が増えてきたので、チュートリアル的な内容をメモ。まずはRooのインストールについてです。

Rooインストール

>roo
____ ____ ____
/ __ \/ __ \/ __ \
/ /_/ / / / / / / /
/ _, _/ /_/ / /_/ /
/_/ |_|\____/\____/ 1.1.5.RELEASE [rev d3a68c3]


Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.

At this time you have not authorized Spring Roo to download an index of
available add-ons. This will reduce Spring Roo features available to you.
Please type 'download status' and press ENTER for further information.

roo>
  • リソースのダウンロードに同意するために、download status と入力して実行します。
roo> download status

**** DOWNLOAD CONSENT REQUIRED ****

Spring Roo needs to download resources from VMware domains to improve your
experience. We include anonymous usage information as part of these downloads.

The Spring team gathers anonymous usage information to improve your Spring
experience, not for marketing purposes. For example, we collect anonymous
information about the usage of public Roo add-ons. This lets us offer you
higher quality add-on search results, highlighting the add-ons which are most
popular in the Roo community. We also use this information to help guide our
roadmap, prioritizing the features most valued by the community and enabling
us to optimize the compatibility of technologies frequently used together.

Please see the Spring User Agent Analysis (UAA) Terms of Use at
http://www.springsource.org/uaa/terms_of_use for more information on what
information is collected and how such information is used. There is also an
FAQ at http://www.springsource.org/uaa/faq for your convenience.

To consent to the Terms of Use, please type 'download accept terms of use' at
the command prompt and press ENTER. If you do not type 'download accept terms
of use' to indicate your consent, Spring Roo add-on discovery features will
not be available and anonymous data collection will remain disabled.

Next steps:

* To enable downloads, type 'download accept terms of use' and press ENTER

* To disable downloads, type 'download reject terms of use' and press ENTER

If you don't type either command, Roo will remind you next time it loads.

roo>
  • download accept terms of use を実行することでリソースのダウンロードに同意できます。
roo> download accept terms of use
Thank you. All Spring Roo download features have now been enabled.
  • roo shell ではhintコマンドを実行することで次にやるべきことのヒントが表示されます。
roo> hint
Welcome to Roo! We hope you enjoy your stay!

Before you can use many features of Roo, you need to start a new project.

To do this, type 'project' (without the quotes) and then hit TAB.

Enter a --topLevelPackage like 'com.mycompany.projectname' (no quotes).
When you've finished completing your --topLevelPackage, press ENTER.
Your new project will then be created in the current working directory.

Note that Roo frequently allows the use of TAB, so press TAB regularly.
Once your project is created, type 'hint' and ENTER for the next suggestion.
You're also welcome to visit http://forum.springframework.org for Roo help.
  • roo shell の終了は quitコマンドです。
roo> quit
  • これでひとまずRooを使う環境が作成できました。