k3 icon indicating copy to clipboard operation
k3 copied to clipboard

AspectGenerator must take into account EMF legacy code that uses basePackage information

Open dvojtise opened this issue 11 years ago • 1 comments

When generating aspect on top of an ecore, if this ecore comes from thirdparties, it may have been slightly customized. One of the usual customization is to set a basePackage information (in order to have package based on company name).

Thus, if we want ot connect the aspects on top of this code, we need to take this information into account.

  • solution one (best) use genmodel file as first input instead the ecore file. From there (a genmodel is a model) one can grap the ecore model and the required information for correct code generation.
  • solution 2 (quick and dirty workaround) ask the user if its genmodel uses a basePackage

dvojtise avatar Oct 02 '13 15:10 dvojtise