Peter Niederwieser wrote > > You can perform some assertions in a doFirst block. Something like: > > war.doFirst { > assert file("datasource/${datasource}.xml").exists() > } >
Thanks Peter, that works like a charm :) ~Brian -- View this message in context: http://gradle.1045684.n5.nabble.com/Copy-file-into-WEB-INF-fail-if-not-exists-tp5709846p5709856.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