ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30373] New: - Image Task flattens all directory structures.
Date Thu, 29 Jul 2004 02:25:11 GMT
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: dev@ant.apache.org
        ReportedBy: danap@dhptech.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message