Ooops. Forget about it. I just found it already included in gradle 0.9:

task zip(type: Zip) {
        into('bin') {
                from('src/main/scripts') {
                        fileMode = 0755
                }
        }
}

My mistake, sorry.

On Tue, Jan 19, 2010 at 5:55 PM, Nacho Coloma <[email protected]> wrote:
> ZipFileSet does not seem to support filemode. This makes it impossible
> to write expressions like this:
>
> task zip(type: Zip) {
>        zipFileSet(dir: 'src/scripts', prefix: '/bin', filemode: '755')
> }
>
> This works using the ant task:
> http://ant.apache.org/manual/CoreTypes/zipfileset.html
>
> Should I introduce a JIRA issue for this?
>

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

    http://xircles.codehaus.org/manage_email


Reply via email to