DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30373>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30373 Image Task flattens all directory structures. Summary: Image Task flattens all directory structures. Product: Ant Version: 1.1 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] THe Image task flattens all directory structures when it processes the images. That is to say if you use an "includes" like this "**/*.jpg" you will get all the images in the 'destdir' without the "**" part. This is because the Image task is taking the File.getName value and appending it to the dest dir instead of using a Mapper like IdentityMapper to do the mapping for it. I have created a patch which allows the Image tag to take a 'mapper' element and default to an IdentityMapper if none is provided. I don't see any way to attache the patch but I am assuming, this is my first contrib to an open source project, that there will be a way on the next screen... :) Thanks for the great tool been using it for years and I have found it to be very useful. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]