Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » generating metamodel extensions based on CacheAdapter
generating metamodel extensions based on CacheAdapter [message #628187] Wed, 13 January 2010 03:48 Go to next message
Rafael Chaves is currently offline Rafael ChavesFriend
Messages: 161
Registered: July 2009
Senior Member
I tried setting the 'Cache Adapter Support' property in the genmodel for a metamodel extension library, to no avail, the code generated does not use CacheAdapter at all.

Are there other requirements for code generation to include cache adapter support?

Thanks,

Rafael
Re: generating metamodel extensions based on CacheAdapter [message #628188 is a reply to message #628187] Wed, 13 January 2010 04:16 Go to previous message
Rafael Chaves is currently offline Rafael ChavesFriend
Messages: 161
Registered: July 2009
Senior Member
Ok, so in addition to enabling cache adapter support, each element has to have a cache scope != "none". I noticed the UML.genmodel has an attribute cacheAdapterScope="Resource" in its elements, just don't know how to expose that in the genmodel editor.
Previous Topic:generating metamodel extensions based on CacheAdapter
Next Topic:[Fixed]Problem when i Unload a UML resource and reload it
Goto Forum:
  


Current Time: Sun Nov 23 12:37:14 GMT 2014

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

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