[osmosis-dev] some tests failed on Gentoo (may be because of wrong CLASSPATH)

Igor Podolskiy igor.podolskiy at vwi-stuttgart.de
Wed Nov 30 16:58:18 GMT 2011


Hi Dmytro,

> Testcase: testSimple took 0.005 sec
> Caused an ERROR
> org.openstreetmap.osmosis.testutil.TestDataUtilities.newFile()Ljava/io/File;
> java.lang.NoSuchMethodError:
> org.openstreetmap.osmosis.testutil.TestDataUtilities.newFile()Ljava/io/File;
>    at
> org.openstreetmap.osmosis.testutil.TestDataUtilities.createDataFile(TestDataUtilities.java:54)
>    at
> org.openstreetmap.osmosis.xml.v0_6.XmlChangeReaderWriterTest.testSimple(XmlChangeReaderWriterTest.java:36)
hmm, that is interesting... In your original post, you said you were 
trying to build 0.39. However, org.openstreetmap.osmosis.testutil was 
introduced just over a month ago, well after 0.39 was released.

May it be that

$ git clone git://... osmosis
$ cd osmosis && git checkout 0.39

creates a mixup of old and new sources which - naturally - don't mix 
well? It's doing that here on my machine, somehow, and I had to be very 
careful in getting a 0.39 tree to get it to build _at all_. After I 
managed to get a clean 0.39, however, it built and passed all trees.

Hope that helps
Igor



More information about the osmosis-dev mailing list