ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: [cvschangelog] Bug with cvsnt ?
Date Mon, 15 Apr 2002 10:45:28 GMT
On Sun, 14 Apr 2002 05:22, Vincent Massol wrote:
> I'm trying the new cvschangelog task and it hangs for me (BTW, the
> Cactus changelog task also hangs in the same manner).
>
> I'm running Windows and I am using cvsnt (1.11.1.3, Build 57a). When I
> debug the task it simply hangs because it seems cvsnt does not return an
> EOF character; the last characters are simply 13 and 10, and read() or
> readLine() simply hangs as there is no more character on the stream.

damn. Not sure why that happens - seems like a bug to me ;/

> Do you have any idea to solve this issue ? The only one I see (which I
> very much dislike) is to use a timeout/watchdog but there must be a
> simpler and better way...

You mean have a timeout in the "StreamPumper#waitFor()" method - say for 1 
second or so? Thats the only thing I can think of aswell. I dunno anyone else 
got any better ideas?

-- 
Cheers,

Peter Donald


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