Announcement Announcement Module
Collapse
No announcement yet.
Problem running the pizza shop example with GWT Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem running the pizza shop example with GWT

    I have been trying to perform the pizzashop example with GWT and GAE in roo, however i cannot get it to work out of the box, and I am not too sure if this is something roo is doing wrong, or if there is an environment issue that I am not aware of.

    Basically i have a roo file (listed below) and execute script --file pizzashop.roo

    Then I tried to run perform tests.

    After this i get the following error in roo:
    ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (default) on project pizzashop: Command execution failed. Process exited with an error: -1(Exit value

    If I exit roo, and run mvn clean install, I get this error:
    error: Could not find root type com.blogspot.gwtsts.pizzashop.client.managed.reque st.ApplicationRequestFactory

    Any ideas how to fix this?

    pizzashop.roo contents:
    Code:
    project --topLevelPackage com.blogspot.gwtsts.pizzashop
    
    persistence setup --provider DATANUCLEUS --database GOOGLE_APP_ENGINE --applicationId pizzashopexample
    
    entity jpa --class ~.server.domain.Topping --testAutomatically
    field string --fieldName name --notNull --sizeMin 2
    
    entity jpa --class ~.server.domain.Base --testAutomatically
    field string --fieldName name --notNull --sizeMin 2
    
    entity jpa --class ~.server.domain.Pizza --testAutomatically
    field string --fieldName name --notNull --sizeMin 2
    field number --fieldName price --type java.lang.Float
    field set --fieldName toppings --type ~.server.domain.Topping
    field reference --fieldName base --type ~.server.domain.Base
    
    entity jpa --class ~.server.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 ~.server.domain.Pizza
    
    gwt setup
    
    logging setup --level INFO
    Last edited by pdiddy; May 28th, 2012, 04:10 AM.
Working...
X