Hi Kaptain!

yes, helps very much,
thank you again for you time,

sean



On 13 January 2011 11:37, TheKaptain <[email protected]> wrote:
>
> You should be able to accomplish most of what you want with a CopySpec, which
> is basically a mapping of files. There is a Project.copySpec convenience
> method for creating them. i.e.
> def filesToCopy = copySpec{
>     from 'log.txt' //etc
> }
>
> task (name:'myBuild', type:Copy) {
>     with filesToCopy {
>            into 'dest1'
>     }
>     with filesToCopy {
>            into 'dest2'
>     }
> }
>
>
>
> And you should be able to handle the delete in myBuild.doLast{}
>
> Hope that helps!
> --
> View this message in context: 
> http://gradle.1045684.n5.nabble.com/copy-task-move-to-multiple-destinations-tp3338941p3339136.html
> Sent from the gradle-user mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

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

    http://xircles.codehaus.org/manage_email


Reply via email to