RE: scriptdef with nested fileset and mapper

2008-10-21 Thread Rebhan, Gilbert
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2008 12:47 PM To: user@ant.apache.org Subject: Re: scriptdef with nested fileset and mapper /* [...] I need to patch/stamp a number of binary files during copy (packing a release product

Re: scriptdef with nested fileset and mapper

2008-10-21 Thread stefanb
Hi Gilbert, thanks for the source. I've managed to hack a similar script, but your code is way more ruby style than mine ;-) I need to patch/stamp a number of binary files during copy (packing a release product). Since the replace-filters in ant are all text-based I cannot use the normal ant tas

Re: scriptdef with nested fileset and mapper

2008-10-19 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: 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: ???