Spring Roo
  1. Spring Roo
  2. ROO-3175

Expenses sample - issues in Roo 1.2.2

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Works as Designed
    • Affects Version/s: 1.2.2.RELEASE
    • Fix Version/s: None
    • Component/s: GWT
    • Labels:
      None

      Description

      When I created the expenses application, I tried testing it using mvn gwt:run but none of my browsers were supported, so I performed a mvn jetty:run to try to run it as a standard war.

      Issues -
      The scaffolding cannot retrieve the javascript file, applicationScaffold/applicationScaffold.nocache.js - I get a 404 in the Firebug console on this file and cannot retrieve it. It does load the ApplicationScaffold.html file and shows the "Loading..." bar.

      When I try to go into Roo to amp up the logging, the shell fails with:

          ____  ____  ____  
         / __ \/ __ \/ __ \ 
        / /_/ / / / / / / / 
       / _, _/ /_/ / /_/ /  
      /_/ |_|\____/\____/    1.2.2.RELEASE [rev 7d75659]
      
      
      Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
      @krimple: On my way to the @RichmondJUG to speak about @SpringRoo add-ons. Looking forward to it! 
      roo> 
      
      !              */             /*             //             date           development    download       equals         exit           flash          focus          help           
      hint           maven          metadata       osgi           pgp            poll           process        project        proxy          reference      script         system         
      tailor         version        web            
      
      The module for the file '/Users/kenrimple/expenses/src/main/java/org/springsource/roo/extrack/client/managed/activity/ReportDetailsActivity.java' could not be located
      

      This is with Roo 1.2.2 - standard setup, I just ran roo script expenses.roo and then did a mvn gwt:run, then a mvn jetty:run and tomcat:run in an effort to run the application.

        Activity

        Hide
        Alan Stewart added a comment -

        I tested mvn gwt:run with Firefox 12 on Linux and Mac as well as Firefox 5, IE8 and IE9 on Windows 7 with no issues. Also with Chrome on OS X and Windows 7. mvn jetty:run or mvn tomcat:run won't work - you need to use gwt:run.

        Show
        Alan Stewart added a comment - I tested mvn gwt:run with Firefox 12 on Linux and Mac as well as Firefox 5, IE8 and IE9 on Windows 7 with no issues. Also with Chrome on OS X and Windows 7. mvn jetty:run or mvn tomcat:run won't work - you need to use gwt:run.
        Hide
        Ken Rimple added a comment -

        Ok, right. I had to find a copy of the GWT plugin for 12 of Firefox, the rest of my tools I don't have one for. So that's why I decided to go with the jetty:run figuring you'd eventually pull it into a war anyway. I guess my question, more for GWT developers, is how you finally package this thing up and run it in production from what we do in Roo. I don't know GWT well enough to know what people do in production. I guess we can close this and I can ask in the forums.

        Show
        Ken Rimple added a comment - Ok, right. I had to find a copy of the GWT plugin for 12 of Firefox, the rest of my tools I don't have one for. So that's why I decided to go with the jetty:run figuring you'd eventually pull it into a war anyway. I guess my question, more for GWT developers, is how you finally package this thing up and run it in production from what we do in Roo. I don't know GWT well enough to know what people do in production. I guess we can close this and I can ask in the forums.

          People

          • Assignee:
            Alan Stewart
            Reporter:
            Ken Rimple
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: