Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 73153 invoked from network); 12 Aug 2005 13:31:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Aug 2005 13:31:14 -0000 Received: (qmail 38472 invoked by uid 500); 12 Aug 2005 13:31:12 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 38427 invoked by uid 500); 12 Aug 2005 13:31:11 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 38414 invoked by uid 99); 12 Aug 2005 13:31:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2005 06:31:11 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ddevienne@gmail.com designates 64.233.170.197 as permitted sender) Received: from [64.233.170.197] (HELO rproxy.gmail.com) (64.233.170.197) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2005 06:31:32 -0700 Received: by rproxy.gmail.com with SMTP id j1so459692rnf for ; Fri, 12 Aug 2005 06:31:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole:in-reply-to:importance; b=sT3LR72HzZT0gw4eZZRdVLNkeumr3rnjOjhsNjRMAkQgAjTDhg0WUdGKtd9zdXyYFIsxLTpfDa8pfAe/IHLlvLBdAB6n7wNCyvw1MTw+uV5efzRfWsft4T8P5i9tnCgBKjETVnBt4xrag18u8qgpmFSTftzQaby2GOqLdVKqKMM= Received: by 10.38.181.31 with SMTP id d31mr824250rnf; Fri, 12 Aug 2005 06:31:09 -0700 (PDT) Received: from DDEVIENNE2 ([134.132.77.133]) by mx.gmail.com with ESMTP id m36sm3262183rnd.2005.08.12.06.31.09; Fri, 12 Aug 2005 06:31:09 -0700 (PDT) From: "Dominique Devienne" To: "'Ant Developers List'" Subject: RE: AW: Manual + xdocs etc Date: Fri, 12 Aug 2005 08:31:08 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 In-Reply-To: <42FC2B87.2040403@it.fts-vn.com> Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > I think it would be possible to include the examples in the Ant source > too - this would make it even more clear what the code is trying to > accomplish and would hep to prevent refactorings etc that go against the > intended use of the code. > > My thought would be to include at the top of the class, an @ant.category > to get us started, then for example something like > > @ant.usage.begin > lots of correctly formatted xhtml..... > @ant.usage.end > > @ant.build.begin > lots of correctly formatted ant xml > @ant.build.end > > Thoughts? -1. I hate all the < > entities used in example. I think I've already demonstrated in Ant's SVN repo that examples can be written as XML in the 'future' XML doco, where it's a natural fit, as opposed to being shoe-horned into the .java files. There's lots of value to describe individual attributes or elements directly from the corresponding method Javadocs, but this should later be merged with the manually maintained XML doco file for the task/type, containing the examples. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org