ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17142] New: - Enhance <javadoc> nested <tag> capability to use an external file definiing custom tags
Date Mon, 17 Feb 2003 20:33:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17142>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17142

Enhance <javadoc> nested <tag> capability to use an external file definiing custom
tags

           Summary: Enhance <javadoc> nested <tag> capability to use an
                    external file definiing custom tags
           Product: Ant
           Version: 1.5.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: jakarta@ehatchersolutions.com


Cut and paste from an XDoclet e-mail list message:

Date: Mon Feb 17, 2003  2:50:20  PM US/Eastern
To: <xdoclet-user@lists.sourceforge.net>
Subject: RE: [Xdoclet-user] XDoclet and JDK 1.4 Javadoc

In XDoclet 2 we can generate a list of javadoc tags that can be fed to
Ant/Javadoc. When an XDoclet 2 plugin is built, it could generate a file
with the following content: (distributed along with the plugin jar in a file
called e.g ejb.tags)

-----------------%<------------------
ejb.bean:X ejb.ejb-ref:X ejb.jndi-name:X ......
-----------------%<------------------

Then Ant's javadoc task could accept the following alternative syntax:

<javadoc>
  <tag dir="${basedir}/tags">
    <include name="*.tags"/>
  </tag>
</javadoc>

<javadoc> would then parse all files and build the proper command line for
javadoc. This would be awesome for XDoclet users, and a lot better than
(every user) having to write a loooong list of many <tag> elements. Would it
be possible to throw this addition into <javadoc> ?

Mime
View raw message