ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Burton" <>
Subject Re: XDocs Proposal [PATCH] category support added
Date Thu, 28 Feb 2002 02:00:42 GMT
Hello Erik,

I implemented support for @ant:task category="...".  Attached is a patch.

0. If a category attribute isn't specified, "other" is used.

1. The lower cased version of the category is now used as the output
directory.  Previously, this was based on the class package converted to a
directory tree.

2. The generated XML now contains a category attribute, i.e.:
   <task name="ant" category="control"


Bill Burton wrote:
> Hello Erik,
> Erik Hatcher wrote:
> > I did not inject the
> > @ant:task category="..." into the XML yet, but that is the goal so that we
> > can segregate these things in our manual by type of functionality similar to
> > Diane's work.
> When you implement support for categories, I suggest making
> AntSubTask.getGeneratedFileName return the destination directory based on
> the @ant:category tag rather than the package directory.  This way, the
> generated XML will be in the same relative directory structure we'll want
> for the transformed HTML.  Otherwise, it will be rather messy trying to do
> this as part of the XML to HTML transformation.
> -Bill
> P.S. Where's Diane's work?
View raw message