If you use Java 1.4 it is fairly simple to get rid of the warning messages for tags you (or the tools you use) have created yourself. It is to use a nested tag element in the javadoc task that specifies how to handle the new tag. There are two ways to do this, depending on if you want the tag to appear in the JavaDoc output or not. They are: or The second version does not output the tag into JavaDoc, but JavaDoc will not give you any warnings about unknown tags. If you use Java 1.3 or earlier you can achieve the same result by creating a custom doclet, which can change the way JavaDoc behaves. Documentation for this can be found at http://java.sun.com/j2se/1.3/docs/tooldocs/javadoc/overview.html. This involves modifying the original JavaDoc code, and referring to the new doclet in your JavaDoc ant task. Creating a custom doclet works with Java 1.4 as well, but it is more complicated. With a custom doclet you have the option of removing all warning messages that you want, but that would also (probably) lead to JavaDoc with problems. /Daniel Grenner -----Original Message----- From: Aaron Kelley [mailto:akelley@ecsplus.com] Sent: den 5 september 2003 04:47 To: user@ant.apache.org Subject: FW: Filter Warnings on JavaDoc Task I sent this message a few days ago and have not received a response. I just want to filter javadoc warning/error messages from ant. Is this possible? Aaron -----Original Message----- From: Aaron Kelley [mailto:akelley@ecsplus.com] Sent: Tuesday, September 02, 2003 11:05 PM To: user@ant.apache.org Subject: Filter Warnings on JavaDoc Task Is there a way to filter warning messages on the javadoc task? I am using the javadoc task in a massive build that reports the results by email and the email are over 500k with the warnings. I would like to filter warning messages before they reach the console if possible. Specifically, the warning I am getting the most on is: "warning - @created is an unknown tag". Thanks. Aaron Kelley | Software Developer Tyler Technologies | Eagle Division Phone: 303.683.3979 Email: akelley@ecsplus.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org