Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Tycho compilation fails with added @Override annotation

Title: Change of Registered Address - Action Required
Hi guys,

I am trying to convert from pde build to tycho and hit unexpected problem during compilation.

If there is @Override annotation on my methods the compilation will fail with:
"The method start(BundleContext) of type Activator must override a superclass method"

If I simply remove the @Override annotation it compiles fine. I tried adding maven-osgi-compiler-plugin 1.6 source and target but it did not help! What could be the reason?

It is reproducible with the attached small project. This is one of the tycho demo project with simply added annotations to two methods. It fails with the error:

The method start(BundleContext) of type Activator must override a superclass method

The projects is attached?

Any ideas?

Thanks in advance,
Luchesar
--
 

Luchesar Cekov
Software Engineer
+44 (0)20 7239 4949

Ontology Systems
www.ontology.com

cid:image001.gif@01CB28DC.799AB7D0       

Registered Office: Ontology-Partners Limited, Dalton House, 60 Windsor Avenue, London SW19 2RR, UK

Company Registration No. 5794201

 

 

 



.

Attachment: org.tycho.demo.crossplatform.zip
Description: Zip archive

begin:vcard
org:Ontology-Partners Limited
adr:60 Windsor Avenue;;Dalton House;London;;SW19 2RR;UK
title:Registered Office:
version:2.1
end:vcard


Back to the top