Today i have changed application version moving from 0.1 SNAPSHOT to 0.1.1 SNAPSHOT
After this when i run application from Studio the application RUN with the latest version of the Class files before the version change
If i try to change a Java file or a Screen, Hotdeploy compile the file and i am able to see the modification
So the question is…why after changing app version i am not able to run application with the changes?
I have found the Issue. When i use versione number with 3 numbers (example 0.1.1) the issue is present
If is use for example version number with 2 digits (example 0.2) works fine
albudarov
(Alexander Budarov)
July 22, 2022, 7:42am
#3
Probably you just have to rebuild the project (CUBA menu → Build Tasks → Clean, and build again).
Because changing application version leads to changing application JAR names.
I have already tried it…but with 3 digits so (minor version release) nothing happens with two digits (major release yes)
albudarov
(Alexander Budarov)
July 22, 2022, 8:13am
#5
Also CUBA menu → Build Tasks → Undeploy
this task should help