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 15596] New: - Identity mapper in uptodate task.
Date Sat, 21 Dec 2002 00:19:24 GMT
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: ant-dev@jakarta.apache.org
        ReportedBy: gregcharles@bigfoot.com


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


Mime
View raw message