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 97 98 99
|
Description: do not use internal lib
Author: Thorsten Alteholz <debian@alteholz.de>
--- a/build.xml
+++ b/build.xml
@@ -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,56 +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="com.ultramixer.jarbundler.JarBundler">
- <classpath>
- <pathelement path="${compile.lib}/jarbundler-core-3.3.0.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"
- icon="static/images/treeviewIcon.icns"
- version="1.2.0"
- jvmversion="1.6+"
- shortname="Java TreeView"
- vmoptions="-Xmx500m -Dapple.awt.TextAntialiasing=false "
- arguments="-b ."
- stubfile="osxStatic/universalJavaApplicationStub"
- useJavaXKey="true"
- >
- <jarfilelist dir="." files="lib/nanoxml-2.2.2.jar TreeView.jar" />
- </jarbundler>
- <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 -->
</project>
|