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

Spring nature not automatically added when project has spring-core dependency

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Complete
    • Affects Version/s: 2.9.0.RELEASE
    • Fix Version/s: 2.9.2.RELEASE, 3.0.0.M1
    • Component/s: MAVEN
    • Labels:
      None

      Description

      I was looking forward to the fix for: STS-2322

      However, it appears there is a bug in it. I still do not get the spring nature set if I have spring-core in my project but don't have the old maven-eclipse-plugin configuration.

      Debugging into the issue it appears the problem is with com.springsource.sts.maven.internal.core.SpringProjectConfigurator.

      It sets "found" to false. And then when spring-core is found and "addProjectNature" is called it doesn't set "found" to true. So processing continues to configureNature() which removes the spring nature if it cannot find it in the maven-eclipse-plugin.

        Activity

        Hide
        Mike Youngstrom added a comment -

        Yes, sorry. Sometimes it just makes debugging problems easier. Now I will promptly delete this comment so that I don't get my license revoked. I heard at SpringOne that there was work to Open Source STS. Please hurry!

        Show
        Mike Youngstrom added a comment - Yes, sorry. Sometimes it just makes debugging problems easier. Now I will promptly delete this comment so that I don't get my license revoked. I heard at SpringOne that there was work to Open Source STS. Please hurry!
        Hide
        Martin Lippert (c) added a comment -


        STS 3.0 (to be released by July/August) will be based on the open-source repositories at GitHub by then, but the individual repositories might show up a lot earlier...

        Show
        Martin Lippert (c) added a comment - STS 3.0 (to be released by July/August) will be based on the open-source repositories at GitHub by then, but the individual repositories might show up a lot earlier...
        Hide
        Mike Youngstrom added a comment -

        Good news! I look forward to it. Now you better delete your comment before someone finds it and turns it into a release commitment.

        Show
        Mike Youngstrom added a comment - Good news! I look forward to it. Now you better delete your comment before someone finds it and turns it into a release commitment.
        Hide
        Martin Lippert (c) added a comment -

        Hehe... We have public release dates for STS now for quite a while, shipping roughly quarterly releases (after Eclipse main release, SR1 and SR2) and we shipped those versions on time. So I am not afraid of letting everybody know that STS 3.0 is planned to ship quickly after the Eclipse Juno release. We might need some more time than usual this time (because of the open-sourcing shift), but aside from that I am pretty sure we will ship on time again.

        Show
        Martin Lippert (c) added a comment - Hehe... We have public release dates for STS now for quite a while, shipping roughly quarterly releases (after Eclipse main release, SR1 and SR2) and we shipped those versions on time. So I am not afraid of letting everybody know that STS 3.0 is planned to ship quickly after the Eclipse Juno release. We might need some more time than usual this time (because of the open-sourcing shift), but aside from that I am pretty sure we will ship on time again.
        Hide
        Mike Youngstrom added a comment -

        Excellent. Rock on!

        Show
        Mike Youngstrom added a comment - Excellent. Rock on!

          People

          • Assignee:
            Andrew Eisenberg (c)
            Reporter:
            Mike Youngstrom
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              First Response Date: