tanamonの稀に良く書く日記

KEEP CALM AND DRINK BEER

Spring Rooの動作(4) - controller allコマンド

Spring Roo 1.1.0.M1 [rev 3a0b8a3]で試した結果です

controller allコマンド

  • エンティティクラスからコントローラクラスとCRUD画面を作成する

オプション

--package [packageName]
  • [packageName]にコントローラクラスを作成するパッケージ階層を指定する

使い方

roo> controller all --package ~.web
Created SRC_MAIN_JAVA\com\example\sandbox\web
Created SRC_MAIN_JAVA\com\example\sandbox\web\TableOptionEntityController.java
Created SRC_MAIN_WEBAPP\WEB-INF\spring
Created SRC_MAIN_WEBAPP\WEB-INF\spring\webmvc-config.xml
Created SRC_MAIN_JAVA\com\example\sandbox\web\TableOptionEntityController_Roo_Controller.aj
Managed ROOT\pom.xml [Added dependency org.apache.tiles:tiles-core:2.2.1]
Managed ROOT\pom.xml [Added dependency org.apache.tiles:tiles-jsp:2.2.1]
Managed SRC_MAIN_WEBAPP\WEB-INF\spring\webmvc-config.xml
Created SRC_MAIN_WEBAPP\images
Created SRC_MAIN_WEBAPP\images\sv.png
Created SRC_MAIN_WEBAPP\images\update.png
Created SRC_MAIN_WEBAPP\images\banner-graphic.png
Created SRC_MAIN_WEBAPP\images\resultset_last.png
Created SRC_MAIN_WEBAPP\images\es.png
Created SRC_MAIN_WEBAPP\images\it.png
Created SRC_MAIN_WEBAPP\images\list.png
Created SRC_MAIN_WEBAPP\images\delete.png
Created SRC_MAIN_WEBAPP\images\resultset_next.png
Created SRC_MAIN_WEBAPP\images\springsource-logo.png
Created SRC_MAIN_WEBAPP\images\nl.png
Created SRC_MAIN_WEBAPP\images\favicon.ico
Created SRC_MAIN_WEBAPP\images\resultset_first.png
Created SRC_MAIN_WEBAPP\images\show.png
Created SRC_MAIN_WEBAPP\images\add.png
Created SRC_MAIN_WEBAPP\images\de.png
Created SRC_MAIN_WEBAPP\images\gb.png
Created SRC_MAIN_WEBAPP\images\resultset_previous.png
Created SRC_MAIN_WEBAPP\styles
Created SRC_MAIN_WEBAPP\styles\standard.css
Created SRC_MAIN_WEBAPP\styles\alt.css
Created SRC_MAIN_WEBAPP\WEB-INF\classes
Created SRC_MAIN_WEBAPP\WEB-INF\classes\standard.properties
Created SRC_MAIN_WEBAPP\WEB-INF\classes\alt.properties
Created SRC_MAIN_WEBAPP\WEB-INF\layouts
Created SRC_MAIN_WEBAPP\WEB-INF\layouts\default.jspx
Created SRC_MAIN_WEBAPP\WEB-INF\layouts\layouts.xml
Created SRC_MAIN_WEBAPP\WEB-INF\views
Created SRC_MAIN_WEBAPP\WEB-INF\views\views.xml
Created SRC_MAIN_WEBAPP\WEB-INF\views\index.jspx
Created SRC_MAIN_WEBAPP\WEB-INF\views\uncaughtException.jspx
Created SRC_MAIN_WEBAPP\WEB-INF\views\dataAccessFailure.jspx
Created SRC_MAIN_WEBAPP\WEB-INF\views\resourceNotFound.jspx
Created SRC_MAIN_WEBAPP\WEB-INF\views\controller-index.jspx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form\page.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form\find.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form\list.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form\show.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form\update.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form\create.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form\fields
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form\fields\column.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form\fields\display.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form\fields\select.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form\fields\input.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form\fields\checkbox.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form\fields\editor.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form\fields\textarea.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form\fields\table.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form\fields\simple.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form\fields\reference.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\form\fields\datetime.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\menu
Created SRC_MAIN_WEBAPP\WEB-INF\tags\util
Created SRC_MAIN_WEBAPP\WEB-INF\tags\util\language.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\util\theme.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\util\placeholder.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\util\pagination.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\i18n
Created SRC_MAIN_WEBAPP\WEB-INF\i18n\messages_it.properties
Created SRC_MAIN_WEBAPP\WEB-INF\i18n\messages.properties
Created SRC_MAIN_WEBAPP\WEB-INF\i18n\messages_nl.properties
Created SRC_MAIN_WEBAPP\WEB-INF\i18n\messages_de.properties
Created SRC_MAIN_WEBAPP\WEB-INF\i18n\messages_sv.properties
Created SRC_MAIN_WEBAPP\WEB-INF\i18n\messages_es.properties
Managed SRC_MAIN_WEBAPP\WEB-INF\i18n\application.properties
Created SRC_MAIN_WEBAPP\WEB-INF\views\tableoptionentitys
Created SRC_MAIN_WEBAPP\WEB-INF\views\tableoptionentitys\list.jspx
Created SRC_MAIN_WEBAPP\WEB-INF\views\tableoptionentitys\views.xml
Created SRC_MAIN_WEBAPP\WEB-INF\views\tableoptionentitys\show.jspx
Managed SRC_MAIN_WEBAPP\WEB-INF\views\tableoptionentitys\views.xml
Created SRC_MAIN_WEBAPP\WEB-INF\views\tableoptionentitys\create.jspx
Created SRC_MAIN_WEBAPP\WEB-INF\views\menu.jspx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\menu\menu.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\menu\item.tagx
Created SRC_MAIN_WEBAPP\WEB-INF\tags\menu\category.tagx
Managed SRC_MAIN_WEBAPP\WEB-INF\i18n\application.properties
Managed SRC_MAIN_WEBAPP\WEB-INF\views\menu.jspx
Managed SRC_MAIN_WEBAPP\WEB-INF\views\tableoptionentitys\views.xml
Created SRC_MAIN_WEBAPP\WEB-INF\views\tableoptionentitys\update.jspx
Managed SRC_MAIN_WEBAPP\WEB-INF\views\tableoptionentitys\views.xml
Managed SRC_MAIN_WEBAPP\WEB-INF\i18n\application.properties
Managed SRC_MAIN_WEBAPP\WEB-INF\views\menu.jspx
Created SRC_MAIN_WEBAPP\WEB-INF\web.xml
Created SRC_MAIN_WEBAPP\WEB-INF\urlrewrite.xml
Managed SRC_MAIN_WEBAPP\WEB-INF\web.xml
Managed ROOT\pom.xml [Added dependency org.springframework:spring-web:${spring.version}]
Managed ROOT\pom.xml [Added dependency org.springframework:spring-webmvc:${spring.version}]
Managed ROOT\pom.xml [Added dependency org.springframework.webflow:spring-js:2.0.8.RELEASE]
Managed ROOT\pom.xml [Added dependency commons-digester:commons-digester:2.0]
Managed ROOT\pom.xml [Added dependency commons-fileupload:commons-fileupload:1.2.1]
Managed ROOT\pom.xml [Added dependency org.tuckey:urlrewritefilter:3.1.0]
Managed ROOT\pom.xml [Added dependency javax.servlet:jstl:1.2]
Managed ROOT\pom.xml [Added dependency javax.el:el-api:1.0]
Managed ROOT\pom.xml [Added dependency joda-time:joda-time:1.6]
Managed ROOT\pom.xml
Created SRC_MAIN_JAVA\com\example\sandbox\web\SandboxEntityController.java
Created SRC_MAIN_JAVA\com\example\sandbox\web\RenameAfterEntityController.java
Created SRC_MAIN_JAVA\com\example\sandbox\web\SandboxEntityController_Roo_Controller.aj
Created SRC_MAIN_WEBAPP\WEB-INF\views\sandboxentitys
Created SRC_MAIN_WEBAPP\WEB-INF\views\sandboxentitys\list.jspx
Created SRC_MAIN_WEBAPP\WEB-INF\views\sandboxentitys\views.xml
Created SRC_MAIN_WEBAPP\WEB-INF\views\sandboxentitys\show.jspx
Managed SRC_MAIN_WEBAPP\WEB-INF\views\sandboxentitys\views.xml
Created SRC_MAIN_WEBAPP\WEB-INF\views\sandboxentitys\create.jspx
Managed SRC_MAIN_WEBAPP\WEB-INF\i18n\application.properties
Managed SRC_MAIN_WEBAPP\WEB-INF\views\menu.jspx
Managed SRC_MAIN_WEBAPP\WEB-INF\views\sandboxentitys\views.xml
Created SRC_MAIN_WEBAPP\WEB-INF\views\sandboxentitys\update.jspx
Managed SRC_MAIN_WEBAPP\WEB-INF\views\sandboxentitys\views.xml
Managed SRC_MAIN_WEBAPP\WEB-INF\i18n\application.properties
Managed SRC_MAIN_WEBAPP\WEB-INF\views\menu.jspx
Created SRC_MAIN_JAVA\com\example\sandbox\web\RenameAfterEntityController_Roo_Controller.aj
Created SRC_MAIN_WEBAPP\WEB-INF\views\renameafterentitys
Created SRC_MAIN_WEBAPP\WEB-INF\views\renameafterentitys\list.jspx
Created SRC_MAIN_WEBAPP\WEB-INF\views\renameafterentitys\views.xml
Created SRC_MAIN_WEBAPP\WEB-INF\views\renameafterentitys\show.jspx
Managed SRC_MAIN_WEBAPP\WEB-INF\views\renameafterentitys\views.xml
Created SRC_MAIN_WEBAPP\WEB-INF\views\renameafterentitys\create.jspx
Managed SRC_MAIN_WEBAPP\WEB-INF\i18n\application.properties
Managed SRC_MAIN_WEBAPP\WEB-INF\views\menu.jspx
Managed SRC_MAIN_WEBAPP\WEB-INF\views\renameafterentitys\views.xml
Created SRC_MAIN_WEBAPP\WEB-INF\views\renameafterentitys\update.jspx
Managed SRC_MAIN_WEBAPP\WEB-INF\views\renameafterentitys\views.xml
Managed SRC_MAIN_WEBAPP\WEB-INF\i18n\application.properties
Managed SRC_MAIN_WEBAPP\WEB-INF\views\menu.jspx