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 12999] - failonerror does not work on Copy task
Date Sun, 22 Dec 2002 01:16: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=12999>.
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=12999

failonerror does not work on Copy task





------- Additional Comments From cjohnson@betweenmarkets.com  2002-12-22 01:16 -------
Yes, this is a blocker for me. Add my strong request to the enhancement, then. 
Our build wants to copy docs over as well, and some docs may not have been 
created for a given build step--but the copy must not fail the build, it 
should just give error output and continue if failonerror="false". 
Code: 
    <mkdir dir="${{archivedir}}/doc/{./@name}"/>
    <copy todir="${{archivedir}}/doc/{./@name}" failonerror="no">
            <fileset dir="${{projectroot}}/{./@name}/docs/">
                    <include name="**/*"/>
            </fileset>
    </copy>
It is clear that failonerror applies only when copying a singleton file, but 
what we really all want is a failonerror=false when copying a fileset *:-)
--Chris

--
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