Hot deployment for Share webscript and Java based Webscript

cancel
Showing results for 
Search instead for 
Did you mean: 
ratik_singhal
Established Member

Re: Hot deployment for Share webscript and Java based Webscript

Hi Krutik Jayswal

Hot deployment doesn't work on community version?

krutik_jayswal
Senior Member II

Re: Hot deployment for Share webscript and Java based Webscript

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.

ratik_singhal
Established Member

Re: Hot deployment for Share webscript and Java based Webscript

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.

krutik_jayswal
Senior Member II

Re: Hot deployment for Share webscript and Java based Webscript

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.

ratik_singhal
Established Member

Re: Hot deployment for Share webscript and Java based Webscript

Using <version>3.0.2</version>

But hard luck. 

krutik_jayswal
Senior Member II

Re: Hot deployment for Share webscript and Java based Webscript

you are using hot-swap.jar for hot reloading correct?

ratik_singhal
Established Member

Re: Hot deployment for Share webscript and Java based Webscript

Yes, I have tried two version 1.3.0 and 1.1.0

Releases · HotswapProjects/HotswapAgent · GitHub 

krutik_jayswal
Senior Member II

Re: Hot deployment for Share webscript and Java based Webscript

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>