[OSM-dev] Custom JOSM build - error message
Immanuel Scholz
immanuel.scholz at gmx.de
Sat Sep 16 20:22:17 BST 2006
Hi,
>> Sorry... ignore the last message. Rebuilt the whole lot and it works
>> now.
>> Not sure what was going on there.....
>
> I think you are too used to working make files. As far as I can tell
> either ant, or this specific ant file don't do any kind of dependency
> checking, so you need to do "ant clean && ant dist" everytime to be sure.
Java does not need dependency checking - at least the sun's javac compiler
does not need it. It will autmatically compile all dependencies by itself
and this is why the build.xml file only compiles the two possible start
classes of JOSM.
(Said this, it is only true if you don't load stuff dynamically using the
reflection API, which JOSM doesn't do. ;-)
However, the build.xml file is not maintained by me, so it can be
possible, that JOSM does not compile correctly with ant. The "official"
way (means: I do it this way ;) of compiling JOSM is using the .project
and .classpath files together with Eclipse.
Ciao, Imi
More information about the dev
mailing list