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 9508] New: - antstructure task writes incomplete DTD
Date Wed, 29 May 2002 20:48:59 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=9508>.
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=9508

antstructure task writes incomplete DTD

           Summary: antstructure task writes incomplete DTD
           Product: Ant
           Version: 1.5Beta1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: gturner@unzane.com


The antstructure task of Ant 1.5Beta1 misses a few elements that Ant 1.4.1 is
able to introspect/generate.  

Specifically I'm using third-party tasks from XDoclet 1.1.2 and have executed
the following target on both 1.5Beta1 and 1.4.1:

  <target name="init">
    <taskdef name="webdoclet" classname="xdoclet.web.WebDocletTask"/>
    <taskdef name="ejbdoclet" classname="xdoclet.ejb.EjbDocletTask"/>
    <antstructure output="lib/dtd/ant/project.dtd"/>
  </target>

I have immediately noticed that Ant 1.5Beta1 fails to write out all nested
elements of the "deploymentdescriptor" nested task of the "webdoclet" task such
as "welcomefile", "taglib", and "contextparam", whereas 1.4.1 can do this just
fine.  I'm sure that there are many other missing elements, I'll do the research
if this information isn't enough.  It's interesting to note that 1.5Beta1 *does*
write some of the nested elements of "deploymentdescriptor", specifically
"packagesubstitutions" and "configparam" which happen to be members of the
"deploymentdescriptor" superclasses.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message