Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-1125

eclipseWtp does not work properly when a dependency resolves to a location for which no Eclipse variable has been defined

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.9-rc-3

      Description

      As talked to Adam in Mirc, using this gradle build file: http://gist.github.com/532185, and uncommenting the apply war, we have this stacktrace: http://pastie.org/1098680

      This only happens because of our compile files(fileTree(dir: lib as File, includes: ['*.jar']))

      The proposed workaround by adam that works is as follows:
      eclipseWtp

      { variables['PROJECT_DIR'] = projectDir.absolutePath }

        Attachments

          Activity

            People

            Assignee:
            hans_d Hans Dockter
            Reporter:
            peass Paulo Silveira
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: