Build Issues

After code refactoring via another team member and a commit & pull we are starting to get regular build issues with the scala plugin.

An attempt to use 'rebuild project fails' with various invalid errors, from I assume, files left from the previous versions of relocated files.

If I do a maven clean then attempt a 'rebuild project' it all suceeds.

Any ideas to a solution and is / should rebuild project be doing a clean before hand ?

Thanks

4 comments
Comment actions Permalink

After such errors, please try File -> Synchronize. After that, please write me back if it helps.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

Thanks, will do

0
Comment actions Permalink

Yes still get it, did a synchronize then a rebuild and get invalid errors.

A mvn clean then a rebuild was fine.

0
Comment actions Permalink

Are you using fsc?
Is it possible that it's related to this issue: https://issues.scala-lang.org/browse/SI-5167?
As workaround, you can try to reset fsc (press on fsc icon, then choose reset). After that it should work as expected.

Best regards,
Alexander Podkhalyuzin.

0

Please sign in to leave a comment.