[josm-dev] [patch] Build process: Ant does not find svn executable

Dirk Stöcker openstreetmap at dstoecker.de
Mon Dec 15 09:05:11 GMT 2008


On Mon, 15 Dec 2008, Frederik Ramm wrote:

>> Well, I do not like this as well. This is only necessary for the SVN build
>> and this also works fine without. So when svn is not available, then ant
>> may ignore this part. It also works without.
>
> What is the wider issue behind this. All this is done just so we have a
> version number in the Manifest file, is that right? Who uses this
> version number?

The plugin version check.

> If so, then I would say that this should be correct in the .jar we
> distribute but we should not try and distribute a build.xml that has
> these bells and whistles. To my knowledge, SVN version number retrieval
> is buggy anyway - if someone checks out JOSM, makes a change, commits
> that, then runs the build, the build will still show the pre-commit
> revision number; only an "svn update" fixes this.

Yes. Anyway the build.xml for all the plugins uses the same method for 
ages now, so I see no problem to have this in josm as well. Whoever has 
the problem with svn only needs to copy a svn into one the search paths 
and everything is fine.

The problem you mention is correct, but I think it is not so relevant.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)




More information about the josm-dev mailing list