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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to