Re: Access source file from mapper

2006-12-12 Thread Patrick Martin
I guess it would be more like (not tested): is a task i am also working on (antexif @ sourceforge) Thank you, Patrick On 12/11/06, Matt Benson <[EMAIL PROTECTED]> wrote: --- Dominique Devienne <[EMAIL PROTECTED]> wrote: > > I did not find anything :-(. I was just

Re: Access source file from mapper

2006-12-11 Thread Matt Benson
--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > > I did not find anything :-(. I was just hoping > there would be a trick somewhere. > > Maybe this is too weird, but this could possibly > work: Right; the problem is that a is, in longhand, a "filename mapper." NAME being the key. Mappers

Re: Access source file from mapper

2006-12-11 Thread Dominique Devienne
I did not find anything :-(. I was just hoping there would be a trick somewhere. Maybe this is too weird, but this could possibly work: 1) Write a custom FileSelector that builds a map of "source file relative name"s (like the ones seen by the mapper) to "File"s map. Either id that selector, or

Re: Access source file from mapper

2006-12-11 Thread Patrick Martin
Hello, On 12/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >1. I miss the source folder. As an example task: > > > > >Here, the variable "source" would be something matched by >*.JPG. It does not include the folder C:\B. mmmh ... that works for me: f

AW: Access source file from mapper

2006-12-11 Thread Jan.Materne
>1. I miss the source folder. As an example task: > > > > >Here, the variable "source" would be something matched by >*.JPG. It does not include the folder C:\B. mmmh ... that works for me: f = new java.io.File(source); project.log(

Re: Access source file from mapper

2006-12-11 Thread Patrick Martin
ameMapper.java?view=markup >-Ursprüngliche Nachricht- >Von: Patrick Martin [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 8. Dezember 2006 18:14 >An: Ant User >Betreff: Access source file from mapper > >Hello, > >I am trying to develop a file name mapper which modifi

AW: Access source file from mapper

2006-12-10 Thread Jan.Materne
on: Patrick Martin [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 8. Dezember 2006 18:14 >An: Ant User >Betreff: Access source file from mapper > >Hello, > >I am trying to develop a file name mapper which modifies the >file name according to the file content. >The idea

Access source file from mapper

2006-12-08 Thread Patrick Martin
Hello, I am trying to develop a file name mapper which modifies the file name according to the file content. The idea is to map JPEG file names according to the image EXIF attributes (date, size, ...). The issue I encounter is that the mapper does not have access to the source File object, and t