#1000892

Compilation errors shown that I have already fixed - cannot be removed

    • Created on: Thu, Feb 02 (3 months ago)
    • Reported by: greenrd
    • Assigned to: skyluc
    • Milestone: Helium
    • Type: Defect
    • Version: 2.0.0-final-28
    • Operative System: -
    • Status: New
    • Priority: Normal (3)
    • Component: Eclipse
    • Permission type: Public
    • Fixed in version: -
    • Eclipse version: Indigo
    I have got a whole bunch of compilation errors on my import statements for a Play 1.x Scala controller. This happened when I changed the package line from
    package controllers.com.MYCOMPANY. ...

    to just
    package controllers

    in order to follow Play conventions.

    Even though I've managed to get rid of these bogus compilation errors with regard to Play compiling the files (which I did by doing
    rm -rf tmp/*

    in the project), I can't get Eclipse to acknowledge that the errors aren't there. I've tried:

    • Deleting the contents of tmp, as I just mentioned
    • Refreshing the project in Eclipse, multiple times
    • Closing and reopening the project
    • Cleaning the project
    • Restarting Eclipse

    and none of these helped. OK, the plugin incorporates 2.8.3dev version of scalac, but this shouldn't matter because the package controllers.com [sic] no longer exists, so the compilation errors shouldn't happen. I even grepped for this string within the project, and the only mention of it is inside .svn folders, i.e. previous versions of the files, which the presentation compiler should never be looking at at all.

    I can try to produce a minimal test case if wanted.
  • Followers
     
    Ico-users skyluc (Assigned To) , Iulian Dragos , greenrd 
     
    Attachments
    No attachments
    Associations
     
    No associations
    Activity
     
    User picture

          on Feb 02, 2012 @ 11:56pm UTC * By Mirko Stocker

    Have you tried deleting the errors in Eclipse's Problems view?
    User picture

          on Feb 03, 2012 @ 12:00am UTC * By greenrd

    The errors are not present in Eclipse's Problems view. They are only present in the editor for the file.

    I have also tried making a change to the file and saving it, and closing and reopening the file.
    User picture

          on May 07, 2012 @ 07:46pm UTC * By Mirco Dotta

    Assigned to set to skyluc
    Milestone set to Helium
    Time Expenditure
    Loading