-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.xml
118 lines (114 loc) · 7.91 KB
/
build.xml
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<?xml version="1.0"?>
<project name="PathVisioRPC" default="jar" basedir=".">
<property name="org.pathvisio.htmlexport.dir" value="../../htmlexport/trunk" />
<property name="pathvisio.dir" value="../../common-bundles/trunk" />
<property name="common.bundles" value="../../common-bundles/trunk" />
<import file="${common.bundles}/plugin-common.xml"/>
<!-- embedded jars are embedded in the resulting bundle -->
<path id="embed.jars">
<!-- None -->
</path>
<path id="project.class.path">
<fileset dir="${pathvisio.dir}/modules">
<include name="org.pathvisio.core.jar"/>
<include name="org.pathvisio.gui.jar"/>
<include name="org.pathvisio.desktop.jar"/>
<include name="org.pathvisio.data.jar"/>
<include name="org.pathvisio.visualization.jar"/>
<include name="org.pathvisio.gexplugin.jar"/>
<include name="org.pathvisio.statistics.jar"/>
</fileset>
<fileset dir="${pathvisio.dir}/lib">
<include name="felix.jar"/>
<include name="org.bridgedb.jar"/>
<include name="org.bridgedb.bio.jar"/>
<include name="org.bridgedb.gui.jar"/>
<include name="org.bridgedb.rdb.jar"/>
<include name="org.bridgedb.rdb.construct.jar"/>
<include name="com.springsource.org.jdom-1.1.0.jar"/>
<include name="derby.jar"/>
<include name="org.pathvisio.jgoodies.forms.jar"/>
<include name="commons-codec-1.5.jar"/>
</fileset>
<fileset dir="${org.pathvisio.htmlexport.dir}/dist">
<include name="org.pathvisio.htmlexport.jar"/>
</fileset>
<fileset dir="${common.bundles}">
<include name="org.apache.commons.httpclient_3.0.1.v201005080501.jar"/>
<include name="org.apache.xmlrpc_3.0.0.v20100427-1100.jar"/>
<include name="org.kohsuke.args4j_2.0.12.v200910131500.jar"/>
<include name="org.apache.commons.io.jar"/>
</fileset>
<fileset dir="${common.bundles}/lib">
<include name="org.pathvisio.ws.commons.util.jar"/>
</fileset>
</path>
<target name="prepare">
<mkdir dir="dist"/>
<copy toDir="dist">
<fileset dir="${pathvisio.dir}/lib">
<include name="commons-codec-1.5.jar"/>
</fileset>
<fileset dir="${common.bundles}">
<include name="org.apache.commons.httpclient_3.0.1.v201005080501.jar"/>
<include name="org.apache.xmlrpc_3.0.0.v20100427-1100.jar"/>
</fileset>
</copy>
</target>
<target name="standalone" depends="jar">
<jar destfile="dist/${ant.project.name}-standalone.jar" filesetmanifest="mergewithoutmain">
<manifest>
<attribute name="Main-Class" value="org.pathvisio.xmlrpc.JavaServer"/>
<attribute name="Class-Path" value="."/>
</manifest>
<zipfileset src="dist/PathVisioRPC.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/modules/org.pathvisio.core.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/modules/org.pathvisio.gui.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/modules/org.pathvisio.desktop.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/modules/org.pathvisio.data.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/modules/org.pathvisio.visualization.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/modules/org.pathvisio.statistics.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/modules/org.pathvisio.gexplugin.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${org.pathvisio.htmlexport.dir}/dist//org.pathvisio.htmlexport.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/derby.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/com.springsource.org.jdom-1.1.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.pathvisio.pdftranscoder.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.bridgedb.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.bridgedb.bio.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.bridgedb.rdb.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.apache.batik.bridge_1.7.0.v201011041433.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.apache.batik.css_1.7.0.v201011041433.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.apache.batik.dom_1.7.0.v201011041433.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.apache.batik.dom.svg_1.7.0.v201011041433.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.apache.batik.ext.awt_1.7.0.v201011041433.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.apache.batik.extension_1.7.0.v201011041433.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.apache.batik.parser_1.7.0.v201011041433.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.apache.batik.svggen_1.7.0.v201011041433.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.apache.batik.transcoder_1.7.0.v201011041433.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.apache.batik.util_1.7.0.v201011041433.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.apache.batik.util.gui_1.7.0.v200903091627.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.apache.batik.xml_1.7.0.v201011041433.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/javax.xml_1.3.4.v201005080400.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.apache.xml.resolver_1.2.0.v201005080400.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.apache.xml.serializer_2.7.1.v201005080400.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.w3c.css.sac_1.3.1.v200903091627.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.w3c.dom.events_3.0.0.draft20060413_v201105210656.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.w3c.dom.smil_1.0.1.v200903091627.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.w3c.dom.svg_1.1.0.v201011041433.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${common.bundles}/lib/org.junit_4.10.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/com.springsource.org.apache.commons.logging-1.1.1.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${common.bundles}/org.apache.commons.io.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.eclipse.osgi.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.pathvisio.jgoodies.forms.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.bridgedb.gui.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/commons-math-2.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.bridgedb.rdb.construct.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.apache.felix.bundlerepository-1.6.6.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${common.bundles}/org.apache.commons.httpclient_3.0.1.v201005080501.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${common.bundles}/org.apache.xmlrpc_3.0.0.v20100427-1100.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${common.bundles}/org.kohsuke.args4j_2.0.12.v200910131500.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/org.pathvisio.ws.commons.util.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${pathvisio.dir}/lib/commons-codec-1.5.jar"/>
</jar>
</target>
</project>