Hi pkg-osm team,

I've noticed that debian/josm.sh have an "export CLASSPATH" which override 
Class-Path provided in META-INF/MANIFEST.MF of josm.jar.

I think it's better to only keep latest one (MANIFEST) as it allow running 
josm with any VM with : $java -jar /usr/share/josm/josm.jar.

Here is (attached) a patch to fix this.

Cheers,

PS: Please keep me in CC as I'm not subscribed.
-- 
Damien - Debian Developper
http://wiki.debian.org/DamienRaudeMorvan
From 3adc2f6f8f2a5f9f881f7ee5ac3f2edac5dcc5b1 Mon Sep 17 00:00:00 2001
From: Damien Raude-Morvan <draz...@debian.org>
Date: Fri, 9 Sep 2011 23:26:00 +0200
Subject: [PATCH 2/2] Drop CLASSPATH setting from debian/josm.sh as Class-Path
 is already set in josm.jar.

---
 debian/josm.sh |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/debian/josm.sh b/debian/josm.sh
index 14c9117..fa5b18f 100644
--- a/debian/josm.sh
+++ b/debian/josm.sh
@@ -16,7 +16,6 @@ else
 	JAVA_CMDS="$JAVA_HOME/bin/java /usr/lib/jvm/java-6-sun/bin/java"
 fi
 
-export CLASSPATH="/usr/share/java/gettext-commons.jar:/usr/share/java/metadata-extractor.jar:/usr/share/java/svgSalamander.jar:/usr/share/java/gdata-core.jara:/usr/share/java/signpost-core.jar:/usr/share/java/ant.jar"
 JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true -Djava.net.useSystemProxies=true"
 
 for jcmd in $JAVA_CMDS; do
-- 
1.7.5.4

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Pkg-osm-maint mailing list
Pkg-osm-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-osm-maint

Reply via email to