river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Costers <jonathan.cost...@googlemail.com>
Subject Re: Build failed in Hudson: River-trunk #163
Date Tue, 21 Apr 2009 12:12:14 GMT
Hi Peter

What is the environment you are using to build?

Are you building with a Sun JDK / OpenJDK or something else? What version?
What is your JAVA_HOME setting, if any?
Does Ant pick up the correct JDK?

Note that the QA test suite also depends on Sun internal APIs here and there
(sun.net.spi.nameservice.NameService for instance). Since I am (and Hudson
is) using openjdk to build, tools.jar is put on the classpath automatically
by Ant. I've had no time to fix this yet. But it is one of the things on my
list. Feel free to step in, though.

Thanks and best regards
Jonathan

2009/4/21 Peter Firmstone <jini@zeus.net.au>

> I'm getting the following 2 errors during the build on my machine:
>
>   [javac]
> /opt/src/river/trunk/qa/src/com/sun/jini/test/impl/reggie/NameServiceImpl.java:29:
> com.sun.jini.test.impl.reggie.NameServiceImpl is not abstract and does not
> override abstract method lookupAllHostAddr(java.lang.String) in
> sun.net.spi.nameservice.NameService
>   [javac] public class NameServiceImpl implements NameService {
>   [javac]        ^
>   [javac]
> /opt/src/river/trunk/qa/src/com/sun/jini/test/impl/reggie/NameServiceImpl.java:42:
> lookupAllHostAddr(java.lang.String) in
> com.sun.jini.test.impl.reggie.NameServiceImpl cannot implement
> lookupAllHostAddr(java.lang.String) in sun.net.spi.nameservice.NameService;
> attempting to use incompatible return type
>   [javac] found   : java.net.InetAddress[]
>   [javac] required: byte[][]
>   [javac]     public InetAddress[] lookupAllHostAddr(String host)
>   [javac]                          ^
>   [javac] 2 errors
>   [javac] 3 warnings
>
> BUILD FAILED
> /opt/src/river/trunk/build.xml:2284: The following error occurred while
> executing this line:
> /opt/src/river/trunk/qa/build.xml:124: The following error occurred while
> executing this line:
> /opt/src/river/trunk/common.xml:99: Compile failed; see the compiler error
> output for details.
>
>
>
>
> Jukka Zitting wrote:
>
>> Hi,
>>
>> On Sun, Apr 19, 2009 at 12:01 AM, Jonathan Costers
>> <jonathan.costers@googlemail.com> wrote:
>>
>>
>>> OK, here is what I think we should use for now:
>>>
>>> cd $WORKSPACE/jtsk/trunk
>>> ant all.clean release qa.run
>>>
>>>
>>
>> OK, done.
>>
>> BR,
>>
>> Jukka Zitting
>>
>>
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message