|
Re: Code Formatter issues with xdoclet [message #265023 is a reply to message #264762] |
Mon, 02 August 2004 09:46 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: chabert.fimasys.fr
Hi David,
I guess turning off formatting for javadoc comment is the only
workaround. You can also use find/replace to rebuild correctly your tags.
Check this bug for more info:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=68577
Sylvain
David J. Hamilton wrote:
> When using Eclipse 3.0 I find that the code formatter reformats
> xdoclet attributes. Specifically it does not identify them as
> javadocs and so formats them as if they were part of a sentence,
> putting many on one line.
>
> This causes xdoclet to incorrectly parse some xdoclet attributes,
> specifically with regard to entity beans. For example:
>
> /**
> * @ejb.pk-field
> * @ejb.persistent-field
> * @ejb.interface-method
> */
>
> public abstract Integer getSomeId();
>
> becomes reformatted to:
>
> /**
> * @ejb.pk-field @ejb.persistent-field @ejb.interface-method
> */
> public abstract Integer getSomeId();
>
> which causes xdoclet to generate faulty value-objects.
>
> Does anybody know of a way to configure the code formatter OTHER THAN
> turning off formatting for coments that would prevent this from
> happening?
>
> thanks in advance
> -djh
|
|
|
|
Powered by
FUDForum. Page generated in 0.03389 seconds