Hi all,
Fresh install from springsource-tool-suite-2.6.0.RELEASE-e3.6.2-win32-installer.exe (SSTS 2.6.0.RELEASE Build 201103161000; maven 2.2.1.RELEASE; roo.version 1.1.2.RELEASE; spring.version 3.0.5.RELEASE; aspectj.version; jdk 1.6.0_17)
I don't know if this is something to do with the relationship type or something, but it's easy to reproduce with the Pizza example:
Code:
persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
entity --class ~.domain.Topping --testAutomatically
field string --fieldName name --notNull --sizeMin 2
entity --class ~.domain.Base --testAutomatically
field string --fieldName name --notNull --sizeMin 2
entity --class ~.domain.Pizza --testAutomatically
field string --fieldName name --notNull --sizeMin 2
field number --fieldName price --type java.lang.Float
field set --fieldName toppings --type ~.domain.Topping
field reference --fieldName base --type ~.domain.Base
entity --class ~.domain.PizzaOrder --testAutomatically
field string --fieldName name --notNull --sizeMin 2
field string --fieldName address --sizeMax 30
field number --fieldName total --type java.lang.Float
field date --fieldName deliveryDate --type java.util.Date
field set --fieldName pizzas --type ~.domain.Pizza
perform tests
Now when I run:
First time I get:
Code:
(creation steps)
(undo steps)
Undo create SRC_MAIN_WEBAPP\WEB-INF\spring
japa.parser.ParseException: Encountered " "." ". "" at line 99, column 13.
Was expecting one of:
"(" ...
(etc.)
Run gwt setup again and it works the second time (every time) and everything fits together ok except that there is no GWT front end code for PizzaOrder - nothing at all, as if the system wasn't aware PizzaOrder was in the domain model.
Am I doing something wrong?
Cheers,
Dave.