Ongoing effort to package JOSM
Andrea Musuruane
musuruan at gmail.com
Sat Aug 8 13:45:07 UTC 2009
Hi,
Cédric OLIVIER has submitted a review request for JOSM, an editor
for OpenStreetMap (OSM) written in Java:
https://bugzilla.redhat.com/508351
Since I'm an OSM contributor, a JOSM user and a Fedora packager, I
tried to address some of the problem the package has with some
informal reviews (I'm not a sponsor and Cédric is looking for one).
The most evident mistake is that the package is using pre-built JAR
files instead of system JARs. These libraries are not yet available in
Fedora. To speed things up, I packaged them and submitted for review:
Gettext-commons:
https://bugzilla.redhat.com/515136
Metadata-extractor:
https://bugzilla.redhat.com/516343
Although I maintain more than 20 packages in Fedora and RPM Fusion,
these are my first two Java packages. Any hint or suggestion on how to
improve them is well accepted. A reviewer is welcome too :)
In metadata-extractor I had to disable junit test. This is something
Debian package does too. But I do not understand why enabling it I get
the following error:
---8<---8<---8<---8<---8<---8<---8<---8<---8<---
[...]
test:
BUILD FAILED
/home/andrea/devel/prg/metadata-extractor/build.xml:48: Problem:
failed to create task or type junit
Cause: the class
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask 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/andrea/.ant/lib
-a directory added on the command line with the -lib argument
Do not panic, this is a common problem.
The commonest cause is a missing JAR.
This is not a bug; it is a configuration problem
---8<---8<---8<---8<---8<---8<---8<---8<---8<---
Any help appreciated.
Bye,
Andrea.
More information about the devel
mailing list