Return-Path: Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Delivered-To: mailing list dev@ant.apache.org Received: (qmail 68509 invoked from network); 25 Apr 2003 14:29:42 -0000 Received: from h001.c000.snv.cp.net (HELO c000.snv.cp.net) (209.228.32.65) by daedalus.apache.org with SMTP; 25 Apr 2003 14:29:42 -0000 Received: (cpmta 20766 invoked from network); 25 Apr 2003 07:29:40 -0700 Received: from 128.143.103.233 (HELO ehatchersolutions.com) by smtp.hatcher.net (209.228.32.65) with SMTP; 25 Apr 2003 07:29:40 -0700 X-Sent: 25 Apr 2003 14:29:40 GMT Date: Fri, 25 Apr 2003 10:29:41 -0400 Subject: Re: cvs commit: ant/proposal/xdocs/dvsl task.dvsl Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Erik Hatcher To: "Ant Developers List" Content-Transfer-Encoding: 7bit In-Reply-To: <20030425140911.47944.qmail@icarus.apache.org> Message-Id: <59F30E24-772A-11D7-9C4D-000393A564E6@ehatchersolutions.com> X-Mailer: Apple Mail (2.552) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Got patches to the stuff you'd like me to commit on the XDoclet codebase? Nice work (having not run it yet myself, just browsing the commit messages)! Erik On Friday, April 25, 2003, at 10:09 AM, jesse@apache.org wrote: > jesse 2003/04/25 07:09:11 > > Modified: proposal/xdocs/lib xdoclet-apache-module-1.2b3-dev.jar > proposal/xdocs/dvsl task.dvsl > Log: > Generate attribute requirements > > Revision Changes Path > 1.2 +103 -92 > ant/proposal/xdocs/lib/xdoclet-apache-module-1.2b3-dev.jar > > <> > > > 1.5 +40 -7 ant/proposal/xdocs/dvsl/task.dvsl > > Index: task.dvsl > =================================================================== > RCS file: /home/cvs/ant/proposal/xdocs/dvsl/task.dvsl,v > retrieving revision 1.4 > retrieving revision 1.5 > diff -u -r1.4 -r1.5 > --- task.dvsl 14 Feb 2003 20:37:23 -0000 1.4 > +++ task.dvsl 25 Apr 2003 14:09:11 -0000 1.5 > @@ -54,7 +54,7 @@ > #set( $project = > $node.selectSingleNode("document('xdocs/stylesheets/project.xml')/ > project" ) ) > #if ($node.name().equals("task")) > #set( $title = "#capitalize($attrib.name) Task" ) > - #set( $summary = $node.short-description ) > + #set( $summary = $node.short-description ) > #end > > > @@ -105,7 +105,7 @@ > > #* *#$context.applyTemplates("long-description") > #* *##end > -#* *#$context.applyTemplates("structure/attributes") > +#* *#$context.applyTemplates("structure/attribute-groups") > #* *#$context.applyTemplates("structure/elements") > #* *#$context.applyTemplates("external/section") > #* *##end > @@ -154,6 +154,16 @@ > #end > > #* > + Macro to format a table body cell that spans multiple rows > +*# > +#macro( tdmr $text $rows ) > + rowspan="$rows"> > + face="arial,helvetica,sanserif">$text > + > +#end > + > + > +#* > Macro to format a section banner > *# > #macro( section $anchor $name ) > @@ -215,19 +225,18 @@ > #* > Process top level attributes > *# > -#match( "structure/attributes" ) > +#match( "structure/attribute-groups" ) > > > > - > -#* *##section("attributes" "Parameters") > - > +#* *##section("attributes" "Parameters") > > #* *##td($attrib.name) > #* *##td($node.description) > #* *##td($attrib.briefType) > +#if ($inGroup) > +#* *##tdmr($attributeGroup $numGroups) > +#set ($inGroup = false) > +#end > > #end > > @@ -383,6 +407,15 @@ > $context.applyTemplates("*") > >
 
> > > #* *##th("Attribute") > #* *##th("Description") > #* *##th("Type") > +#* *##th("Requirement") > > #* *#$context.applyTemplates("*") >
> @@ -238,14 +247,29 @@ > #end > > #* > + Process attribute group > +*# > +#match( "structure/attribute-groups/attribute-group" ) > + > + #set ($attributeGroup = $attrib.description) > + #set ($numGroups = $node.selectNodes("attribute").size()) > + #set ($inGroup = true) > +#* *#$context.applyTemplates("*") > +#end > + > +#* > Process a single attribute > *# > -#match( "attribute" ) > +#match( "structure/attribute-groups/attribute-group/attribute" ) > >
> +#end > + > +#* > + * process a the requirement groups > + *# > +#match( "requirement-group" ) > + #if ($regGroup == $attrib.name) > +#* *#$attrib.description > + #end > #end > > #match( "source" ) > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org > >