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 #507349] Tue, 12 January 2010 22:48 Go to next message
Rafael Chaves is currently offline Rafael Chaves
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 #507351 is a reply to message #507349] Tue, 12 January 2010 23:16 Go to previous message
Rafael Chaves is currently offline Rafael Chaves
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:There may not be two classifiers names 'xyz'
Next Topic:generating metamodel extensions based on CacheAdapter
Goto Forum:
  


Current Time: Mon Jul 28 08:41:30 EDT 2014

Powered by FUDForum. Page generated in 0.08806 seconds