Opened 12 months ago

Closed 12 months ago

Last modified 12 months ago

#14660 closed defect (worksforme)

custom-epsg - Unable to build latest JOSM with ant

Reported by: TheOutpost Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: custom-epsg ant Cc:


I've checked out the latest commit on mirror on Github:

Now, from a fresh checkout, I run ant. I get the following error:


[mkdir] Created dir: /Users/njh/code/josm/build2
[javac] Compiling 1 source file to /Users/njh/code/josm/build2


[touch] Creating /Users/njh/code/josm/data/projection/custom-epsg

/Users/njh/code/josm/build.xml:804: Could not create /Users/njh/code/josm/data/projection/custom-epsg

Attachments (0)

Change History (6)

comment:1 Changed 12 months ago by Don-vip

Priority: blockernormal

comment:2 Changed 12 months ago by Don-vip

Resolution: worksforme
Status: newclosed

The Github mirror is not officially supported and often out of date. Please perform a standard SVN checkout as explained on Source code:

svn co josm

comment:3 Changed 12 months ago by TheOutpost

Hi Vincent,

The issue is that a fresh checkout does not include the directory data/projection. If I mkdir data/projection before running ant, the build works.

comment:4 Changed 12 months ago by bastiK

This happens because git does not support empty directories.

comment:5 Changed 12 months ago by anonymous

Gotcha. I guess I could start using SVN... It's been years ; )

comment:6 Changed 12 months ago by bastiK

Still, the github mirror can be fixed by placing an empty .gitignore file inside data/projection.

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.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.