I have dabbled with Alfresco SDK for a couple of weeks now, and I've grown tired of the constant restart/reload/waiting between minor changes.
I found JRebel and HotSwapAgent for hot-reloading and got both working I think, but neither of them actually does what I want.
I am working on some custom workflows, but all the relevant files are xml-files, not java-files. No xml-files seem to ever be touched by them.
How do I make these files change aswell with JRebel? Or is there another way to update the content which is not Java some simple and quick way without the need of a complete restart?
Any ideas would be greatly appreciated.
No, there is no other way to do so. As far as workflow is a concern, you can reduce your frequency of restarts up to some extent by using Activiti community instance to design and test your workflow. You can export process file (xml) and use it once you're done.
Regards,
Kintu
There is an alternative to this hot-reloading. You can upload your bpmn20.xml (workflow process file) at the following path in the Alfresco repository in order to deploy it without restarting the server.
Repository>Data dictionary>Workflow Definitions>
Once you upload your process file, edit its properties and select 'Workflow Deployed' checkbox.
So if you want to test micro changes without restart then this is how you can do it.
Regards,
Kintu
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.