Hey,

Few questions first :). Does it consistently fail for that reason on the
build system? Also, are you sure it's the copy task? Are you able to create
a minimal example of a single copy task that exposes this behavior?

I haven't heard about this problem before (you might have a scan through
jira/forums/google).

Cheers!

Can you report it and include details of your environment.

On Tue, Jan 10, 2012 at 1:55 AM, juhan <[email protected]> wrote:

> Our build.gradle imports our custom plug-in, at the end compilation we copy
> necessary binaries to a centralized location to be consumed later by other
> components which is verified by the 'verify' task.
> As you can see below the verify tasks dependsOn the copy task.
>
> We have an reoccurring issue, where the copy task reduces the original
> source file size of certain .lib(s) to size 0kb.
> It works fine locally on developer desktops, but it fails on the Build
> System which runs on a SAN.
>
> I was wondering if any one has come across this problem.
>
> verify.dependsOn 'copyToLocalCache'
>
> task copyToLocalCache(type:Sync) {
>
>    into "$root/ReleaseMix"
>
>    from( 'Release'){
>        include 'Interop.lib'
>        include 'Mixed.lib'
>        include 'Persistence.lib'
>    }
>    from( '../hibernate/bin/Release'){
>        include 'Hibernate.dll'
>    }
> }
>
> --
> View this message in context:
> http://gradle.1045684.n5.nabble.com/gradle-copy-sync-task-modified-original-source-file-size-to-0-tp5132990p5132990.html
> Sent from the gradle-dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>


-- 
Szczepan Faber
Principal engineer@gradleware
Lead@mockito

Reply via email to