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

Grails Projects imported as 'linked' projects can't be deployed by "Run On Server".


    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.2.RELEASE
    • Fix Version/s: 2.6.0.M1
    • Component/s: GRAILS
    • Labels:


      When a project is imported using the "Import >> Existing Projects" wizard, and we do not select "copy project into workspace" then if you try to deploy the project with "run on server" context menu or by drag-drop to Tc Server, it will not work.

      The reason appears to be an issue with the module cache which is being created after the project appears in the workspace. With linked projects the project appears first as an "empty" project and then in second stage the project contents appears.

      WTP will ask for the modules as soon as the project appears, but since it is empty it will not look like a grails project and not have any modules that can be deployed. This result is cached. The cache isn't cleared once the contents of the project appears.

      I've got a fix already and will commit shortly. The fix will be in 2.5.3 (or whatever is the next release after 2.5.2.

      Workaround for 2.5.2: restart STS.


        kdvolder Kris De Volder added a comment -

        Fix is committed.

        kdvolder Kris De Volder added a comment - Fix is committed.


          • Assignee:
            kdvolder Kris De Volder
            kdvolder Kris De Volder
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: