Hans Dockter wrote:
Hi Steve,

I just used the new CopySpec feature the first time and I'm very excited. This is powerful stuff and exactly the evolution I love to see for Gradle.

I have a couple of issues:

Should we add the Ant filters to the default imports?
Good idea - I'll do that

Should we provide some convenience method for copying a single file?
You can copy a single file (or list of files) now, you just specify the target directory, not a target file - like:
copy {
   from 'src/main/java/fred.java'
   into 'dest'
}

This single file copying along with from taking a Iterable<File> is what lets the following work:
copy {
   from configurations.runtime
   into 'build/dist/lib'
}

Inheritance for filters does not seem to work. The child spec does not use them.
Thanks for finding that.  I'll add a test case and fix it.


--
Steve Appling
Automated Logic Research Team

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

   http://xircles.codehaus.org/manage_email


Reply via email to