﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
22504	[PATCH] Circularize selected ways	qeef	team	"Dear JOSM developers,

I would like to contribute the code (in the patch set that follows) to the
JOSM. However, I am unable to run the test -- ant test command returns:

	BUILD FAILED
	/home/jiri/josm/build.xml:507: The following error occurred while executing this line:
	/home/jiri/josm/build.xml:448: Problem: failed to create task or type junitlauncher
	Cause: the class org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.JUnitLauncherTask was not found.
		This looks like one of Ant's optional components.
	Action: Check that the appropriate optional JAR exists in
		-/usr/share/ant/lib
		-/home/jiri/.ant/lib
		-a directory added on the command line with the -lib argument

ant-optional is installed, but I could not find ant-optinal.jar:

	$ dpkg -l | grep ant-optional
	ii  ant-optional                                  1.10.9-4                                     all          Java based build tool like make - optional libraries


	$ find / -name *ant-opt* 2>/dev/null
	/var/cache/apt/archives/ant-optional_1.10.9-4_all.deb
	/var/lib/dpkg/info/ant-optional.md5sums
	/var/lib/dpkg/info/ant-optional.list
	/usr/share/doc/ant-optional

tested with:

	# java -version
	openjdk version ""1.8.0_222""
	OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1~deb9u1-b10)
	OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)

and with:

	# java -version
	openjdk version ""11.0.16"" 2022-07-19
	OpenJDK Runtime Environment (build 11.0.16+8-post-Debian-1deb11u1)
	OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Debian-1deb11u1, mixed mode, sharing)

Have anyone encountered similar issues? Could anyone review the patch without
me running the tests, please?"	enhancement	closed	normal	22.12	Core		fixed		
