2011年2月27日日曜日

Test Springsource Roo 1.1.2 RELEASE

Springsource Roo 1.1.2 is released. Let's just test it.

First, generate wedding project.

¥spring¥sample>roo
    ____  ____  ____
   / __ ¥/ __ ¥/ __ ¥
  / /_/ / / / / / / /
 / _, _/ /_/ / /_/ /
/_/ |_|¥____/¥____/    1.1.2.RELEASE [rev fbc33bb]


Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
roo> script --file wedding.roo
project --topLevelPackage com.wedding
Created ROOT¥pom.xml
Created SRC_MAIN_JAVA
Created SRC_MAIN_RESOURCES
Created SRC_TEST_JAVA
Created SRC_TEST_RESOURCES
Created SRC_MAIN_WEBAPP
Created SRC_MAIN_RESOURCES¥META-INF¥spring
Created SRC_MAIN_RESOURCES¥META-INF¥spring¥applicationContext.xml
Created SRC_MAIN_RESOURCES¥log4j.properties
persistence setup --provider HIBERNATE --database HYPERSONIC_PERSISTENT
Updated ROOT¥pom.xml [Removed redundant artifacts]
Updated SRC_MAIN_RESOURCES¥META-INF¥spring¥applicationContext.xml
Created SRC_MAIN_RESOURCES¥META-INF¥persistence.xml
Created SRC_MAIN_RESOURCES¥META-INF¥spring¥database.properties
Updated ROOT¥pom.xml [Added dependencies org.hsqldb:hsqldb:1.8.0.10, org.hibernate:hibernate-core:3.6.1.Final, org.hibernate:hibernate-entitymanager:3

.6.1.Final, org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.0.Final, org.hibernate:hibernate-validator:4.1.0.Final, javax.validation:validat

ion-api:1.0.0.GA, cglib:cglib-nodep:2.2, javax.transaction:jta:1.1, org.springframework:spring-jdbc:${spring.version}, org.springframework:spring-orm:

${spring.version}, commons-pool:commons-pool:1.5.4, commons-dbcp:commons-dbcp:1.3]
Updated ROOT¥pom.xml [Added repository https://repository.jboss.org/nexus/content/repositories/releases]
database properties list
database.driverClassName = org.hsqldb.jdbcDriver
database.password =
database.url = jdbc:hsqldb:file:wedding;shutdown=true
database.username = sa
database properties set --key database.url --value jdbc:hsqldb:${user.home}/my-wedding
Updated SRC_MAIN_RESOURCES¥META-INF¥spring¥database.properties
database properties list
database.driverClassName = org.hsqldb.jdbcDriver
database.password =
database.url = jdbc:hsqldb:${user.home}/my-wedding
database.username = sa

entity --class ‾.domain.Rsvp
Created SRC_MAIN_JAVA¥com¥wedding¥domain
Created SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp.java
Created SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp_Roo_Configurable.aj
Created SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp_Roo_Entity.aj
field string code --notNull --sizeMin 1 --sizeMax 30
Updated SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp.java
Created SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp_Roo_JavaBean.aj
Created SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp_Roo_ToString.aj
field string email --sizeMax 30
Updated SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp.java
Updated SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp_Roo_JavaBean.aj
Updated SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp_Roo_ToString.aj
field number attending --type java.lang.Integer
Updated SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp.java
Updated SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp_Roo_JavaBean.aj
Updated SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp_Roo_ToString.aj
field string specialRequests --sizeMax 100
Updated SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp.java
Updated SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp_Roo_JavaBean.aj
Updated SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp_Roo_ToString.aj
field date confirmed --type java.util.Date
Updated SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp.java
Updated SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp_Roo_JavaBean.aj
Updated SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp_Roo_ToString.aj

controller scaffold ‾.web.RsvpController
Created SRC_MAIN_JAVA¥com¥wedding¥web
Created SRC_MAIN_JAVA¥com¥wedding¥web¥RsvpController.java
Created SRC_MAIN_WEBAPP¥WEB-INF¥spring
Created SRC_MAIN_WEBAPP¥WEB-INF¥spring¥webmvc-config.xml
Created SRC_MAIN_JAVA¥com¥wedding¥web¥ApplicationConversionServiceFactoryBean.java
Updated SRC_MAIN_WEBAPP¥WEB-INF¥spring¥webmvc-config.xml
Updated ROOT¥pom.xml [Added dependencies org.apache.tiles:tiles-core:2.2.1, org.apache.tiles:tiles-jsp:2.2.1]
Updated SRC_MAIN_WEBAPP¥WEB-INF¥spring¥webmvc-config.xml
Created SRC_MAIN_WEBAPP¥images
Created SRC_MAIN_WEBAPP¥images¥create.png
Created SRC_MAIN_WEBAPP¥images¥list.png
Created SRC_MAIN_WEBAPP¥images¥resultset_previous.png
Created SRC_MAIN_WEBAPP¥images¥resultset_next.png
Created SRC_MAIN_WEBAPP¥images¥show.png
Created SRC_MAIN_WEBAPP¥images¥favicon.ico
Created SRC_MAIN_WEBAPP¥images¥delete.png
Created SRC_MAIN_WEBAPP¥images¥resultset_first.png
Created SRC_MAIN_WEBAPP¥images¥springsource-logo.png
Created SRC_MAIN_WEBAPP¥images¥resultset_last.png
Created SRC_MAIN_WEBAPP¥images¥add.png
Created SRC_MAIN_WEBAPP¥images¥banner-graphic.png
Created SRC_MAIN_WEBAPP¥images¥update.png
Created SRC_MAIN_WEBAPP¥styles
Created SRC_MAIN_WEBAPP¥styles¥alt.css
Created SRC_MAIN_WEBAPP¥styles¥standard.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¥header.jspx
Created SRC_MAIN_WEBAPP¥WEB-INF¥views¥footer.jspx
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¥index-template.jspx
Created SRC_MAIN_WEBAPP¥WEB-INF¥views¥uncaughtException.jspx
Created SRC_MAIN_WEBAPP¥WEB-INF¥views¥resourceNotFound.jspx
Created SRC_MAIN_WEBAPP¥WEB-INF¥views¥dataAccessFailure.jspx
Created SRC_MAIN_WEBAPP¥WEB-INF¥tags¥form
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¥dependency.tagx
Created SRC_MAIN_WEBAPP¥WEB-INF¥tags¥form¥show.tagx
Created SRC_MAIN_WEBAPP¥WEB-INF¥tags¥form¥list.tagx
Created SRC_MAIN_WEBAPP¥WEB-INF¥tags¥form¥find.tagx
Created SRC_MAIN_WEBAPP¥WEB-INF¥tags¥form¥fields
Created SRC_MAIN_WEBAPP¥WEB-INF¥tags¥form¥fields¥select.tagx
Created SRC_MAIN_WEBAPP¥WEB-INF¥tags¥form¥fields¥display.tagx
Created SRC_MAIN_WEBAPP¥WEB-INF¥tags¥form¥fields¥column.tagx
Created SRC_MAIN_WEBAPP¥WEB-INF¥tags¥form¥fields¥editor.tagx
Created SRC_MAIN_WEBAPP¥WEB-INF¥tags¥form¥fields¥checkbox.tagx
Created SRC_MAIN_WEBAPP¥WEB-INF¥tags¥form¥fields¥simple.tagx
Created SRC_MAIN_WEBAPP¥WEB-INF¥tags¥form¥fields¥input.tagx
Created SRC_MAIN_WEBAPP¥WEB-INF¥tags¥form¥fields¥textarea.tagx
Created SRC_MAIN_WEBAPP¥WEB-INF¥tags¥form¥fields¥datetime.tagx
Created SRC_MAIN_WEBAPP¥WEB-INF¥tags¥form¥fields¥table.tagx
Created SRC_MAIN_WEBAPP¥WEB-INF¥tags¥form¥fields¥reference.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¥pagination.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¥panel.tagx
Created SRC_MAIN_WEBAPP¥WEB-INF¥tags¥util¥language.tagx
Created SRC_MAIN_WEBAPP¥WEB-INF¥tags¥util¥load-scripts.tagx
Created SRC_MAIN_WEBAPP¥WEB-INF¥i18n
Created SRC_MAIN_WEBAPP¥WEB-INF¥i18n¥messages.properties
Created SRC_MAIN_WEBAPP¥images¥en.png
Updated SRC_MAIN_WEBAPP¥WEB-INF¥views¥footer.jspx
Updated SRC_MAIN_WEBAPP¥WEB-INF¥i18n¥application.properties
Created SRC_MAIN_WEBAPP¥WEB-INF¥views¥rsvps
Created SRC_MAIN_WEBAPP¥WEB-INF¥views¥rsvps¥list.jspx
Created SRC_MAIN_WEBAPP¥WEB-INF¥views¥rsvps¥views.xml
Created SRC_MAIN_WEBAPP¥WEB-INF¥views¥rsvps¥show.jspx
Updated SRC_MAIN_WEBAPP¥WEB-INF¥views¥rsvps¥views.xml
Created SRC_MAIN_WEBAPP¥WEB-INF¥views¥rsvps¥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
Updated SRC_MAIN_WEBAPP¥WEB-INF¥views¥menu.jspx
Updated SRC_MAIN_WEBAPP¥WEB-INF¥views¥rsvps¥views.xml
Created SRC_MAIN_WEBAPP¥WEB-INF¥views¥rsvps¥update.jspx
Updated SRC_MAIN_WEBAPP¥WEB-INF¥views¥rsvps¥views.xml
Updated SRC_MAIN_WEBAPP¥WEB-INF¥views¥menu.jspx
Updated SRC_MAIN_WEBAPP¥WEB-INF¥i18n¥application.properties
Created SRC_MAIN_WEBAPP¥WEB-INF¥web.xml
Updated SRC_MAIN_WEBAPP¥WEB-INF¥web.xml
Updated ROOT¥pom.xml [Added dependencies org.springframework:spring-web:${spring.version}, org.springframework:spring-webmvc:${spring.version}, org.sp

ringframework.webflow:spring-js-resources:2.2.1.RELEASE, commons-digester:commons-digester:2.0, commons-fileupload:commons-fileupload:1.2.1, javax.ser

vlet:jstl:1.2, javax.el:el-api:1.0, joda-time:joda-time:1.6, javax.servlet.jsp:jsp-api:2.1]
Updated ROOT¥pom.xml [Updated project type to war]
Created SRC_MAIN_JAVA¥com¥wedding¥web¥ApplicationConversionServiceFactoryBean_Roo_ConversionService.aj
Created SRC_MAIN_JAVA¥com¥wedding¥web¥RsvpController_Roo_Controller.aj
selenium test --controller ‾.web.RsvpController
Created SRC_MAIN_WEBAPP¥selenium
Created SRC_MAIN_WEBAPP¥selenium¥test-rsvp.xhtml
Created SRC_MAIN_WEBAPP¥selenium¥test-suite.xhtml
Updated SRC_MAIN_WEBAPP¥WEB-INF¥i18n¥application.properties
Updated SRC_MAIN_WEBAPP¥WEB-INF¥views¥menu.jspx
Updated ROOT¥pom.xml

// (OPTION: quit, mvn test, mvn tomcat:run, localhost:8080/wedding, mvn selenium:selenese)

logging setup --level ERROR --package WEB
Updated SRC_MAIN_RESOURCES¥log4j.properties
security setup
Updated ROOT¥pom.xml [Added property 'spring-security.version' with value '3.0.5.RELEASE']
Updated ROOT¥pom.xml [Added dependencies org.springframework.security:spring-security-core:${spring-security.version}, org.springframework.security:sp

ring-security-config:${spring-security.version}, org.springframework.security:spring-security-web:${spring-security.version}, org.springframework.secu

rity:spring-security-taglibs:${spring-security.version}]
Created SRC_MAIN_RESOURCES¥META-INF¥spring¥applicationContext-security.xml
Created SRC_MAIN_WEBAPP¥WEB-INF¥views¥login.jspx
Updated SRC_MAIN_WEBAPP¥WEB-INF¥views¥views.xml
Updated SRC_MAIN_WEBAPP¥WEB-INF¥web.xml
Updated SRC_MAIN_WEBAPP¥WEB-INF¥spring¥webmvc-config.xml

controller class --class ‾.web.PublicRsvpController
Created SRC_MAIN_JAVA¥com¥wedding¥web¥PublicRsvpController.java
Created SRC_MAIN_WEBAPP¥WEB-INF¥views¥publicrsvp
Created SRC_MAIN_WEBAPP¥WEB-INF¥views¥publicrsvp¥index.jspx
Updated SRC_MAIN_WEBAPP¥WEB-INF¥i18n¥application.properties
Updated SRC_MAIN_WEBAPP¥WEB-INF¥views¥menu.jspx
Created SRC_MAIN_WEBAPP¥WEB-INF¥views¥publicrsvp¥views.xml
finder list --class ‾.domain.Rsvp --filter code,equ
findRsvpsByCodeEquals(String code)
findRsvpsByCodeNotEquals(String code)
finder add --finderName findRsvpsByCodeEquals
Updated SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp.java
Created SRC_MAIN_WEBAPP¥WEB-INF¥views¥rsvps¥findRsvpsByCodeEquals.jspx
Updated SRC_MAIN_WEBAPP¥WEB-INF¥views¥menu.jspx
Updated SRC_MAIN_WEBAPP¥WEB-INF¥views¥rsvps¥views.xml
Updated SRC_MAIN_WEBAPP¥WEB-INF¥i18n¥application.properties
Created SRC_MAIN_JAVA¥com¥wedding¥domain¥Rsvp_Roo_Finder.aj
Updated SRC_MAIN_JAVA¥com¥wedding¥web¥RsvpController_Roo_Controller.aj

email sender setup --hostServer 127.0.0.1
Updated SRC_MAIN_RESOURCES¥META-INF¥spring¥applicationContext.xml
Updated ROOT¥pom.xml [Added dependencies org.springframework:spring-context-support:${spring.version}, javax.mail:mail:1.4.1, javax.activation:activat

ion:1.1.1]
Created SRC_MAIN_RESOURCES¥META-INF¥spring¥email.properties
field email template --class ‾.web.PublicRsvpController
Updated SRC_MAIN_JAVA¥com¥wedding¥web¥PublicRsvpController.java

// Complete manual configuration as described at http://blog.springsource.com/roo-part-2/
// Start from the "Final Steps" section, towards the bottom of the blog entry
Script required 159 second(s) to execute
‾.web.PublicRsvpController roo>

The project is generated without warning.
It works!

0 件のコメント:

コメントを投稿