Package: treeview / 1.1.6.4+dfsg1-4

classpath.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
Description: do not use internal lib
Author: Thorsten Alteholz <debian@alteholz.de>
Index: treeview_1.1.6.4+dfsg.orig/build.xml
===================================================================
--- treeview_1.1.6.4+dfsg.orig.orig/build.xml	2013-09-17 12:56:26.000000000 +0200
+++ treeview_1.1.6.4+dfsg.orig/build.xml	2013-09-17 12:59:03.000000000 +0200
@@ -83,6 +83,9 @@
 	<fileset dir="${app.libs}">
     		<include name="*.jar"/>
     </fileset>
+	<fileset dir="/usr/share/java">
+		<include name="nanoxml.jar" />
+	</fileset>
 	<fileset dir="${compile.lib}">
 		<include name="*.jar"/>
 	</fileset>
@@ -211,7 +214,7 @@
 		excludes="edu/stanford/genetics/treeview/plugin/**">
 		<manifest>
          <attribute name="Main-Class" value="LinkedView"/>
-		 <attribute name="Class-Path" value=". lib/nanoxml-2.2.2.jar"/>     
+		 <attribute name="Class-Path" value=". /usr/share/java/nanoxml.jar"/>
 		</manifest>
   </jar>
 
@@ -226,7 +229,7 @@
 		excludes="*coordinates/*,edu/stanford/genetics/treeview/plugin/**,edu/stanford/genetics/treeview/reg/**">
 		<manifest>
          <attribute name="Main-Class" value="LinkedView"/>
-		 <attribute name="Class-Path" value="lib/nanoxml-2.2.2.jar"/>     
+		 <attribute name="Class-Path" value="/usr/share/java/nanoxml.jar"/>
 		</manifest>
   </jar>
 </target>
@@ -242,7 +245,7 @@
   	<fileset dir="appletStatic"/>
   </copy>
   <copy  todir="applet">
-  	<fileset file="lib/nanoxml-2.2.2.jar"/>
+  	<fileset file="/usr/share/java/nanoxml.jar"/>
   </copy>
 	  <move  file ="${plugin.dir}" todir="applet">
 	  </move>
@@ -337,51 +340,11 @@
   <delete   file="${app.jar}" />
   <delete   dir="${dist.home}" />
   <delete   dir="applet" />
-  <delete   dir="bundle" />
 </target>
 
 <!-- some stuff for Mac OSX application bundles... -->
 <!-- unfortunately, this only work on max os X right now. -->
-<taskdef name="jarbundler"
-                   classname="net.sourceforge.jarbundler.JarBundler">
- <classpath>
-  <pathelement path="${compile.lib}/jarbundler-1.8.1.jar" />
-  <pathelement path="${compile.lib}/xercesImpl.jar" />
-  <pathelement path="${compile.lib}/xml-apis.jar" />
- </classpath>
-</taskdef>
-
-<target name="bundle" depends="jar,plugins"
- 	description="Make a mac application bundle">
-<delete   dir="bundle" />
-  <mkdir   dir="bundle"/>
-  <mkdir   dir="bundle/TreeView"/>
-	<jarbundler dir="bundle/TreeView"
-                    name="Java TreeView"
-                    mainclass="edu.stanford.genetics.treeview.app.LinkedViewApp" 
-                    jars="TreeView.jar lib/nanoxml-2.2.2.jar" 
-										icon="static/images/treeviewIcon.icns"
-										version="1.1.6r4"
-										aboutmenuname="Java TreeView"
-										vmoptions="-Xmx500m -Dapple.awt.TextAntialiasing=false "
-										arguments="-b ."
-										/>
-	<mkdir   dir="bundle/TreeView/images"/>
-  <copy  todir="bundle/TreeView/images">
-  	<fileset dir="static/images"/>
-  </copy>
-	  <move  file ="${plugin.dir}" todir="bundle/TreeView">
-	  </move>
-
-	<mkdir   dir="bundle/TreeView/coordinates"/>
-	<copy  todir="bundle/TreeView/coordinates">
-		<fileset dir="static/coordinates"/>
-	</copy>
-
-	<delete file="TreeView.jar"/>
-	
-</target>
-
+<!-- not needed for Debian so remove this -->