On Aug 13, 2009, at 4:13 PM, Steve Appling wrote:



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

Excellent.

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org


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

   http://xircles.codehaus.org/manage_email


Reply via email to