Return-Path: Delivered-To: apmail-cocoon-cvs-archive@www.apache.org Received: (qmail 21882 invoked from network); 24 Aug 2005 08:37:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Aug 2005 08:37:51 -0000 Received: (qmail 92974 invoked by uid 500); 24 Aug 2005 08:37:49 -0000 Delivered-To: apmail-cocoon-cvs-archive@cocoon.apache.org Received: (qmail 92905 invoked by uid 500); 24 Aug 2005 08:37:49 -0000 Mailing-List: contact cvs-help@cocoon.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@cocoon.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@cocoon.apache.org Received: (qmail 92892 invoked by uid 99); 24 Aug 2005 08:37:49 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 24 Aug 2005 01:37:49 -0700 Received: (qmail 21636 invoked by uid 65534); 24 Aug 2005 08:37:49 -0000 Message-ID: <20050824083749.21600.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r239572 - in /cocoon/blocks/profiler/trunk/java/org/apache/cocoon/profiler/debugging: Debugger.java RemoteDebuggingSitemapExecutor.java Date: Wed, 24 Aug 2005 08:37:47 -0000 To: cvs@cocoon.apache.org From: cziegeler@apache.org X-Mailer: svnmailer-1.0.3 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cziegeler Date: Wed Aug 24 01:37:42 2005 New Revision: 239572 URL: http://svn.apache.org/viewcvs?rev=239572&view=rev Log: Add sitemap element Modified: cocoon/blocks/profiler/trunk/java/org/apache/cocoon/profiler/debugging/Debugger.java cocoon/blocks/profiler/trunk/java/org/apache/cocoon/profiler/debugging/RemoteDebuggingSitemapExecutor.java Modified: cocoon/blocks/profiler/trunk/java/org/apache/cocoon/profiler/debugging/Debugger.java URL: http://svn.apache.org/viewcvs/cocoon/blocks/profiler/trunk/java/org/apache/cocoon/profiler/debugging/Debugger.java?rev=239572&r1=239571&r2=239572&view=diff ============================================================================== --- cocoon/blocks/profiler/trunk/java/org/apache/cocoon/profiler/debugging/Debugger.java (original) +++ cocoon/blocks/profiler/trunk/java/org/apache/cocoon/profiler/debugging/Debugger.java Wed Aug 24 01:37:42 2005 @@ -233,13 +233,19 @@ this.finished = true; try { this.writer.close(); - } catch (Exception ignore) {} + } catch (Exception ignore) { + // ignore the exception + } try { this.reader.close(); - } catch (Exception ignore) {} + } catch (Exception ignore) { + // ignore the exception + } try { this.socket.close(); - } catch (Exception ignore) {} + } catch (Exception ignore) { + // ignore the exception + } this.socket = null; this.reader = null; this.writer = null; @@ -374,6 +380,7 @@ try { java.lang.Thread.sleep(1000); } catch (InterruptedException e) { + // ignore the exception } } return reader.ready(); Modified: cocoon/blocks/profiler/trunk/java/org/apache/cocoon/profiler/debugging/RemoteDebuggingSitemapExecutor.java URL: http://svn.apache.org/viewcvs/cocoon/blocks/profiler/trunk/java/org/apache/cocoon/profiler/debugging/RemoteDebuggingSitemapExecutor.java?rev=239572&r1=239571&r2=239572&view=diff ============================================================================== --- cocoon/blocks/profiler/trunk/java/org/apache/cocoon/profiler/debugging/RemoteDebuggingSitemapExecutor.java (original) +++ cocoon/blocks/profiler/trunk/java/org/apache/cocoon/profiler/debugging/RemoteDebuggingSitemapExecutor.java Wed Aug 24 01:37:42 2005 @@ -232,9 +232,6 @@ debugger = null; } } - if (debugger != null) { - - } } } if (debugger != null) { @@ -259,7 +256,11 @@ } inputStream.close(); baos.close(); - debugger.send(new String(baos.toString("utf-8"))); + StringBuffer buf = new StringBuffer("\n"); + buf.append(new String(baos.toString("utf-8"))); + buf.append("\n\n"); + debugger.send(buffer.toString()); } catch (Exception ignore ) { // we ignore this for now } finally {