Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [ Teneo ] Comments as annotations?
[ Teneo ] Comments as annotations? [message #608727] Thu, 12 July 2007 15:14
Eclipse UserFriend
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
Previous Topic:[Teneo] another problems: my datas are modified by Teneo
Next Topic:Teneo Release Update (0.8.0) - please read for backward compatibility
Goto Forum:
  


Current Time: Fri Jul 04 04:55:24 EDT 2025

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

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

Back to the top