How to make enhance process quickly when we start it?

Recently, our project expand from one project jmix to multi jmix module project,and when we start project the process of enhance class seems cost too much time.

Our project has a basic jmix module project ,other project all depends on it and the outside has a project to choose which module to use in different customer env.

So we decide to make each module as a single code repository(by using gitignore to prevent code conflict).

When we add some new code to one project ,the build process for this module must be restart and make development a little slow.

Could someone tell us how to speedly start project and reduce enhance time?

If a module contains entities, any changes in this module trigger re-enhancing the entities.

At the moment, the only way to speed up the build is to split the project to multiple add-ons and use the Composite Projects feature to work on them together. This way the changes in a subproject will trigger enhancing and building only in that subproject.

We’ll think what we can do in the future: Skip enhancing of entities if entities weren't changed · Issue #2245 · jmix-framework/jmix · GitHub

1 Like

Thanks for your response.

Seems like we must split out module more specifically.Hope this situation can be speed up in future as soon as possible.

:slightly_smiling_face: