Opened 12 years ago

Closed 12 years ago

#6591 closed defect (fixed)

[patch] JOSM Compilation failed

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


Since today the compilation of JOSM failed due to missing lib directory. Current revision is 4235.
I then checked out a fresh copy but with no success. Falling back to revision 4230 solves this issue.

$ ant dist
Buildfile: /home/andi/Projekte/osm/josm/build.xml


    [javac] /home/andi/Projekte/osm/josm/build.xml:108: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 1017 source files to /home/andi/Projekte/osm/josm/build

/home/andi/Projekte/osm/josm/build.xml:108: /home/andi/Projekte/osm/josm/lib does not exist.

Total time: 1 second

Attachments (1)

patch.diff (1.1 KB) - added by Don-vip 12 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 12 years ago by Hojoe

Also Eclipse does't compile the JOSM project:

 Project 'JOSM' is missing required library: 'lib/metadata-extractor-2.3.1-nosun.jar'	
 Project 'JOSM' is missing required library: 'lib/signpost-core-'	
 The project cannot be built until build path errors are resolved	

comment:2 Changed 12 years ago by glebius

For r4235 it is enough to 'mkdir lib' to make it compilable with ant.

May be we need to add 'lib' dir to svn repo?

Changed 12 years ago by Don-vip

Attachment: patch.diff added

comment:3 Changed 12 years ago by Don-vip

It's because these libs have been included in JOSM tree in r4231 (why ?), but the .classpath has not been updated. See attached patch.

comment:4 Changed 12 years ago by Don-vip

Summary: JOSM Compilation failed[patch] JOSM Compilation failed

comment:5 Changed 12 years ago by stoecker

Resolution: fixed
Status: newclosed

In [4236/josm]:

fix #6591 - update classpath

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.