Results 1 to 2 of 2

Thread: Import of Gradle project hangs

  1. #1

    Default Import of Gradle project hangs

    Hello,

    I am importing a Gradle project into STS (3.1.0.RELEASE) and it has hung (30+ minutes) on the "Resolve dependencies ':testRuntime' step. I have configured STS to use a locally installed version of Gradle (gradle-1.4).

    How can I get some insight into what is happening here?

    Thanks,

    Joshua

  2. #2
    Join Date
    May 2010
    Posts
    398

    Default

    Resolving dependencies can be quite time consuming because it requires contacting external repositories via your internet connection.

    Even so, 30 minutes seems excessive. Maybe there's a network connectivity issue and something is hung indefinitely.
    Or maybe there's something about your build script that causes excessive NW checking (lots of snapshot style depenencies comes to mind).

    I'm not sure what advice to give you here. Maybe you can try running a gradle build from the commandline and see if that has similar behavior of getting totally 'hung'. I am guessing that probably it will. In that case I'd say the folks on the Gradle Forum (*) are probably the best ones to advise as the problem isn't specific to the tooling. They will be better able to help figure out what inside of your build script or Gradle itself is getting stalled.

    Kris

    (*) http://forums.gradle.org/gradle
    Kris De Volder -- SpringSource

Posting Permissions

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