Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-3266

Refresh Dependencies not handling transitive in-place plugin dependencies well.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.2.0.RELEASE
    • Fix Version/s: None
    • Component/s: GRAILS
    • Labels:
      None

      Description

      In Grails 2.2 it looks like transitive plugin dependencies are no longer added automatically as dependencies of a project.

      This has some repercussions on how GGTS should handle plugin refreshes.

      E.g. if a we have

      main -> sub -> subsub

      And main uses a class from subsub then this works ok.
      However, if we remove the sub -> subsub then main should no longer be able to access the classes in subsub.

      Right now it seems that it still is able to. Although the link between sub->subsub which was modeled as project dependency gets broken, there is still a compiled copy of the subsub classes in main in the 'plugin_classes' folder. Even a refresh-dependencies on main doesn't get rid of these. It requires an explicit grails clean to get rid of these.

      If we want to properly handle this then we should probably run grails clean and refresh-dependenies on the parent project(s) automatically.

      This may also be required when other plugins get uninstalled?

        Activity

        Hide
        mlippert Martin Lippert added a comment -

        We no longer work on the Grails integration for Eclipse, therefore I am closing all the remaining open issues here.
        The code of the project is still available as open-source at GitHub: https://github.com/spring-projects/grails-ide

        Show
        mlippert Martin Lippert added a comment - We no longer work on the Grails integration for Eclipse, therefore I am closing all the remaining open issues here. The code of the project is still available as open-source at GitHub: https://github.com/spring-projects/grails-ide

          People

          • Assignee:
            Unassigned
            Reporter:
            kdvolder Kris De Volder
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: