I tried this:

task("mydelete", type: Delete) {
        delete "mydir", "*.txt"
}

...and:

task("mydelete", type: Delete) {
        fileset(dir: "mdir", includes: "*")
        delete "*.txt"
}

If I can get this working, then I'd like to make sure it will not cause an
error if the dir is not there (the whole dir. has already been deleted).

thanks.. AJ

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Delete-with-wildcard-tp4550586p4550678.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to