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

Using Project.tarTree() with unavailable tar file should throw exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.0-milestone-8a
    • Fix Version/s: 1.0-rc-1

      Description

      while working on another issue, I've noticed that when using Project.tarTree with a path to a file that does not exists, no warning or exception is thrown. instead it is silently ignored.

      //example snippet:
      task copy(type: Copy) {
          from tarTree('notexisting.tar') //this is silently ignored if it does not exist
          into 'tmp'
      }
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            breskeby René Gröschke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: