Spring Tool Suite
  1. Spring Tool Suite
  2. STS-1679

missing roo.core.prefs in project causes "No valid Spring Roo installation" message in roo shell

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: 2.6.0.RELEASE
    • Fix Version/s: 2.7.0.M1
    • Component/s: ROO
    • Labels:
    • Environment:

      OS X 10.5.8, JDK1.5.0_28

      Description

      If an existing working- from the command line - Roo-project for whatever reason does not have the file "com.springsource.sts.roo.core.prefs" in ".settings" STS 2.6.0 will trigger the erroneous message "No valid Spring Roo installation configured. Use the "Roo Support" preference pane to configure available Roo installations".

      In addition the roo shell's error message status prevents the user from opening other projects in the roo shell. To get out of this the user have to reselect the roo installation in preferences.

      In this situation, STS should add the file "com.springsource.sts.roo.core.prefs" and the roo shell should not indicate that there is no valid Spring Roo installation configured, when there actually is one.

      One symptom for a project missing the file "com.springsource.sts.roo.core.prefs is that there is no roo-version added to the project name in the "Roo Shell Project Selection" dialog.

        Activity

        Hide
        Christian Dupuis added a comment -

        Thanks for reporting this. I just pushed a fix for this. Feel free to update to tomorrow's nightly build or wait for the next version of STS.

        Christian

        Show
        Christian Dupuis added a comment - Thanks for reporting this. I just pushed a fix for this. Feel free to update to tomorrow's nightly build or wait for the next version of STS. Christian
        Hide
        MATTHIAS WAGNER added a comment -

        where can I get a nightly build from?

        Matthias

        Show
        MATTHIAS WAGNER added a comment - where can I get a nightly build from? Matthias
        Hide
        Martin Lippert (c) added a comment -
        Show
        Martin Lippert (c) added a comment - http://dist.springsource.com/snapshot/TOOLS/nightly/e3.6/ (STS nightly builds) HTH, -Martin
        Hide
        MiB added a comment -

        Are we supposed to use this as an update URL in existing STS installations or are there ways to get a full installer too?

        Show
        MiB added a comment - Are we supposed to use this as an update URL in existing STS installations or are there ways to get a full installer too?
        Hide
        Martin Lippert (c) added a comment -

        The update site is supposed for existing STS installations to try out latest fixes, etc. The current plan is to get new complete packages and installers that include this fix with 2.7.0.M1, which is planned for end of April. Does this work for you?

        Show
        Martin Lippert (c) added a comment - The update site is supposed for existing STS installations to try out latest fixes, etc. The current plan is to get new complete packages and installers that include this fix with 2.7.0.M1, which is planned for end of April. Does this work for you?
        Hide
        MiB added a comment -

        Yes, that both works and make sense. It would be unfortunate and time-consuming to start over for every new nightly build. Much better to upgrade the installation you already use.

        While I had used this URL already in that fashion in my current 2.6.0Release installation, I asked for a clarification as the URL on its own doesn't make it clear how to proceed. Which I found somewhat bewildering first.

        Because of Roo and other technologies I use I tend to depend on the nightly builds for production, which possibly may be risky, but nevertheless the alternative is even worse for my productivity so...

        Show
        MiB added a comment - Yes, that both works and make sense. It would be unfortunate and time-consuming to start over for every new nightly build. Much better to upgrade the installation you already use. While I had used this URL already in that fashion in my current 2.6.0Release installation, I asked for a clarification as the URL on its own doesn't make it clear how to proceed. Which I found somewhat bewildering first. Because of Roo and other technologies I use I tend to depend on the nightly builds for production, which possibly may be risky, but nevertheless the alternative is even worse for my productivity so...

          People

          • Assignee:
            Christian Dupuis
            Reporter:
            MiB
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              First Response Date: