Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4920381

REGRESSION: Tag name containing dash not allowed

XMLWordPrintable

    • b30
    • generic, x86
    • generic, windows_2000, windows_xp

      Problem submitted to Javadoc Forum
      http://forum.java.sun.com/thread.jsp?forum=41&thread=432943&tstart=0&trange=50

      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.


            jhosunw Jamie Ho (Inactive)
            dkramersunw Douglas Kramer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: