No problem Nathan,



Quote:
if the requiresMapping attibute of the HibernateEntity instance = true and 
version attribute = 2 then execute the template for the current Entity.
(end of quote)




correct




Quote:
I generally define my templates using <modelElement stereotype="......... can 
the property element be used in conjuction with stereotyped model elements?
(end of quote)




Do you use metafacades?  If so you should use the type element (that way you 
only need to reference your stereotype in your andromda-metafacades.xml).  If 
you want to stay with mapping by stereotype in the andromda-cartridge.xml you 
can put a condition check around your template contents (within your template), 
for example (assuming this is in your template file):



#if (something is true)

...

template contents

...

#end



And if the outputEmptyFiles flag (in the andromda-cartridge.xml) is set to 
false (which it is by default), the file won't be output since it'll be empty.
--
Chad Brandon - [EMAIL PROTECTED]

http://www.andromda.org
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1047#1047
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to