Hot deploy addons

Jmix 2.3.1

hi I recently migrated to jmix 2 and I encounter problems with the hot deploy feature. My project is composed of an app, an addon and a composite.

  1. The descriptor of a view is hot-deployed correctly if it’s in the app but not if it’s in the addon.

  2. The controllers are never hot deployed (not from the app, not from the addon). I tried forcing the rebuild of the class but it did not succeeded.

All my classes are written in kotlin.

In Jmix 1.5, descriptors used to reload correctly but controllers never did. I hoped updating jmix could fix the issue.
Hot deploy is a very helpful feature. If I could make it work I could save a lot of time. :grinning:

Best regards

Hi

Could you please attach IDEA logs?
Sample project where the issue can be reproduced would also be very helpful.

Thank you

  1. The descriptors now works. I didn’t put the right version number on the gradle dependency (addon).
  2. The controllers still do not work
    I will dig into this problem when I have time.