https://bugzilla.wikimedia.org/show_bug.cgi?id=33842

       Web browser: ---
             Bug #: 33842
           Summary: Build errors on fresh setup
           Product: Wikimedia Mobile
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: android
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


I just grabbed the code for this project and opened it up in my eclipse.
I was getting build errors for the project immediately.

I do not have those error messages anymore but the cause of them was
discovered.

The three errors each referred to an instance where the @Override annotation
was used on a method, but the method did not actually override any methods in a
superclass.

I believe this is because in java 1.6 you can use @Override on methods that
override interface methods.

The solution was to use
Right click on the project -> Properties -> Java Compiler and set the compiler
compliance level to Java 1.6 (it was previously 1.5).

I don't know if this was due to my Eclipse on my computer or some property file
in the code base. At the very least a useful note about this issue in the
instructions would be helpful.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to