HotswapProjects / HotswapAgent

Java unlimited redefinition of classes at runtime.
GNU General Public License v2.0
2.23k stars 478 forks source link

groovy support #85

Open davidmoshal opened 8 years ago

davidmoshal commented 8 years ago

I'm curious, will this work with groovy, using intellij?

skybber commented 8 years ago

hotswap-agent supports only java frameworks. Anyway you should profit from hotswap if use DCEVM alone. There is some instructions how to setup hotswap for groovy in eclipse : http://stackoverflow.com/questions/31127533/is-hot-code-replace-supposed-to-work-for-groovy-in-eclipse/31143994#31143994

skybber commented 7 years ago

At least Scala works with last dcevm release. I would expect Groovy should work as well.

edudant commented 7 years ago

Can you please test groovy support and create a simple example project?

selamialtin commented 3 years ago

I just tried groovy grails 4 and HotswapAgent with trava jdk 11, chenaged service file is compiling and Hotswap agent info message appearing like below but still old class is running, new changes not appliying.

File /home/selami/projects/grails5/sem-erp-3/grails-app/services/com/anamar/system/ActuatorService.groovy changed, recompiling... HOTSWAP AGENT: 14:04:30.133 INFO (org.hotswap.agent.plugin.spring.SpringPlugin) - Spring plugin initialized - Spring core version '5.3.2'

bruno-lopes commented 1 month ago

@selamialtin same here. Did you find a solution? Thanks.