Mac環境へ、Spring Roo をダウンロードして解凍し、インストールした場合の設定。
/usr/local/roo/bin 配下に、roo.sh と roo.bat が存在する為、パスを通してシンボリックリンクを作成して、パスを通す。
[bash]
$ ln -s /usr/local/roo/bin/roo.sh roo
[/bash]
[bash]
$ vi .bashrc
export PATH=$PATH:/usr/local/roo/bin
[/bash]
rooコマンドにて起動する。
[bash]
$ roo
____ ____ ____
/ __ \/ __ \/ __ \
/ /_/ / / / / / / /
/ _, _/ /_/ / /_/ /
/_/ |_|\____/\____/ 1.2.2.RELEASE [rev 7d75659]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
@rooinaction: @SpringRoo Second blog post on testing Roo Add-ons is here – Mockito and the Argument Captor. http://t.co/S4wfLyAI
Version is required for org.apache.maven.plugins:maven-compiler-plugin
[/bash]