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 21989] - Uptodate task optimization
Date Wed, 30 Jul 2003 14:28:04 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=21989>.
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=21989

Uptodate task optimization





------- Additional Comments From peter.reilly@corvil.com  2003-07-30 14:28 -------
It may be difficult to achieve this as Uptodate uses
common code for getting the list of files that
are out-of-date. The code is shared with copy, which
needs this behaviour.

Alternatively you may use <outofdate/> from the
antcontrib project.
With ant 1.6, outofdate may be used as a condition:

    <condition property="a" value="true">
        <and>
            <available type="file" file="${basedir}/compare"/>
            <not>
                <outofdate verbose="yes">
                    <sourcefiles>
                        <fileset dir="files"/>
                    </sourcefiles>
                    <mapper dir="files" type="merge"
                            to="${basedir}/compare"/>
                </outofdate>
            </not>
        </and>
    </condition>

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


Mime
View raw message