DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15596>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15596

Identity mapper in uptodate task.

           Summary: Identity mapper in uptodate task.
           Product: Ant
           Version: 1.5
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The identity mapper would be more useful in the uptodate task if there were a 
way to specify a target directory. In particular, I'm obfuscating classes, 
which creates a structure in an "obfuscatedclasses" directory that is identical 
to the structure in "classes". I would like to use uptodate to check if any 
clear class file is newer than the associated obfuscated class file. That would 
indicate the need to rerun the obfuscater. 

Something like this would be useful:

<uptodate property="obfuscate.done" targetdir="{build}/obfuscatedclasses">
    <srcfiles dir="${build}/classes" includes="**/*.class" />
    <mapper type="identity">
</uptodate>

This would also be nicely parallel to the the identity mapper in the copy task.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to