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 29922] - DTD generated by antstructure task does not include junit element
Date Tue, 06 Jul 2004 08:10:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29922>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29922

DTD generated by antstructure task does not include junit element





------- Additional Comments From peter.reilly@corvil.com  2004-07-06 08:10 -------
To generate the junit element - or any other optional task, you need to have
the necessary jars installed for the task - i.e. you need to be able to use
junit in your build script.

As regards the manifest task not having the correct attributes. This is due
to the fact that the manifest element is used in the "war" task as a nested
element. The code does the war task first (due to the order being defined by
a hash code and not alphanumeric), this contains a manifest element. When the
manifest task needs to be output, the antstructure task sees that a manifest
element has already been defined and it cannot output the definition of the
manifest task. This is (I think) due to the inability of the DTD language to
specify different definitions for the same element name. One would need to
use XML-SCHEMA or RELAX for this.

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


Mime
View raw message