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=18956>.
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=18956

p4change task causes build to hang





------- Additional Comments From [EMAIL PROTECTED]  2003-04-11 17:17 -------
see this bug report http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18129 - 
is 
see also this one http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18154
the synchronized keyword in P4HandlerAdapter is there to prevent two different 
threads (the one reading stdout and the one reading stderr) from calling 
process 
at the same time. I hope that this is fine, otherwise, feel free to propose a 
better way of doing it.
Another point : in principle the Perforce tasks are delegating through P4Base 
to 
the Execute class (org.apache.tools.ant.taskdefs.Execute). Execute#execute()
is then called. This line         waitFor(process); is I suspect the blocking 
call.

Reply via email to