[GRADLE-2135] Using Project.tarTree() with unavailable tar file should throw exception Created: 29/Feb/12  Updated: 04/Jan/13  Resolved: 04/Mar/12

Status: Resolved
Project: Gradle
Affects Version/s: 1.0-milestone-8a
Fix Version/s: 1.0-rc-1

Type: Bug
Reporter: René Gröschke (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0


 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'
}

Generated at Wed Jun 30 12:13:44 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.