Re: scriptdef with nested fileset and mapper

2008-10-17 Thread Gilbert Rebhan
Gilbert Rebhan schrieb: > Stefan wrote = > /* > I'm trying to write a custom copy task using scriptdef & ruby > but I don't find the documentation I need. The script should > (as an example) do the same as the copy task. How do I access > the original file and the mapped file ? Like in this skeleto

Re: scriptdef with nested fileset and mapper

2008-10-17 Thread Gilbert Rebhan
Stefan wrote = /* I'm trying to write a custom copy task using scriptdef & ruby but I don't find the documentation I need. The script should (as an example) do the same as the copy task. How do I access the original file and the mapped file ? Like in this skeleton: ???

Re: Zip a directory with its contents.

2008-10-17 Thread John5342
Instead of: just use: Note the double asterisk. 2008/10/17 Hendrik Maryns <[EMAIL PROTECTED]> > Hi, > > I want to zip a directory with its contents, such that when the archive > is extracted, the user gets a directory with in there the relevant files. > > Right now I do > > e

Zip a directory with its contents.

2008-10-17 Thread Hendrik Maryns
Hi, I want to zip a directory with its contents, such that when the archive is extracted, the user gets a directory with in there the relevant files. Right now I do But this is very clumsy. I tried But then the zipped dir is empty. Why? Can I tell it to recur