Results 1 to 3 of 3

Thread: Strange behaviour with EGit and gradle multi project

  1. #1
    Join Date
    Feb 2013
    Posts
    7

    Default Strange behaviour with EGit and gradle multi project

    I am running eclipse juno 4.2 and EGit 2.1. I have installed Gradle IDE 3.2

    http://dist.springsource.com/milestone/TOOLS/gradle (latest milestone build.)

    In eclipse I have a gradle multi project:

    Code:
    my-multi
     ->my-multi-a
          ->build.gradle
     ->my-multi-b
          ->build.gradle
     ->build.gradle
     ->settings.gradle
    Where my-multi-a and my-multi-b are physically located inside the my-multi folder on disk.

    I have shared the project (created a git repo in the my-multi folder). But when I modify files in either of the subprojects the changes are not seen be EGit - nothing happens when I try to commit.

    EGit integration works fine with eg. maven multi-projects. Are there any reasons that it should not work with gradle multi projects?

    In a maven multi-project in eclipse the submodules are nested inside the parent folder even though they are located flat next to the parent project. This makes it pretty easy to see where a change is located when opening the parent project.

  2. #2
    Join Date
    Feb 2013
    Posts
    7

    Default

    Works after updating EGit -> 2.2

  3. #3
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,637

    Default

    Hey!

    Glad to hear its working now and thanks for posting the solution here!!!

    Cheers,
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •