[ Teneo ] Comments as annotations? [message #608727] |
Thu, 12 July 2007 19:14 |
Jason Henriksen Messages: 231 Registered: July 2009 |
Senior Member |
|
|
Hi all,
So I've got my local build to put comments into the hbm file based on the
<documentation> tags in the xsd/ecore. That's all working nicely and for my
needs that's enough.
However, in the default case you don't generate your hbm from ecore
directly, you just let teneo generate hbm from the class files that are
present. I haven't found a way to access the documentation in that
scenario. The data is present in a <!-- begin-model-doc --> section of the
comment holding the model documentation, but I don't think I there's any way
to access that at runtime.
It seems like <!-- begin-model-doc --> would be more useful as some kind of
@model-doc annotation, though I can imagine that there would be all kinds of
hassels for someone making that work.
Am I off-base? Is there some way to access the model documentation at
runtime when I the user doesn't have ecore handy? If not, then I'm going to
call this done and package it up for submission. There will probably have
to be some documentation saying that you must generate from ecore in order
to get the comments.
Thanks,
Jason Henriksen
|
|
|
Powered by
FUDForum. Page generated in 0.02757 seconds