because I am using hsqldb database as file. So I can not deployment this project. Can I package my project as .zip file to transfer to my other computer to run
Or can you guide me to deploy my project, this project of mine is just a demo for my graduation thesis about learning jmix framework
Thanks for your help
Hi
You can rur gradle task zipproject
.
The archive will fit along with the hsqldb database, but it will not contain artifacts. They are when opening a project in Jmix Studio on a new PC.
You can simply zip the entire project folder. It will take up more space, but it will also work.
I have packaged my project and transferred it to another computer but still can not run and get this error
EntityNotEnhancedException: Entity class Prescription is missing some of enhancing interfaces:PersistenceObject,PersistenceWeaved,PersistenceWeavedFetchGroups
This error tells that your application is not built properly. See Basic Deployment :: Jmix Documentation for instructions.
If you use HSQL database, just copy content of .jmix/hsqldb
folder from your development project to the target computer to the same path relative to executable JAR. Then this database will be used by the running application.
Regards,
Konstantin