File: 03-use-installed-library-in-demo.patch

package info (click to toggle)
jmapviewer 2.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 628 kB
  • ctags: 1,131
  • sloc: java: 4,377; xml: 172; makefile: 23; sh: 2
file content (19 lines) | stat: -rw-r--r-- 676 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Andrew Harvey <andrew.harvey4@gmail.com>
Subject: Use installed library for the demo application
Forwarded: not-needed
Last-Update: 2013-03-15

Adjustment to the ant build.xml file. Using the system wide jmapviewer.jar
library for the JMapViewer_Demo application.

--- a/build.xml
+++ b/build.xml
@@ -50,7 +50,7 @@
 		<jar destfile="JMapViewer_Demo.jar" filesetmanifest="mergewithoutmain">
 			<manifest>
 				<attribute name="Main-Class" value="org.openstreetmap.gui.jmapviewer.Demo" />
-				<attribute name="Class-Path" value="JMapViewer.jar" />
+				<attribute name="Class-Path" value="/usr/share/java/jmapviewer.jar" />
 			</manifest>
 		</jar>
 	</target>