tanamonの稀に良く書く日記

KEEP CALM AND DRINK BEER

Spring Rooの動作(19) - gwt setupコマンド

gwt setupコマンド

  • Google Web Toolkitを利用できるようにする
  • オプションが無く、全ての画面に対してGWT用のクラスが作られるっぽい

オプション

なし

使い方

roo> entity --class ~.domain.SimpleEntity
...
roo> field string --fieldName message
...
~.domain.SimpleEntity roo> gwt setup
Created SRC_MAIN_WEBAPP\WEB-INF\spring
Created SRC_MAIN_WEBAPP\WEB-INF\spring\webmvc-config.xml
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
Managed ROOT\pom.xml [Added dependency com.google.gwt:gwt-bikeshed:2.1.0.M1]
Managed ROOT\pom.xml [Added dependency com.google.gwt:gwt-servlet:2.1.0.M1]
Managed ROOT\pom.xml [Added dependency com.google.gwt:gwt-user:2.1.0.M1]
Managed ROOT\pom.xml [Added dependency org.json:json:20090211]
Managed ROOT\pom.xml
Managed SRC_MAIN_WEBAPP\WEB-INF\web.xml
Managed SRC_MAIN_WEBAPP\WEB-INF\urlrewrite.xml
Created SRC_MAIN_JAVA\com\example\sandbox\gwt
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\ApplicationScaffold.gwt.xml
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\ApplicationMobileScaffold.gwt.xml
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\ApplicationCommon.gwt.xml
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\place
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\place\ApplicationPlace.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\place\ApplicationRecordPlace.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\place\ApplicationListPlace.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\request
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\rooLogo.png
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\ScaffoldMobileShell.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\Scaffold.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\mobile.css
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\ScaffoldShell.ui.xml
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\ScaffoldShell.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\ScaffoldMobileShell.ui.xml
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\gwtLogo.png
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\ScaffoldMobile.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\generated
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\generated\createButton.png
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\ui
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\ui\ApplicationKeyNameRenderer.java
Created SRC_MAIN_JAVA\com\example\sandbox\server
Created SRC_MAIN_WEBAPP\ApplicationMobileScaffold.html
Created SRC_MAIN_WEBAPP\ApplicationScaffold.html
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\style
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\style\Style.gwt.xml
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\style\client
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\style\client\openGradient.png
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\style\client\userIcon.png
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\style\client\selectionGradient.png
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\style\client\groupIcon.png
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\style\client\common.css
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\style\client\Styles.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\ui\SimpleEntityActivitiesMapper.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\ui\SimpleEntityEditActivity.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\ui\SimpleEntityDetailsActivity.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\ui\SimpleEntityListActivity.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\generated\SimpleEntityListView.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\generated\SimpleEntityListView.ui.xml
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\generated\SimpleEntityDetailsView.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\generated\SimpleEntityDetailsView.ui.xml
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\generated\SimpleEntityEditView.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\generated\SimpleEntityEditView.ui.xml
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\place\SimpleEntityScaffoldPlace.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\request\SimpleEntityRecordChanged.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\request\SimpleEntityChangedHandler.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\request\SimpleEntityRecord.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\generated\SimpleEntityListViewBinder.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\generated\SimpleEntityDetailsViewBinder.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\generated\SimpleEntityEditViewBinder.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\request\SimpleEntityRequest.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\request\SimpleEntityRequestServerSideOperations.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\request\ApplicationEntityTypesProcessor.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\request\ApplicationRequestFactory.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\request\ApplicationRequestServerSideOperations.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\ui\ListPlaceRenderer.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\ui\ListActivitiesMapper.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\place\ApplicationPlaceProcessor.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\ScaffoldMasterActivities.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\ScaffoldDetailsActivities.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\ScaffoldMobileActivities.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\place\ApplicationPlaceFilter.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\place\BasePlaceFilter.java
Created SRC_MAIN_JAVA\com\example\sandbox\gwt\scaffold\place\ApplicationPlaceToRecordType.java

MavenコマンドでGWT Development Modeを実行する(rooコンソールとは別に実行)

$ mvn gwt:run