WORK AROUND
The only workaround that I know of is to write your own taglet instead
of using the -tag option. Here is what I would use:
import com.sun.tools.doclets.standard.tags.SimpleTaglet;
public class Foo extends SimpleTaglet {
public Foo() {
super("my-tag", "My Tag:", "a");
}
}
Then, when you run Javadoc, use:
-taglet <qualified name of your taglet> -tagletpath <path to your taglet>
I don't have time to test this code, but I believe it will work.
-Jamie
|
PUBLIC COMMENTS
Fixed. From now on, if you want to include a ":" in your taglet name, you cannot do so by using "-" as an alternate separator. You must escape with "\". Therefore, "-" can now be used in a taglet name.
###@###.### 2003-11-15
###@###.### wrote:
In other words:
> We no longer support dashes as seperators for the tag option. The colon
> is ALWAYS the seperator. If the user wants a colon in their tag name,
> they have to escape it using the back slash.
> For example:
>
> -tag ejb\:bean:Beah:a
>
> The above tag would work for this doc comment:
>
> /**
> * Comment
> *
> * @ejb:bean
> */
>
> It was a bad idea to use an alternate seperator. That just introduces a
> different bug. I think escaping is the right fix.
>
> ###@###.###
|