Community
Participate
Working Groups
Build ID: I20080516-1333 Steps To Reproduce: I just became aware of that it seems xdoclet tags are being 'cleaned up' in the latest builds of Eclipse. Specifically I may java a JavaDoc comment that looks like this: /** * @ejb:interface-method */ After formatting it I am left with /** * ejb:interface-method */ I may be blind. But I see no way of switching that off in the formatting settings. And it is something that has started happening lately. More information: The first build I noticed it in was the M7 JEE package today. Then I updated to RC1 SDK package and installed WTP, and all the requirements, and it seems to also do it there. My project is a standard Java project.
This is an obvious regression comparing to 3.3.2 => targeting RC2
Created attachment 101508 [details] Proposed patch The JavadocParser sets the tag source start at the beginning of the tag name. The FormatterCommentParser, which inherits from it, needs to change this source start position to include the '@' in the tag name (as it was already done for the DocCommentParser while building the DOM/AST nodes). So, the fix is really trivial as this is the position of '@' character which is given as parameter of the parseTag(int) method...
David, Eric, could you please review?
Patch looks good: +1
Released for 3.4RC2 in HEAD stream.
verified for 3.4RC2 using build I20080523-0100