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(

AW: Access source file from mapper

2006-12-10 Thread Jan.Materne
As the manual sais about file mappers [1], you have to implement org.apache.tools.ant.util.FileNameMapper [2]. Basically to setters for your own parametrization and - most important - the map-method /** * Returns an array containing the target filename(s) for the * given source file