thanks for the quick fix. it's working now.
li
From: Paul Lindner <[email protected]>
To: [email protected]
Date: 05/02/2011 01:58 PM
Subject: Re: latest shindig doesn't build with JRE1.5 anymore
Looks like the error is coming from this chunk of code:
protected GadgetHtmlParser(DOMImplementation documentFactory,
final HtmlSerializer serializer) {
this.documentFactory = documentFactory;
this.serializerProvider = new Provider<HtmlSerializer>() {
@Override
public HtmlSerializer get() {
return serializer;
}
};
}
Provider is an interface, thus @Override doesn't work for 1.5 in this
situation. Committed a fix. LMK if it's still broken for you.
On Mon, May 2, 2011 at 8:00 AM, Li Xu <[email protected]> wrote:
>
> It builds fine with JRE1.6. anyone have seen sth. similar?
>
> The error I got is this:
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
> (default-compile) on project shindig-gadgets: Compilation failure
> [ERROR]
>
>
base_shindig-project/java/gadgets/src/main/java/org/apache/shindig/gadgets/parse/GadgetHtmlParser.java:[70,7]
> method does not override a method from its superclass
> [ERROR] -> [Help 1]
>
> thanks,
> li
>
> ==================================================
> Li Xu
> IBM Lotus Project Vulcan
> Phone: 919-486-1558 (T/L) 526-1558
> Email: [email protected]
>
--
Paul Lindner -- [email protected] -- linkedin.com/in/plindner