I have found a regression on the Copy task:
Under Ubuntu 12, I have two samba shares (mounted via fstab); Copying from one into another works from a terminal, but when using a Copy task in Gradle, it fails (see stacktrace).
The copy is pretty straightforward:
task copyFail(type: Copy) { <br />
from '/mnt/mount1/version.txt' <br />
into '/mnt/mount2/' <br /> }
The error seems to come from an error when tryning to launch stat on the file (net.rubygrapefruit.platform.NativeException: Could not get posix file details of /mnt/(…)/version.txt: could not stat file (errno 75))
I tried to run stat on the file, it gives no error.
Googling errno 75 seems to link it to ‘Value too large for defined data type’, but that doesn’t help me much. Any Idea?
PS: in fact, it’s a regression in Gradle 2.0 (it works under Gradle 1.11), but I just upgraded to 2.0, and decided to test the 2.1-RC1 right away. Tell me if if I should post this elsewhere. Note: This topic was created from a reply on the Gradle 2.1-rc-1 is now available for testing topic.