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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to