ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Martin" <antu...@gmail.com>
Subject Access source file from mapper
Date Fri, 08 Dec 2006 17:13:56 GMT
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 thus cannot read the file. Is there a way
around this?

I would like to avoid *looping* (ant-contrib <for>) on source files,
getting their respective EXIF attributes and copying/renaming
accordingly...

Thanks,

Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message