Announcement Announcement Module
Collapse
No announcement yet.
Spring roo 1.1.4 error in expenses sample Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring roo 1.1.4 error in expenses sample

    Hi,

    I'm trying to create a sample gwt project using roo from the link:
    http://code.google.com/webtoolkit/do...l/roo-sts.html

    but When I try to run "script ..\samples\expenses.roo" in Spring roo
    1.1.4 I'm getting the following error (full log is attached below).

    "GWT module's gwt.xml file not found; cannot continue"

    I'm using the STS downloaded from http://www.springsource.com/products/eclipse-downloads

    GWT 2.3, Roo 1.1.4

    Request you to help me.

    Regards

    Full Log of roo
    ---------------------

    F:\IDE\Spring\spring-roo-1.1.4.RELEASE\expenses>..\bin\roo.bat
    ____ ____ ____
    / __ \/ __ \/ __ \
    / /_/ / / / / / / /
    / _, _/ /_/ / /_/ /
    /_/ |_|\____/\____/ 1.1.4.RELEASE [rev f787ce7]


    Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
    0 upgrades available (plus 29 upgrades not visible due to your version stability setting of RELEASE)
    roo> script ..\samples\expenses.roo
    project --topLevelPackage org.springsource.roo.extrack
    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\log4j.properties
    Created SRC_MAIN_RESOURCES\META-INF\spring\applicationContext.xml

    persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
    Created SRC_MAIN_RESOURCES\META-INF\spring\database.properties
    .
    .
    .
    gwt setup
    Created SRC_MAIN_WEBAPP\WEB-INF\spring
    Created SRC_MAIN_WEBAPP\WEB-INF\spring\webmvc-config.xml
    Created SRC_MAIN_WEBAPP\WEB-INF\web.xml
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\Applica tionScaffold.gwt.xml
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ managed\request
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\request
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\request\EventSourceRequestTransport.java
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\request\RequestEvent.java
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\ScaffoldMobileShell.java
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\ScaffoldDesktopShell.java
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\ScaffoldDesktopApp.java
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\ScaffoldMobileShell.ui.xml
    .
    .
    .
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ style\images
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ style\images\groupIcon.png
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ style\images\selectionGradient.png
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ style\images\createButton.png
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ style\images\openGradient.png
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ style\images\titleGradient.png
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ style\images\backButton.png
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ style\images\userIcon.png
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ style\images\gwtLogo.png
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ style\images\rooLogo.png
    Created SRC_MAIN_WEBAPP\index.html
    Created SRC_MAIN_WEBAPP\ApplicationScaffold.html
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ managed\activity
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\activity
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\activity\IsScaffoldMobileActivity.java
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\gae
    Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\gae\GaeHelper.java
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\gae\GaeHelper.java
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\gae
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\activity\IsScaffoldMobileActivity.java
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\activity
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ managed\activity
    Undo create SRC_MAIN_WEBAPP\ApplicationScaffold.html
    Undo create SRC_MAIN_WEBAPP\index.html
    .
    .
    .
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\ScaffoldApp.java
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\Scaffold.java
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\ScaffoldMobileApp.java
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\ScaffoldDesktopShell.ui.xml
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\ScaffoldMobileShell.ui.xml
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\ScaffoldDesktopApp.java
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\ScaffoldDesktopShell.java
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\ScaffoldMobileShell.java
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\request\RequestEvent.java
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\request\EventSourceRequestTransport.java
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ scaffold\request
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\client\ managed\request
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\Applica tionScaffold.gwt.xml
    Undo create SRC_MAIN_JAVA\org\springsource\roo\extrack\client
    Undo create SRC_MAIN_WEBAPP\WEB-INF\web.xml
    Undo create SRC_MAIN_WEBAPP\WEB-INF\spring\webmvc-config.xml
    Undo create SRC_MAIN_WEBAPP\WEB-INF\spring
    GWT module's gwt.xml file not found; cannot continue
    Script required 56 second(s) to execute
    Script execution aborted
    Updated SRC_MAIN_JAVA\org\springsource\roo\extrack\server\ domain\Employee_Roo_ToString.aj
    Updated SRC_MAIN_JAVA\org\springsource\roo\extrack\server\ domain\Report_Roo_ToString.aj
    Updated SRC_MAIN_JAVA\org\springsource\roo\extrack\server\ domain\Expense_Roo_ToString.aj
    ~.server.domain.Expense roo>

  • #2
    Roo 1.1.4 has an issue with path separators on Windows:

    https://jira.springsource.org/browse/ROO-2445

    http://forum.springsource.org/showthread.php?109446

    Comment


    • #3
      Thanks for the reply, but I was not able to figure out how to fix it, and go ahead with the development.

      Comment


      • #4
        The issue has been fixed for the next version. In the meantime, please use a snapshot build from http://static.springsource.org/downl...hp?project=ROO

        Comment

        Working...
        X