John Murph wrote:
I'm not sure what you mean about the copySpec? That's just an
implementation detail. To use, you would do
task test << {
copy {
from 'dir/file1.txt'
into 'dir2/file2.txt'
}
}
I'm not sure that the into can be a string (we always use a directory
as the into), but the general syntax is as shown. Even better, "from"
can take all kinds of things, making this much more powerful than the
ant version.
In fact the above snippet produces a directory dir2/file2.txt/ where the
file1.txt is copied to. If it would create file2.txt as copy of
file1.txt I'd be absolutely happy with that.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email