Results 1 to 10 of 22

Thread: Debug Roo Startup

Hybrid View

  1. #1
    Join Date
    Jul 2010
    Posts
    119

    Default Debug Slow Roo Startup

    Spring Roo: 1.1.0.M3 [rev e66e029]

    Is there any way to log what roo is doing when it initially starts up?

    I am experiencing a large delay everytime I start up roo and issue the first command. It didn't used to happen so I am thinking I added something to my POM that is causing the dependency check to take a long time on startup.

    How can I check that?

    When I run mvn clean outside of roo, it takes 1 sec.

    If I start up roo, and then immediately issue perform clean, it takes 1m 20s before it even starts to process the command. (i.e. The first [Thread] message [INFO] Scanning for projects, appears after 1m20s) then the clean takes 2s to complete.

    Immediately running the command again, 1s. Exit roo, start up roo, issue the perform clean command and same 1m20s delay)

    The entire time it's "delaying" the "Please wait - still loading" flash message is present.

    This leads me to believe that whatever roo is trying to do on startup, is taking a long time, but I have no idea what it is trying to do, is there anyway I can tell roo to log it to a file?

    Could I have a bad repository setup in the POM that is having to wait until it times out? Also, I might have a bad local repository, is there an easy way to tell maven to rebuild the local repository?

    Thanks in advance
    Last edited by btlife; Sep 20th, 2010 at 08:27 AM. Reason: added Spring Roo Version

  2. #2
    Join Date
    Nov 2009
    Location
    Montreal, Quebec
    Posts
    398

    Default

    Sounds like you're using Roo within the IDE (Eclipse/STS). I have experience delays like that when using the Roo plugin for Eclipse/STS. When using Roo outside of the IDE via the terminal shell, it has no delays. What fixed it for me on the IDE side was to cleanup the Eclipse plugins directory. Maybe a clean install of Eclipse would do the same and just reinstall the latest plugins you need. However by the time I had done all that, I found that Roo stand alone outside of the IDE works best anyhow.

  3. #3
    Join Date
    Jul 2010
    Posts
    119

    Default

    Quote Originally Posted by pgrimard View Post
    Sounds like you're using Roo within the IDE (Eclipse/STS).
    I'm using ROO standalone, not through STS plugin. I have a shell prompt opened and roo running in it. And then STS running as well. The ROO slow down occurs whether I have STS running or not.

    Thanks for the response

  4. #4
    Join Date
    Nov 2009
    Location
    Montreal, Quebec
    Posts
    398

    Default

    Odd. I'm running the same version of Roo as you, but I don't have the delay in the standalone shell. Is your project on your local hard drive, or across the network?

  5. #5
    Join Date
    Jul 2010
    Posts
    119

    Default

    Running locally, that's why I am thinking I did something to the POM or the repository, that is making it search a bunch of places it doesn't need to, and it has to wait for the timeouts.

  6. #6
    Join Date
    Jul 2010
    Posts
    119

    Default

    Quote Originally Posted by btlife View Post
    Running locally, that's why I am thinking I did something to the POM or the repository, that is making it search a bunch of places it doesn't need to, and it has to wait for the timeouts.
    It's project related, if I start roo in a new folder (same computer), and load up one of the sample scripts, it responds immediately

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •