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

Exceptions thrown when trying to import subproject with dependencies

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.0.RELEASE, 3.3.0.RC2, 3.3.0.RELEASE
    • Fix Version/s: 3.4.0.M1
    • Component/s: GRADLE
    • Labels:
      None

      Description

      When trying to import a sub-project of a multiproject where the subproject has a dependency on another sub-project that is not nested within it the import wizard is throwing exceptions.

      Details here:
      http://forum.springsource.org/showthread.php?134347-gradle-eclipse-quot-No-project-name-mapping-was-defined-for-project-quot-on-import

      I think the error happens because user is pointing the import wizard directly at a subproject rather than at the rootfolder of a multiproject build.

        Activity

        Hide
        Kris De Volder (c) added a comment -

        I've pushed a fix. When user points import wizard at a subproject in a multi-project build, the wizard will recognize this is the case and
        automatically populate the project tree with all projects from the root rather than just the sub-project pointed to.

        This is in a 'post_release' branch now. Will have to wait until after 3.3.0.RELEASE is out before going into master.

        Leaving issue open until then.

        Show
        Kris De Volder (c) added a comment - I've pushed a fix. When user points import wizard at a subproject in a multi-project build, the wizard will recognize this is the case and automatically populate the project tree with all projects from the root rather than just the sub-project pointed to. This is in a 'post_release' branch now. Will have to wait until after 3.3.0.RELEASE is out before going into master. Leaving issue open until then.
        Hide
        Edd Grant added a comment -

        Thanks for your help identifying this issue Kris, and for getting the fix in so quickly. Much appreciated!

        Show
        Edd Grant added a comment - Thanks for your help identifying this issue Kris, and for getting the fix in so quickly. Much appreciated!
        Hide
        Kris De Volder (c) added a comment -

        Fix now merged to master. Resolving issue.

        Show
        Kris De Volder (c) added a comment - Fix now merged to master. Resolving issue.

          People

          • Assignee:
            Kris De Volder (c)
            Reporter:
            Kris De Volder (c)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              First Response Date: