I want to know if i must keep the bar file in that location after deployment. Can i delete the bar file and move it so some kind of history folder?
Could you please explain what really happens during the deployment. I have seen a section in user guide and I still want to know if Activity stores the deployment bar file in the database table somewhere so, i can delete the bar file after deployment?
Give it a try. Upload a bar file and then delete it. I think it must be no problem because you can also upload deployments via rest client. Activiti shouldn't be dependent on physical location of deployment artifacts. As I know Activiti serializes and keeps them in DB.
Deployed definitions stored in database: * ACT_RE_DEPLOYMENT stores ID and NAME of the file; * ACT_GE_BYTEARRAY strores in BLOBs all XMLs and PNGs of this deployment; * ACT_RE_PROCDEF stores versions of definitions. Yes, Activiti keeps them in DB.