Modify

Opened 13 years ago

Closed 13 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:

Description

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

init:

compile:
    [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

BUILD FAILED
/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 13 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Hojoe, 13 years ago

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-1.2.1.1.jar'	
 The project cannot be built until build path errors are resolved	

comment:2 by glebius, 13 years ago

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?

by Don-vip, 13 years ago

Attachment: patch.diff added

comment:3 by Don-vip, 13 years ago

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 by Don-vip, 13 years ago

Summary: JOSM Compilation failed[patch] JOSM Compilation failed

comment:5 by stoecker, 13 years ago

Resolution: fixed
Status: newclosed

In [4236/josm]:

fix #6591 - update classpath

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.