Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 92935 invoked from network); 6 Oct 2003 06:31:12 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Oct 2003 06:31:12 -0000 Received: (qmail 83066 invoked by uid 500); 6 Oct 2003 06:30:47 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 83024 invoked by uid 500); 6 Oct 2003 06:30:46 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 83011 invoked from network); 6 Oct 2003 06:30:46 -0000 Received: from unknown (HELO central.purematrix.com) (66.180.124.162) by daedalus.apache.org with SMTP; 6 Oct 2003 06:30:46 -0000 Received: from purematrix.com (slip-12-65-144-47.mis.prserv.net [12.65.144.47]) by central.purematrix.com (Postfix) with SMTP id EBEC23E55; Mon, 6 Oct 2003 00:30:55 -0600 (MDT) Sender: jax@purematrix.com Message-ID: <3F8108C4.EF29CE61@purematrix.com> Date: Mon, 06 Oct 2003 00:16:36 -0600 From: "Jack J. Woehr" Reply-To: jax@purematrix.com Organization: SoftWoehr Team Mentoring X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: Ant Developers List Subject: Antidote diff Content-Type: multipart/mixed; boundary="------------D5F63AFFD4123FAB4FDD154E" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --------------D5F63AFFD4123FAB4FDD154E Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit This cleans up a little more how a comment gets output. It writeln()'s the comment outside the tag (elementLevel ==0) -- Jack J. Woehr # You measure democracy by the freedom it Senior Consultant # gives its dissidents, not the freedom Purematrix, Inc. # it gives its assimilated conformists. www.purematrix.com # - Abbie Hoffman --------------D5F63AFFD4123FAB4FDD154E Content-Type: text/plain; charset=us-ascii; name="antidote.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="antidote.diff" Index: org/apache/tools/ant/gui/xml/XMLWriter.java =================================================================== RCS file: /home/cvspublic/ant-antidote/src/java/org/apache/tools/ant/gui/xml/XMLWriter.java,v retrieving revision 1.5 diff -c -r1.5 XMLWriter.java *** org/apache/tools/ant/gui/xml/XMLWriter.java 5 Oct 2003 19:31:07 -0000 1.5 --- org/apache/tools/ant/gui/xml/XMLWriter.java 6 Oct 2003 06:26:46 -0000 *************** *** 720,725 **** --- 720,731 ---- write(""); + + // This next so that comments at elementLevel == 0 + // (outside the project element) get a newline after each. + if (elementLevel < 1) { + writeln(); + } } //////////////////////////////////////////////////////////////////// --------------D5F63AFFD4123FAB4FDD154E Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org --------------D5F63AFFD4123FAB4FDD154E--