Problem submitted to Javadoc Forum
If I understand right the documentation, there is a major change
in the behaviour of the -tag option between 1.4.1 and 1.4.2:
New feature: The -tag option now allows dash (-) separator for xdoclet
tags like @ejb:bean (4750173, stddoclet)
I had a minus (-) in the text which should replace the custom tag
(a range of years like 1983-2003).
I called javadoc like this:
jdk142/bin/javadoc.exe -tag my.tag:t:A-B" class1.java
But I get now the following messages:
class1.java:2: warning - @my.tag is an unknown tag.
Note: Custom tags that were not seen: @my.tag:t:A
What is the best way to pass a '-'?
It should also work with ant because I use it to generate my documentation.