FWIW, the build failure below looks like the issue that Brian Murphy and I had discussed back in this and subsequent messages:
http://mail-archives.apache.org/mod_mbox/incubator-river-dev/200805.mbox/%3c20080523052848.ga15...@east%3e -- Peter On Tue, Apr 21, 2009 at 02:12:14PM +0200, Jonathan Costers wrote: > 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 <[email protected]> > > > 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 > >> <[email protected]> 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 > >> > >> > >> > > > >
