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 17154] - concat task: if destination file is used as source infinite looping occurs
Date Tue, 18 Feb 2003 13:26:44 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=17154>.
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=17154

concat task: if destination file is used as source infinite looping occurs

conor@cortexebusiness.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.5.2



------- Additional Comments From conor@cortexebusiness.com.au  2003-02-18 13:26 -------
I've turned this into a build exception. If you attempt to concat a file with
itself, the build will fail. 

There is no iteration involved here as such. The code is reading and writing the
same file, so the end of file is never reached. Therefore we cannot "stop after
one loop iteration".

Thanks

Mime
View raw message