harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [alert] "ant rebuild" is broken
Date Tue, 28 Nov 2006 12:14:29 GMT
Mikhail Loenko wrote:
> -compile:
>    [mkdir] Created dir: C:\WS\Experiments\build\classes
>    [javac] Compiling 3589 source files to C:\WS\Experiments\build\classes
>    [javac] ----------
>    [javac] 1. ERROR in
> C:\WS\Experiments\modules\luni\src\main\java\java\util\P
> roperties.java
>    [javac]  (at line 571)
>    [javac]     String value = entry.getTextContent();
>    [javac]                          ^^^^^^^^^^^^^^
>    [javac] The method getTextContent() is undefined for the type Element
>    [javac] ----------
>    [javac] 1 problem (1 error)

As discussed, can you take a look and see which JARs you are compiling
against?

I would expect to see this method come from the org.w3c.dom.Node type in
depends\jars\xerces_2.8.0\xml-apis.jar

The method Node#getTextContent() only appeared in DOM Level 3 (i.e. JSE
5.0).  Is it possible that you are compiling against a 1.4 JRE and not
picking up the Harmony dependencies?

Regards,
Tim

-- 

Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

Mime
View raw message