Modify

Opened 2 years ago

Closed 2 years ago

#6591 closed defect (fixed)

[patch] JOSM Compilation failed

Reported by: Andre68 Owned by: team
Priority: major 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 2 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 2 years ago by Hojoe <osm@…>

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 Changed 2 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 2 years ago by Don-vip

comment:3 Changed 2 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 2 years ago by Don-vip

  • Summary changed from JOSM Compilation failed to [patch] JOSM Compilation failed

comment:5 Changed 2 years ago by stoecker

  • Resolution set to fixed
  • Status changed from new to closed

In [4236/josm]:

fix #6591 - update classpath

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.