Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#9501 closed defect (fixed)

JOSM build failed with SVN

Reported by: Andre68 Owned by: team
Priority: major Milestone: 14.01
Component: Core Version: latest
Keywords: Cc:


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:


     [exec] Result: 128

[xmlproperty] [Fatal Error] REVISION.XML:1:1: Content is not allowed in prolog.

/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"?>

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?

Attachments (0)

Change History (4)

comment:1 by simon04, 11 years ago

Resolution: fixed
Status: newclosed

In 6585/josm:

fix #9501 see #9450 - JOSM build failed with SVN

comment:2 by Don-vip, 11 years ago

Milestone: 14.01

comment:3 by anonymous, 10 years ago

On Ubuntu 14.04 I also had to do this:

svn upgrade

before building.

comment:4 by stoecker, 10 years ago

This is unrelated to this ticket. Reading the texts you were presented properly you should have noticed that this happens when you update your local subversion to a new version!

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.