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


Reply via email to