最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

code generation - How to generate one folder per model under the same source root with Telosys? - Stack Overflow

programmeradmin0浏览0评论

I'm trying to migrate a homegrown template engine to Telosys, but an important feature that I miss in Telosys is the ability to anize entity classes in subpackages under the same project (main target language is java). Is it possible? I think it would be just to put something like ${model.name} in the third column of templates.cfg, but it doesn't work.

I'm trying to migrate a homegrown template engine to Telosys, but an important feature that I miss in Telosys is the ability to anize entity classes in subpackages under the same project (main target language is java). Is it possible? I think it would be just to put something like ${model.name} in the third column of templates.cfg, but it doesn't work.

Share Improve this question asked Feb 4 at 9:23 jglatrejglatre 9531 gold badge12 silver badges17 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

It's possible since Telosys ver 4.2.0 (see https://news.telosys./version-4.2.0 )
You can use the variable ${MOD} for current model name
You can also use “_UC” or “_LC” suffix for upper/lower case

发布评论

评论列表(0)

  1. 暂无评论