Hi guys,
When I saw the Roo presentation "Extreme Productivity in 10 Minutes" I thought "Yes! That's what I need", so I went ahead, made grabbed Roo 1.0.0.RELEASE and made my first test.
My app was nice and easy:
However, perform test didn't perform:Code:project --topLevelPackage com.saers.butcher enum type --class com.saers.butcher.enums.MeatType persistence setup --provider HIBERNATE --database MYSQL --userName butcher --password jim entity --class ~.entities.Saussage --identifierType java.lang.Long --testAutomatically field string --fieldName name --notNull field string --fieldName description --notNull field enum --fieldName meatType --type com.saers.butcher.enums.MeatType finder add --class com.saers.butcher.entities.Saussage --finderName findTemperamentsByNameLike controller all --package com.saers.butcher.web security setup logging setup --level INFO perform test
I suspect this is because no database schema is generated. Is there a schema generator I can use or add? Because when I dropped MySQL and went withCode:------------------------------------------------------- T E S T S ------------------------------------------------------- Running com.saers.butcher.entities.SaussageIntegrationTest Tests run: 9, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 2.221 sec <<< FAILURE! Results : Tests in error: testCountSaussages(com.saers.butcher.entities.SaussageIntegrationTest) testFindSaussage(com.saers.butcher.entities.SaussageIntegrationTest) testFindAllSaussages(com.saers.butcher.entities.SaussageIntegrationTest) testFindSaussageEntries(com.saers.butcher.entities.SaussageIntegrationTest) testFlush(com.saers.butcher.entities.SaussageIntegrationTest) testMerge(com.saers.butcher.entities.SaussageIntegrationTest) testPersist(com.saers.butcher.entities.SaussageIntegrationTest) testRemove(com.saers.butcher.entities.SaussageIntegrationTest) Tests run: 9, Failures: 0, Errors: 8, Skipped: 0
it all works. But, I must admit, I'm a bit picky: I want my data to persist. ;-)Code:persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
Next I went to STS 2.3.0, did a "New Project", "Spring Template", but there's no Roo option there like in the presentation. Is there something I need to do to add it? I've already added ROO 1.0.0-RELEASE instead of RC4.
Apart from that, it looks really nice so far, and I'm looking forward to posting lots of questions as I learn more :-)
Cheers
Nik


Reply With Quote
).

