You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Li Xu <li...@us.ibm.com> on 2011/05/02 17:00:19 UTC

latest shindig doesn't build with JRE1.5 anymore

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:  lixu@us.ibm.com

Re: latest shindig doesn't build with JRE1.5 anymore

Posted by Li Xu <li...@us.ibm.com>.


thanks for the quick fix. it's working now.
li




                                                                                                             
  From:       Paul Lindner <li...@inuus.com>                                                               
                                                                                                             
  To:         dev@shindig.apache.org                                                                         
                                                                                                             
  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 <li...@us.ibm.com> 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:  lixu@us.ibm.com
>



--
Paul Lindner -- lindner@inuus.com -- linkedin.com/in/plindner


Re: latest shindig doesn't build with JRE1.5 anymore

Posted by Paul Lindner <li...@inuus.com>.
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 <li...@us.ibm.com> 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:  lixu@us.ibm.com
>



-- 
Paul Lindner -- lindner@inuus.com -- linkedin.com/in/plindner

Re: latest shindig doesn't build with JRE1.5 anymore

Posted by Paul Lindner <li...@inuus.com>.
odd -- jenkins is showing that 1.5 compiles are working:

http://hudson.inuus.com/job/Shindig%20Java%201.5/


On Mon, May 2, 2011 at 8:00 AM, Li Xu <li...@us.ibm.com> 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:  lixu@us.ibm.com
>



-- 
Paul Lindner -- lindner@inuus.com -- linkedin.com/in/plindner

Re: latest shindig doesn't build with JRE1.5 anymore

Posted by Li Xu <li...@us.ibm.com>.


Han,
Unfortunately it's different. The fix under this link fixed Eclipse
environment weeks ago. However both the environment and maven build started
broken recently.
thanks,
li



                                                                                                             
  From:       Han Nguyen/Charlotte/IBM@IBMUS                                                                 
                                                                                                             
  To:         dev@shindig.apache.org                                                                         
                                                                                                             
  Date:       05/02/2011 12:52 PM                                                                            
                                                                                                             
  Subject:    Re: latest shindig doesn't build with JRE1.5 anymore                                           
                                                                                                             





Li,
Check this out
http://permalink.gmane.org/gmane.comp.web.shindig.devel/6601




From:   Li Xu/Raleigh/IBM@IBMUS
To:     dev@shindig.apache.org
Date:   05/02/2011 10:59 AM
Subject:        latest shindig doesn't build with JRE1.5 anymore




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:  lixu@us.ibm.com



Re: latest shindig doesn't build with JRE1.5 anymore

Posted by Han Nguyen <hn...@us.ibm.com>.
Li,
Check this out
http://permalink.gmane.org/gmane.comp.web.shindig.devel/6601




From:   Li Xu/Raleigh/IBM@IBMUS
To:     dev@shindig.apache.org
Date:   05/02/2011 10:59 AM
Subject:        latest shindig doesn't build with JRE1.5 anymore




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:  lixu@us.ibm.com