Re: [josm-dev] Another Java version conflict

2009-01-19 Thread Dirk Stöcker
On Tue, 20 Jan 2009, Ulf Lamping wrote: > P.S: Hmmm, I don't get those problems with my (latest) JDK version. I > thought that the ant scripts were telling the JAVA compiler to be 1.5 > like - so I should see this?!? No. This seems to affect the Java code only. Not the parsing, which is a bit st

Re: [josm-dev] Another Java version conflict

2009-01-19 Thread Ulf Lamping
Andre Hinrichs schrieb: > > Sorry, my error report was for version 1297 because I went back in the > versions to find what was wrong but in 1298 there was another one introduced. > > So two errors are fixed now and one is left: > fixed in 1306 Regards, ULFL __

Re: [josm-dev] Another Java version conflict

2009-01-19 Thread Andre Hinrichs
On Dienstag, 20. Januar 2009, Ulf Lamping wrote: > As this problem don't seem to happen very often, please let us know if > that happens again, as I just can't check it here ... Ok, will do this in the future. Regards Andre signature.asc Description: This is a digitally signed message part. ___

Re: [josm-dev] Another Java version conflict

2009-01-19 Thread Andre Hinrichs
On Dienstag, 20. Januar 2009, Ulf Lamping wrote: > Andre Hinrichs schrieb: > > Hi List, > > > > there is again an error in the sources which only occurs in Java 5 but is > > fine in Java 6. Since the compile server runs on Java 5 it does not build > > a new JAR for downloading. > > > > Here is the

Re: [josm-dev] Another Java version conflict

2009-01-19 Thread Ulf Lamping
Andre Hinrichs schrieb: > On Dienstag, 20. Januar 2009, Ulf Lamping wrote: >> My mistake! >> >> I'm a bit unsure how to fix this. Simply remove the @Override statements? > > I would say yes, since the annotation is to tell the compile to through > errors > when there a method is misspelled. Java

Re: [josm-dev] Another Java version conflict

2009-01-19 Thread Andre Hinrichs
On Dienstag, 20. Januar 2009, Ulf Lamping wrote: > My mistake! > > I'm a bit unsure how to fix this. Simply remove the @Override statements? I would say yes, since the annotation is to tell the compile to through errors when there a method is misspelled. Java 5 allows this only for super classes

Re: [josm-dev] Another Java version conflict

2009-01-19 Thread Frederik Ramm
Hi, Ulf Lamping wrote: > I'm a bit unsure how to fix this. Simply remove the @Override statements? Yes. In 1.5 they're not needed when you implement the methods provided by an interface; in 6 they are. > P.S: Hmmm, I don't get those problems with my (latest) JDK version. I > thought that the a

Re: [josm-dev] Another Java version conflict

2009-01-19 Thread Ulf Lamping
Andre Hinrichs schrieb: > Hi List, > > there is again an error in the sources which only occurs in Java 5 but is > fine > in Java 6. Since the compile server runs on Java 5 it does not build a new > JAR for downloading. > > Here is the error message: > > $ ant dist > Buildfile: build.xml > >

[josm-dev] Another Java version conflict

2009-01-19 Thread Andre Hinrichs
Hi List, there is again an error in the sources which only occurs in Java 5 but is fine in Java 6. Since the compile server runs on Java 5 it does not build a new JAR for downloading. Here is the error message: $ ant dist Buildfile: build.xml init: [mkdir] Created dir: /home/hinrichs/proj

Re: [josm-dev] LatLon.greatCircleDistance Bug?

2009-01-19 Thread Karl Newman
On Mon, Jan 19, 2009 at 9:03 AM, Karl Newman wrote: > On Mon, Jan 19, 2009 at 8:34 AM, Detlef Reichl wrote: > >> Am Montag, den 19.01.2009, 17:15 +0100 schrieb Tobias Wendorff: >> Hi Tobias, >> >> > The bug must be in the other parts. >> >> I'm a little step further. Form the MapScaller class i p

Re: [josm-dev] LatLon.greatCircleDistance Bug?

2009-01-19 Thread Karl Newman
On Mon, Jan 19, 2009 at 8:34 AM, Detlef Reichl wrote: > Am Montag, den 19.01.2009, 17:15 +0100 schrieb Tobias Wendorff: > Hi Tobias, > > > The bug must be in the other parts. > > I'm a little step further. Form the MapScaller class i printed out the > ll1, ll2 and dist value to the console. It loo

Re: [josm-dev] LatLon.greatCircleDistance Bug?

2009-01-19 Thread Detlef Reichl
Am Montag, den 19.01.2009, 17:15 +0100 schrieb Tobias Wendorff: Hi Tobias, > The bug must be in the other parts. I'm a little step further. Form the MapScaller class i printed out the ll1, ll2 and dist value to the console. It looks like this: ll1 64.5635383519239 : -19.701032734051942 ll2 64.56

Re: [josm-dev] LatLon.greatCircleDistance Bug?

2009-01-19 Thread Tobias Wendorff
Hi Detlef, Detlef Reichl schrieb: > src/org/openstreetmap/josm/gui/MapScaler.java line 30 > src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java line > 1197 even if I don't like the spherical law of cosines formula, it's done correctly: src/org/openstreetmap/josm/data/coor/LatLon.j

Re: [josm-dev] LatLon.greatCircleDistance Bug?

2009-01-19 Thread Detlef Reichl
Am Montag, den 19.01.2009, 16:47 +0100 schrieb Tobias Wendorff: > Detlef Reichl schrieb: > > I stumbled over a possible bug in the greatCircleDistance calculation of > > the LatLon class. If you zoom out in JOSM so that the MapScale gets > > beyond aprox 430 kilometers, the shown value will get _lo

Re: [josm-dev] LatLon.greatCircleDistance Bug?

2009-01-19 Thread Tobias Wendorff
Hi Detlef, Detlef Reichl schrieb: > I stumbled over a possible bug in the greatCircleDistance calculation of > the LatLon class. If you zoom out in JOSM so that the MapScale gets > beyond aprox 430 kilometers, the shown value will get _lower_. > > I think, that it is a bug in the greatCircleDista

[josm-dev] LatLon.greatCircleDistance Bug?

2009-01-19 Thread Detlef Reichl
Hi, I stumbled over a possible bug in the greatCircleDistance calculation of the LatLon class. If you zoom out in JOSM so that the MapScale gets beyond aprox 430 kilometers, the shown value will get _lower_. I think, that it is a bug in the greatCircleDistance calculation, cause if you zoom furth

[josm-dev] Webstart ?

2009-01-19 Thread Andre Schild
Hello, in #390 there has been some activity to provide a webstart version of JOSM. Is there some work going in that direction ? I might help on this, or if no work in progress exists take over this task. André smime.p7s Description: S/MIME Cryptographic Signature ___