title: Eclipse is not compiling my Groovy files
body: <p>I'm using Eclipse and working on a J2EE project. We are trying to write Groovy/Spock tests for unit testing. The project is a Maven project and added Groovy nature to it. The problem is <em>If I edit any of the Groovy test classes, It's doesn't get compiled</em>. So running a test as Junit is not picking up the latest changes. I have to run a Maven build in order to pickup the recent changes test class. </p>
  
  <p>My setup,</p>
  
  <ul>
  <li>Groovy compiler 2.4</li>
  <li>Installed Groovy-Eclipse plugin</li>
  <li>Added Groovy nature to the project</li>
  </ul>
  
  <p>Checked another question, it didn't help much
  <a href="https://stackoverflow.com/questions/9433553/compile-groovy-files-in-eclipse">Another Question</a></p>