DO NOT REPLY [Bug 18956] - p4change task causes build to hang

2004-06-15 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=18956

p4change task causes build to hang

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]



--- Additional Comments From [EMAIL PROTECTED]  2004-06-15 12:05 ---
*** Bug 29568 has been marked as a duplicate of this bug. ***

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 18956] - p4change task causes build to hang

2003-10-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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-10-13 17:48 ---
Hi

I had the same problem after upgrading from Ant 1.4.1 to 1.5.4.
After studing CVS change log it appears that the bug was introduced in 1.5.2,
downgrading to 1.5.1 resolves the problem.

I just tried the latest 1.6beta1 and I don't experience the problem.

I see that there were several solutions proposed and I would like to confirm
that 1.6beta1 works for me.

Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 18956] - p4change task causes build to hang

2003-07-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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-07-12 04:46 ---
I tested the latest nightly build (2003-07-11) and I have not been able to 
replicate the bug.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 18956] - p4change task causes build to hang

2003-07-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]



--- Additional Comments From [EMAIL PROTECTED]  2003-07-12 03:46 ---
*** Bug 21531 has been marked as a duplicate of this bug. ***

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 18956] - p4change task causes build to hang

2003-06-06 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2003-06-06 21:26 ---
I have checked in new code in CVS, which will be in the next nightly build.
The P4HandlerAdapter now delegates to PumpStreamHandler, a class used for the 
Exec task.
It has been tested by Adam Ambrose on linux.
I mark the bug resolved again, hopefully for good this time.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 18956] - p4change task causes build to hang

2003-06-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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-06-05 22:35 ---
Created an attachment (id=6657)
bring P4HandlerAdapter.java back to revision 1.7

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 18956] - p4change task causes build to hang

2003-06-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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-06-05 22:21 ---
OK - I do not have access to a Linux machine.
I have tried the nightly build on Solaris, there it is working.
Let's try to revert experimentally to revision 1.7 of 
src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4HandlerAdapter.java 
(before the threaded readers were introduced to read stdout and stderr) and see 
if it helps.
I am going to attach the corresponding patch file to the bug report.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 18956] - p4change task causes build to hang

2003-04-15 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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

[EMAIL PROTECTED] changed:

   What|Removed |Added

 AssignedTo|[EMAIL PROTECTED]  |[EMAIL PROTECTED]
   Priority|Other   |High
   Target Milestone|--- |1.6



--- Additional Comments From [EMAIL PROTECTED]  2003-04-15 19:12 ---
I am going to apply the patch contained in this page to the head CVS revision, 
which should fix the problem in the next nightly build.


DO NOT REPLY [Bug 18956] - p4change task causes build to hang

2003-04-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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-14 11:30 ---
Mark Brouwer wrote me on April 14th 2003, 10:04 am
Hi Antoine,

I integrated the code and it seems to work now, I only tried it 3 times all with
success, for I don't want to flood our system with dozens of builds, but I will
track it the next few days if everything is OK now.

Thanks,
-- 
Mark Brouwer


DO NOT REPLY [Bug 18956] - p4change task causes build to hang

2003-04-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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-14 11:29 ---
Created an attachment (id=5822)
fixes the bug


DO NOT REPLY [Bug 18956] - p4change task causes build to hang

2003-04-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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.