HotSwap/Automatic compile of java when debugging is not working.

I have to select "Compile XYX.java" or select "Reload changed classes" from the menu before hotswap works no matter what i try in hotswap project settings.  Am I doing something wrong or it it really not "automatic" (eclipse is truely automatic).

5 comments
Comment actions Permalink

IntelliJ IDEA does not compile your project automatically.

0
Comment actions Permalink

Is it possible to customize the main toolbar with the "Reload Changed Classes" button so I can easily do hot swaps while debugging?  Or at least add a mnemonic shortcut to the menu item in debug menu?

I tried to add it to the main toolbar but it looks like I can only move the menu item up and down inside teh debug actions menu... can't copy the menu item and paste it in another menu or toolbar?

0
Comment actions Permalink

Just press Ctrl-9 (Make).
In Eclipse you have to press Ctrl-S, so what's the big difference?

On 09.03.2012 20:10, Paul C wrote:

I have to select "Compile XYX.java" or select "Reload changed classes" from the menu before hotswap works no matter what i try in hotswap project settings.  Am I doing something wrong or it it really not "automatic" (eclipse is truely automatic).

>

---
Original message URL: http://devnet.jetbrains.net/message/5453957#5453957


0
Comment actions Permalink

For Web Applications at least you can set an option in your Run/Debug Configuration to update classes and resources when you switch to your web browser (to test). This only works for web apps though. However, if that is what you are working with then you may want to turn on this option.

Screen Shot 2012-03-15 at 9.24.23 AM.PNG

0
Comment actions Permalink

Thanks Michael and Dmitry.  It is a web app.  Thanks for the tips.

0

Please sign in to leave a comment.