Skip navigation

Category Archives: spring

Captura

[INFO] Scanning for projects…
[INFO]
[INFO] ————————————————————————
[INFO] Building qwapp 1.0.0
[INFO] ————————————————————————
[INFO]
[INFO] — maven-enforcer-plugin:1.0:enforce (enforce-versions) @ qwapp —
[INFO]
[INFO] — maven-springfuse-plugin:3.0.97:remote-generation (Extract metadata, a
nd produce application.) @ qwapp —
[INFO]
[INFO] ______ _ ___

[INFO] .’ ____ \ (_) .’ ..]

[INFO] | (___ \_|_ .–. _ .–. __ _ .–. .–./) _| |_ __ _ .–. .–
-.
[INFO] _.____`.[ ‘/’`\ \[ `/’`\][ | [ `.-. | / /’`\;’-| |-‘[ | | | ( (`\]/ /_
_\\
[INFO] | \____) || \__/ | | | | | | | | | \ \._// | | | \_/ |, `’.’.| \_
_.,
[INFO] \______.’| ;.__/ [___] [___][___||__].’,__` [___] ‘.__.’_/[\__) )’._
_.’
[INFO] [__| ( ( __))

[INFO]
[INFO] Checking access to Springfuse service…
[INFO] OK… server is reachable
[INFO] Checking Springfuse version…
[INFO] OK… you are using the latest version 3.0.97
[INFO] Checking user credential…
[INFO] OK: user is valid
[INFO] Extracting metadata from jdbc:mysql://mysql.XXXXXXXXXXXXXXXXXXXXXXX.com
[INFO] Please be patient, reversing large schema may take up to several minutes
[04:23:28-556] [INFO] Connecting to Database jdbcUrl=jdbc:mysql://XXXXXXXXXXXXXXXXXXXXXXX.com
[04:23:33-205] [INFO] Connected OK
[04:23:33-254] [INFO] Loading with catalog=[null] schemaPattern=[null] tableName
Pattern=[%] types=[TABLE]
[04:23:33-594] [INFO] Table reversed: ACHIEVEMENT
………………..
[INFO] Using configuration src\main\config\maven-celerio-plugin\maven-celerio-pl
ugin.xml
[INFO] Sending metadata to springfuse (http://v3.springfuse.com/remote/generate)

[INFO] Springfuse is now generating your project.
[INFO] As soon as it is ready, it will be downloaded automatically
[INFO] Please wait…

————————————————————————
– Generation in progress. Please be patient.
– Your project will be downloaded automatically once ready
– Output logs and extracted metadata will be sent to your email
– Follow us on Twitter: http://twitter.com/springfuse
————————————————————————
……

Waiting for the reversal project on DEV environment to see the Spring + Hibernate + PrimeFaces backend generated via http://www.springfuse.com/

 

————————————————————————
– Generation in progress. Please be patient.
– Your project will be downloaded automatically once ready
– Output logs and extracted metadata will be sent to your email
– Follow us on Twitter: http://twitter.com/springfuse
————————————————————————
……….
….[INFO]
[INFO] Remote generation complete
[INFO] Downloading project
[INFO] Generated project zip file: C:\Users\victor\j2ee_workspace\qwapp/target/q
wapp-generated.zip
[INFO] Unzipping project to folder: C:\Users\victor\j2ee_workspace\qwapp/
[INFO]
[INFO] ————————————————————————
[INFO] Generation complete
[INFO]
[INFO] 1. Execute: mvn jetty:run
[INFO] 2. Open: http://localhost:8080/qwapp
[INFO] 3. Import in eclipse
[INFO] 4. Configure the generation (change entity names, property names, setup i
nheritance … )
[INFO] 5. Have new ideas, better patterns, found a bug ? Drop us a line at suppo
rt@springfuse.com
[INFO]
[INFO] ————————————————————————
[INFO] BUILD SUCCESS
[INFO] ————————————————————————
[INFO] Total time: 1:02.358s
[INFO] Finished at: Wed Apr 24 17:22:48 CEST 2013
[INFO] Final Memory: 5M/15M
[INFO] ————————————————————————
C:\Users\victor\j2ee_workspace\qwapp>

 

 

 

FIRST PROJECT – ROO STANDALONE

Install:

Download Spring Roo: http://www.springsource.org/download/community?project=Spring%2520Roo

Unzip and add to your PATH the path to the bin of the zip content

Let’s build a project. We’ll omit the console output in the steps below. We also strongly recommend you type “hint” after each step to help learn to use the shell. Please note you need Roo 1.2.0 or above to execute these commands:

mkdir hello
cd hello
roo
roo> hint
roo> project --topLevelPackage com.foo
roo> jpa setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY         
roo> entity jpa --class ~.Timer --testAutomatically
roo> field string --fieldName message --notNull
roo> hint web mvc
roo> web mvc setup
roo> web mvc all --package ~.web
roo> selenium test --controller ~.web.TimerController
roo> web gwt setup
roo> web gwt all --proxyPackage ~.client.proxy --requestPackage ~.client.request          
roo> perform tests
roo> perform eclipse
roo> quit Then: “mvn gwt:run” to play with the GWT client, or use “mvn tomcat:run” to start the Tomcat MVC front-end and view with http://localhost:8080/foo/timers from:http://www.springsource.org/spring-roo