Last modified: 2012-02-27 23:58:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35842, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33842 - Build errors on fresh setup
Build errors on fresh setup
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Generic (Other open bugs)
1.0.0 (Android)
All All
: Low minor
: ---
Assigned To: Tomasz Finc
:
Depends on:
Blocks: 33953
  Show dependency treegraph
 
Reported: 2012-01-20 20:36 UTC by Dale Lemieux
Modified: 2012-02-27 23:58 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: Android
Assignee Huggle Beta Tester: ---


Attachments

Description Dale Lemieux 2012-01-20 20:36:22 UTC
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.
Comment 1 Tomasz Finc 2012-02-27 23:58:34 UTC
Thanks for the info!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links