﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
9501	JOSM build failed with SVN	Andre68	team	"I'm fetching JOSM by SVN and currently cannot compile the latest JOSM on a Ubuntu system.

Besides a long list of warnings I believe the relevant part is the following:

{{{
init-svn-revision-xml:

init-git-revision-xml:
     [exec] Result: 128

create-revision:
[xmlproperty] [Fatal Error] REVISION.XML:1:1: Content is not allowed in prolog.

BUILD FAILED
/home/andi/Projekte/osm/josm/build.xml:74: Failed to load /home/andi/Projekte/osm/josm/REVISION.XML
}}}


The file REVISION.XML contains the following:

{{{
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
}}}

I'm not an ant expert. I believe that ant tries to execute 'LANG=""C"" svn info --xml .' which gives the following output on my system:

{{{
<?xml version=""1.0"" encoding=""UTF-8""?>
<info>
<entry
   kind=""dir""
   path="".""
   revision=""6581"">
<url>http://josm.openstreetmap.de/svn/trunk</url>
<repository>
<root>http://josm.openstreetmap.de/svn</root>
<uuid>0c6e7542-c601-0410-84e7-c038aed88b3b</uuid>
</repository>
<wc-info>
<wcroot-abspath>/home/andi/Projekte/osm/josm</wcroot-abspath>
<schedule>normal</schedule>
<depth>infinity</depth>
</wc-info>
<commit
   revision=""6581"">
<author>simon04</author>
<date>2013-12-31T14:10:06.679140Z</date>
</commit>
</entry>
</info>
}}}

This looks fine to me and the error code is 0.

File state of REVISION.XML is -rw-r--r-- which should also be fine.

So why does ant afterwards try to run git?
"	defect	closed	major	14.01	Core	latest	fixed		
