Could anyone clarify how to dynamically reload client side js (YUI2 script) and css files without restarting server using sdk 3.0 and jar packaging with HotSwap Agent? I use all-in-one project, created simple surf share page with one component where simple YUI2 component is used. js script for YUI2 component resides in "{root folder of share module}/src/main/resources/META-INF/resources" folder. The problem is that I can't dynamically reload this script. I always have to restart server. Is it actually possible to do that using HotSwap agent? Thanks in advance for any help.
Hi Mark,
Did you try with the suggestion in the document below?
Alfresco SDK 3.0 Beta User Guide
(Paragraph: Hot reloading of Share extensions)
From the information I have, hot reloading on SDK 3.0 is fully supported only on platform side (AIO or Platform JAR projects) but you can try the suggested path in the doc.
I hope this help.
what exact version of the sdk version are you using?
SDK 3.0.
to get the exact version:
grep "alfresco.sdk.version" pom.xml
for example:
<alfresco.sdk.version>3.0.0-beta-5</alfresco.sdk.version>
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.