Hot Swap is swapping all classes
Heya,
This might be something silly, but when I compile, every java class gets re-compiled and swapped, instead of just the changed ones. It used to work, but I changed OS and when setting back up I must have missed something. I'm using 1.6 and tried with 1.7 incase that was it, but no difference. I suspect it's just something wrong with the way I set it up or a setting my be incorrect. Does anyone have any ideas or suggestions? If you need additional info that might help. just ask.
Thanks for your help.
Please sign in to leave a comment.
Hi Ian,
How do you start compilation: is it 'make' or ''compile' or 'rebuild' action?
Eugene.
'Make', Ctrl+F9, is what I normally use.
and every time the whole project is compiled no matter how many classes have you changed?
Yes.
Well it's a little stranger than that perhaps, the first time I hit it, it always says no classes changed, but If I hit it again it'll reload all the classes, regardless of if there is 1 or 10 classes changed.
will reload, but not compile?
Sorry, by reload, I meant it'll compile and swap all classes, regardless of how many I changed.
Hi Ian,
do you have anything that externaly changes your classes (e.g. some code generators).
Also, in some cases ceratain plugins could trigger such a behaviour,
in my case it was NativeNeighbourhood causing a problem, but this happend a year or so ago and was fixed long ago..
All code is changed and added through intelliJ. We have a stripped back list of plugins, but i'll check through them for any potential problems. It used to work with the saem plugin list before I reinstalled though, still worth a look, thanks for the suggestions.
Could you please send logs to me just in case there is something interesting there?
This concurs with what i am seeing. I first thought it was a jrebel defect but seems idea 11 is at fault.
Except I'm on 9 :p
This concurs with what i am seeing. I first thought it was a jrebel defect but seems idea 11 is at fault.
---
Original message URL: http://devnet.jetbrains.net/message/5446526#5446526
This concurs with what i am seeing. I first thought it was a jrebel defect but seems idea 11 is at fault.