Roo 1.1.0.M2: "gwt setup" fails
Using STS 2.3.3.M2 and Roo 1.1.0.M2 [rev 0b3543e] I have the following problem. When setting up gwt, the files are not created and gwt setup fails. Should I file a bug for this? Is there an easy workaround?
---- log.roo ----
Code:
// Spring Roo 1.1.0.M2 [rev 0b3543e] log opened at 2010-07-19 08:20:08
project --topLevelPackage com.hello.mytest2 --projectName MyTest2 --java 6
// Spring Roo 1.1.0.M2 [rev 0b3543e] log opened at 2010-07-19 08:20:13
persistence setup --database MYSQL --provider HIBERNATE
// [failed] gwt setup
---- roo Shell ----
Code:
____ ____ ____
/ __ \/ __ \/ __ \
/ /_/ / / / / / / /
/ _, _/ /_/ / /_/ /
/_/ |_|\____/\____/ 1.1.0.M2 [rev 0b3543e]
Welcome to Spring Roo. For assistance press CTRL+SPACE or type "hint" then hit ENTER.
roo>
required --database: The database to support; no default value
required --provider: The persistence provider to support; no default value
roo> persistence setup --database MYSQL --provider HIBERNATE
Managed SRC_MAIN_RESOURCES\META-INF\spring\applicationContext.xml
Created SRC_MAIN_RESOURCES\META-INF\persistence.xml
Please enter your database details in src/main/resources/META-INF/spring/database.properties.
Created SRC_MAIN_RESOURCES\META-INF\spring\database.properties
Managed ROOT\pom.xml [Added dependency mysql:mysql-connector-java:5.1.13]
Managed ROOT\pom.xml [Added dependency org.hibernate:hibernate-core:3.5.1-Final]
Managed ROOT\pom.xml [Added dependency org.hibernate:hibernate-entitymanager:3.5.1-Final]
Managed ROOT\pom.xml [Added dependency org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.0.Final]
Managed ROOT\pom.xml [Added dependency org.hibernate:hibernate-validator:4.0.2.GA]
Managed ROOT\pom.xml [Added dependency javax.validation:validation-api:1.0.0.GA]
Managed ROOT\pom.xml [Added dependency cglib:cglib-nodep:2.2]
Managed ROOT\pom.xml [Added dependency javax.transaction:jta:1.1]
Managed ROOT\pom.xml [Added dependency org.springframework:spring-jdbc:${spring.version}]
Managed ROOT\pom.xml [Added dependency org.springframework:spring-orm:${spring.version}]
Managed ROOT\pom.xml [Added dependency commons-pool:commons-pool:1.5.4]
Managed ROOT\pom.xml [Added dependency commons-dbcp:commons-dbcp:1.3]
Managed ROOT\pom.xml
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-servlet:2.1.0.M2]
Managed ROOT\pom.xml [Added dependency com.google.gwt:gwt-user:2.1.0.M2]
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\hello\mytest2\gwt
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\ApplicationCommon.gwt.xml
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\ApplicationMobileScaffold.gwt.xml
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\ApplicationScaffold.gwt.xml
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\place
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\place\ApplicationRecordPlace.java
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\place\ApplicationListPlace.java
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\place\ApplicationPlace.java
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\request
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\gwtLogo.png
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldShell.java
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\Scaffold.java
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldMobileShell.java
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldShell.ui.xml
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\rooLogo.png
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldMobileShell.ui.xml
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\mobile.css
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldMobile.java
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\generated
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\generated\createButton.png
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\ui
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\ui\ApplicationKeyNameRenderer.java
Created SRC_MAIN_JAVA\com\hello\mytest2\server
Created SRC_MAIN_WEBAPP\ApplicationMobileScaffold.html
Created SRC_MAIN_WEBAPP\ApplicationScaffold.html
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\style
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\Style.gwt.xml
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\common.css
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\Styles.java
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\groupIcon.png
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\userIcon.png
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\selectionGradient.png
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\openGradient.png
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\request\ApplicationEntityTypesProcessor.java
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\request\ApplicationRequestFactory.java
Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\ui\ListPlaceRenderer.java
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\ui\ListPlaceRenderer.java
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\request\ApplicationRequestFactory.java
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\request\ApplicationEntityTypesProcessor.java
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\openGradient.png
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\selectionGradient.png
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\userIcon.png
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\groupIcon.png
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\Styles.java
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\common.css
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\Style.gwt.xml
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\style
Undo create SRC_MAIN_WEBAPP\ApplicationScaffold.html
Undo create SRC_MAIN_WEBAPP\ApplicationMobileScaffold.html
Undo create SRC_MAIN_JAVA\com\hello\mytest2\server
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\ui\ApplicationKeyNameRenderer.java
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\ui
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\generated\createButton.png
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\generated
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldMobile.java
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\mobile.css
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldMobileShell.ui.xml
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\rooLogo.png
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldShell.ui.xml
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldMobileShell.java
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\Scaffold.java
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldShell.java
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\gwtLogo.png
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\request
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\place\ApplicationPlace.java
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\place\ApplicationListPlace.java
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\place\ApplicationRecordPlace.java
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\place
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\ApplicationScaffold.gwt.xml
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\ApplicationMobileScaffold.gwt.xml
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\ApplicationCommon.gwt.xml
Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt
Undo manage SRC_MAIN_WEBAPP\WEB-INF\urlrewrite.xml
Undo manage SRC_MAIN_WEBAPP\WEB-INF\web.xml
Undo manage ROOT\pom.xml
Undo manage SRC_MAIN_WEBAPP\WEB-INF\web.xml
Undo create SRC_MAIN_WEBAPP\WEB-INF\urlrewrite.xml
Undo create SRC_MAIN_WEBAPP\WEB-INF\web.xml
Undo create SRC_MAIN_WEBAPP\WEB-INF\spring\webmvc-config.xml
Undo create SRC_MAIN_WEBAPP\WEB-INF\spring
Velocity could not be initialized!
roo>