I'm developing an Eclipse plugin, and I test it launching a secondary Eclipse instance using Run As -> Eclipse Application
in my project.
So far so good. However, every time I make a source code change (in Java) I need to close this secondary Eclipse instance and start it again to see my code changes being run.
Do you know of any hot deploy option for an Eclipse plugin? It would save me time since Eclipse is slow to load back again and again.
I guess I got used to Tomcat that implements hot deploy. The moment you save your Java source file Tomcat automatically deploys it behind the scenes. It doesn't deploy the whole application, but just the modified class -- something that takes just a few milliseconds.
Using "Debug
" instead of "Run
" should be enough.
If this doesn't work, check in the Preferences in Java > Debug
that "Enable hot code replace
" is on.
Also make sure that "Build Automatically
" is selected in the "Project
" menu. (Or manually invoke "Build
" after saving)