Idea 2016.2 does not recompile - hotswap and test don't work

Answered

Hi,

I've switched some time ago from Idea 14 to 2016.2 and I've noticed some inconveniences. At first there were memory issues but I've solved them after a day or two but later on discovered that the HotSwap functionality stopped working. I thought ... ok, pity but I can live with that. Today however the problem I've found is so severe that prevents me from working in a fast manner.

 

I change something in a JUnit test, start the test again in Idea. The code running in Idea is old it did not recompile. I click recompile from the Build menu. It does nothing and finishes in 10ms. What the hell is going wrong. Does Idea stopped compiling my code at all and relies on syntax checking when marking the my source files red??

 

Please help !

0
2 comments

Please submit a ticket to support with the logs folder zipped (https://intellij-support.jetbrains.com/hc/articles/207241085) and with the sample project to reproduce the problem. Thank you.

0
Avatar
Permanently deleted user

I've solved the issue myself. I'm using CLINK as a cmd enhancer. It adds a line to env.properties like:

PROMPT=CLINK [project-name] $P$G


This creates an exception while trying to compile:

Caused by: org.jdom.IllegalDataException: The data "CLINK [project-name] $P$G" is not legal for a JDOM attribute: 0x8 is not a legal XML character.
0

Please sign in to leave a comment.