alfresco-sdk: Hotswap share not working on 5.1.f with SDK 3.0

When using (haven’t tried other versions) <alfresco.platform.version>5.1.g</alfresco.platform.version> <alfresco.share.version>5.1.f</alfresco.share.version>

Refresh webscripts with goal mvn alfresco:refresh-share does refresh but the changes aren’t visible.

Steps to reproduce:

  1. Create a share project
  2. Change the sample webscript in src\main\resources\alfresco\web-extension\site-webscripts\com\example\pages\simple-page.get.js
  3. For example remove the logo with id id: “DEMO_SIMPLE_LOGO” within the widget
  4. run mvn alfresco:refresh-share
  5. in the console you’ll see that the webscripts are refreshed
  6. Change isn’t visilbe

The resources are as wel in test-classes, but the extraClasspath property in share-hotswap-agent.properties isn’t triggered. So the changes aren’t available in the embedded tomcat 😃

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 26 (6 by maintainers)

Most upvoted comments

I’ve confirmed by Patching the JVM + adding the agent + altJVM to Eclipse hotswap is working.

Would be ‘nice’ if this gets a permanent Bold Paragraph in the 3.0 SDK, cause this is clearly different than the previouw SDK. And Also nice for ‘newcomers’ to know directly.

Great work!