08-18-2018 02:59 PM
Hello All,
I am using Alfresco All-In-One (alfresco-allinone-archetype) maven based project. I am using community version.
I would like to know how to make the project (using eclipse) Hot deployment. I have read the article - Rapid Application Development in Eclipse (Hot reloading) | Alfresco Documentation but I did not work for me. I don't know how to enable RAD in eclipse
Enabling Rapid Application Development (RAD) in Eclipse.
Testing RAD when doing Repository customizations (alfresco.war).
Every time I have to stop the server and run the command .run/sh for a small change in webscript or ftl file. Because of this development is very slow.
Earlier I have worked on Separate AMPs and Even you can change directly in Webapps so Develpment was a little bit faster.
Help is much needed and appreciated.
08-22-2018 07:26 AM
Hi Krutik Jayswal
Hot deployment doesn't work on community version?
08-22-2018 01:27 PM
It works for community version!...there must be something which you are missing.For what things you are expecting hot deployment?XML hot reloading will not work.
08-27-2018 03:12 AM
Krutik Jayswal
in the latest SDK release 2.2.0 you could no longer use Spring Loaded for hot reloading of stuff in alfresco.war.
08-27-2018 03:16 AM
Yes spring loaded is no longer used in SDK 3.0.0 and 3.0.1.In the latest version, hot swap is being used.
08-27-2018 05:22 AM
Using <version>3.0.2</version>
But hard luck.
08-27-2018 05:37 AM
you are using hot-swap.jar for hot reloading correct?
08-27-2018 07:56 AM
Yes, I have tried two version 1.3.0 and 1.1.0
08-28-2018 02:14 AM
For hot reloading in share need to add below configuration in share-config-custom.xml
<config evaluator="string-compare" condition="WebFramework">
<web-framework>
<autowire>
<mode>development</mode>
</autowire>
</web-framework>
</config>
Explore our Alfresco products with the links below. Use labels to filter content by product module.