开发者

Modify Genmodel from source

Is there a开发者_C百科 way to modify a genmodel (which was created using an EMF ANT Task)programatically? I do not want to touch it anymore by myself after creation.


What do you mean by modifying it programmatically? If you mean accomodate it with the new elements of the source models, you can use the ecore2genmodel application (not available in Ant); or re-run your existing ant task with the reconcileGenModel="reload" parameter.

If you mean setting the genmodel attributes (e.g. class name conventions, EMF feature generation settings), I recommend setting them manually. There is no harm that way, it is intended to be customized by hand.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜