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

[grails] As a user, there should be an easy way to sync the plugins described in the application.properties with your project

    Details

    • Type: New Feature New Feature
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 2.5.0.RC1
    • Component/s: GRAILS
    • Labels:
      None

      Description

      Currently, when a user manually edits the application.properties file and invokes a refresh dependency operation, the changes to application.properties is not respected. The user must execute a grails command (such as grails compile) that will update the plugins first, and then invoke refresh dependencies.

      This was first reported in STS-1263.

        Activity

        Hide
        Andrew Eisenberg (c) added a comment - - edited

        A suggestion is that refresh dependencies should first check to see if there are any discrepencies between applications.properties and what STS thinks should be installed. If so, Refresh dependencies should automatically call grails compile first before doing a refresh dependencies.

        Show
        Andrew Eisenberg (c) added a comment - - edited A suggestion is that refresh dependencies should first check to see if there are any discrepencies between applications.properties and what STS thinks should be installed. If so, Refresh dependencies should automatically call grails compile first before doing a refresh dependencies.
        Hide
        Andrew Eisenberg (c) added a comment -

        The benefit of doing things this way is that we can change the way that the plugin manager behaves. Rather than explicitly calling install/uninstall plugin, we can have the manager edit the application.properties file and call a simple refresh dependencies.

        Show
        Andrew Eisenberg (c) added a comment - The benefit of doing things this way is that we can change the way that the plugin manager behaves. Rather than explicitly calling install/uninstall plugin, we can have the manager edit the application.properties file and call a simple refresh dependencies.
        Hide
        Andrew Eisenberg (c) added a comment -

        With the fix for STS-1263, this is now working.

        Show
        Andrew Eisenberg (c) added a comment - With the fix for STS-1263 , this is now working.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: