Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How to generate "@since" tags in JDoc?
How to generate "@since" tags in JDoc? [message #1025321] Tue, 26 March 2013 10:30 Go to next message
Ingo Mohr is currently offline Ingo MohrFriend
Messages: 23
Registered: September 2011
Junior Member
Hey everyone,

I have an *.ecore file and I want to have the Java classes code being generated with a "@since" tag at a certain EAttribute - e.g. "@since 2.1".

For JDocs I use an EAnnotation "http://www.eclipse.org/emf/2002/GenModel" with key "documentation" which works very well - but only for the JDoc text. I of course can add, say, a new line and the @since tag to the "documentation" value, but in the generated class the @since tag is then located "in the middle of it all" - it just doesn't look as meant to be done this way.

I'd appreciate any hints on this.
Thanks in advance.

Ingo
Re: How to generate "@since" tags in JDoc? [message #1822987 is a reply to message #1025321] Tue, 17 March 2020 16:05 Go to previous messageGo to next message
vincent lorenzo is currently offline vincent lorenzoFriend
Messages: 171
Registered: June 2010
Location: Paris Saclay, France
Senior Member
I have the same question, but I don't have the answer...

/Vincent
Re: How to generate "@since" tags in JDoc? [message #1822992 is a reply to message #1822987] Tue, 17 March 2020 17:41 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31848
Registered: July 2009
Senior Member
You can look at all the @since tags in this model as an example:

https://git.eclipse.org/c/emf/org.eclipse.emf.git/tree/plugins/org.eclipse.emf.codegen.ecore/model/GenModel.ecore


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Move the NameSpace declaration to Inner element
Next Topic:Parsing an element containing an XSD
Goto Forum:
  


Current Time: Fri Apr 23 09:29:15 GMT 2021

Powered by FUDForum. Page generated in 0.01848 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top