ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Does rosjava have explicit support for hot class reloading?

asked 2013-06-26 02:18:34 -0500

PJvG gravatar image

updated 2014-01-28 17:17:02 -0500

ngrennan gravatar image

I want to have dynamic dependencies in rosjava, but it is not working.

rosjava can have jar-files as dependencies, but what if a jar-file gets recompiled while my rosjava node is still running? Does rosjava have explicit support for hot class reloading? Or do I have to add this myself, for example by using JRebel? (or a similar plugin?)

If such support already exist in rosjava, how do I use this? I tried to set the "changing"-parameter in my Gradle build-file to true for my jar dependency (which is on my local filesystem), it gives no errors, but my node still uses the old dependency from before recompilation instead of the newly compiled jar-file. So this is not enough and more needs to be done.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-07-01 23:19:53 -0500

PJvG gravatar image

updated 2013-07-01 23:23:41 -0500

I also sent an email to Damon Kohler with this issue..

He replied with:

"There are no peculiarities to the way rosjava is configured with Gradle. I suggest asking on the Gradle support forum."

Well I did ask at the Gradle forums before I posted this question.

Anyway, my best guess is there is no support at the moment, and if you want hot class reloading in rosjava you'll have to figure it out yourself, either by using a plugin or by programming it yourself.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-06-26 02:18:34 -0500

Seen: 327 times

Last updated: Jul 01 '13