466 |
12 Nov 07 |
dominic |
1 |
<?xml version="1.0" encoding="UTF-8"?> |
466 |
12 Nov 07 |
dominic |
2 |
<project name="EBIPlugin" default="build.plugin" basedir="." > |
466 |
12 Nov 07 |
dominic |
3 |
|
466 |
12 Nov 07 |
dominic |
<!-- variables used --> |
466 |
12 Nov 07 |
dominic |
5 |
<property name="src.plugins" location="src" /> |
466 |
12 Nov 07 |
dominic |
6 |
<property name="bin.plugins" location="bin" /> |
466 |
12 Nov 07 |
dominic |
7 |
<property name="lib.plugins" location="lib" /> |
466 |
12 Nov 07 |
dominic |
8 |
<property name="util.src.plugins" location="${src.plugins}/uk/ac/ebi/nugo/common/" /> |
466 |
12 Nov 07 |
dominic |
9 |
<property name="core.src.plugins" location="${src.plugins}/uk/ac/ebi/nugo/plugins" /> |
466 |
12 Nov 07 |
dominic |
10 |
|
466 |
12 Nov 07 |
dominic |
11 |
<property name="javac.arg" value="-Xlint:unchecked" |
466 |
12 Nov 07 |
dominic |
12 |
description="Extra arguments sent to Java compiler" /> |
466 |
12 Nov 07 |
dominic |
13 |
<property name="plugin.name" value="Tab2MageImporter" /> |
466 |
12 Nov 07 |
dominic |
14 |
<property name="utils.name" value="ebi-plugins-utils" /> |
466 |
12 Nov 07 |
dominic |
15 |
|
466 |
12 Nov 07 |
dominic |
<!-- set up classpath for compiling --> |
466 |
12 Nov 07 |
dominic |
17 |
<path id="nugo.plugin.compile.classpath"> |
466 |
12 Nov 07 |
dominic |
18 |
<fileset dir="${lib.plugins}"> |
466 |
12 Nov 07 |
dominic |
19 |
<include name="**/*.jar"/> |
466 |
12 Nov 07 |
dominic |
20 |
</fileset> |
466 |
12 Nov 07 |
dominic |
21 |
</path> |
466 |
12 Nov 07 |
dominic |
22 |
|
466 |
12 Nov 07 |
dominic |
23 |
<target |
466 |
12 Nov 07 |
dominic |
24 |
name="build.plugin" |
473 |
12 Nov 07 |
dominic |
25 |
depends= "utils,plugin.compile" |
466 |
12 Nov 07 |
dominic |
26 |
description="Compile the plugin" |
466 |
12 Nov 07 |
dominic |
27 |
/> |
466 |
12 Nov 07 |
dominic |
28 |
|
466 |
12 Nov 07 |
dominic |
29 |
<target name="utils" |
466 |
12 Nov 07 |
dominic |
30 |
depends="clean" |
466 |
12 Nov 07 |
dominic |
31 |
description="compile the common ebi -plugin util classes" |
466 |
12 Nov 07 |
dominic |
32 |
> |
466 |
12 Nov 07 |
dominic |
33 |
<javac |
466 |
12 Nov 07 |
dominic |
34 |
encoding="ISO-8859-1" |
466 |
12 Nov 07 |
dominic |
35 |
srcdir="${util.src.plugins}" |
466 |
12 Nov 07 |
dominic |
36 |
destdir="${bin.plugins}" |
466 |
12 Nov 07 |
dominic |
37 |
classpathref="nugo.plugin.compile.classpath" |
466 |
12 Nov 07 |
dominic |
38 |
debug="true" |
466 |
12 Nov 07 |
dominic |
39 |
deprecation="true" |
466 |
12 Nov 07 |
dominic |
40 |
> |
466 |
12 Nov 07 |
dominic |
41 |
<compilerarg value="${javac.arg}" /> |
466 |
12 Nov 07 |
dominic |
42 |
</javac> |
466 |
12 Nov 07 |
dominic |
43 |
<jar |
466 |
12 Nov 07 |
dominic |
44 |
basedir="${bin.plugins}" |
466 |
12 Nov 07 |
dominic |
45 |
jarfile="${lib.plugins}\ebi-plugins-utils.jar" |
466 |
12 Nov 07 |
dominic |
46 |
/> |
466 |
12 Nov 07 |
dominic |
47 |
<jar |
466 |
12 Nov 07 |
dominic |
48 |
basedir="${bin.plugins}" |
466 |
12 Nov 07 |
dominic |
49 |
jarfile="${utils.name}.jar" |
466 |
12 Nov 07 |
dominic |
50 |
/> |
473 |
12 Nov 07 |
dominic |
51 |
<delete includeemptydirs="true"> |
473 |
12 Nov 07 |
dominic |
52 |
<fileset dir="${bin.plugins}" includes="**/*"/> |
473 |
12 Nov 07 |
dominic |
53 |
</delete> |
466 |
12 Nov 07 |
dominic |
54 |
</target> |
466 |
12 Nov 07 |
dominic |
55 |
|
466 |
12 Nov 07 |
dominic |
56 |
<target |
473 |
12 Nov 07 |
dominic |
57 |
name="plugin.compile" |
466 |
12 Nov 07 |
dominic |
58 |
depends="clean" |
466 |
12 Nov 07 |
dominic |
59 |
description="compile the ta2mage importer plugin source code, without dependencies and put in a jar file" |
466 |
12 Nov 07 |
dominic |
60 |
> |
466 |
12 Nov 07 |
dominic |
61 |
<javac |
466 |
12 Nov 07 |
dominic |
62 |
encoding="ISO-8859-1" |
466 |
12 Nov 07 |
dominic |
63 |
srcdir="${core.src.plugins}" |
466 |
12 Nov 07 |
dominic |
64 |
destdir="${bin.plugins}" |
466 |
12 Nov 07 |
dominic |
65 |
classpathref="nugo.plugin.compile.classpath" |
466 |
12 Nov 07 |
dominic |
66 |
debug="true" |
466 |
12 Nov 07 |
dominic |
67 |
deprecation="true" |
466 |
12 Nov 07 |
dominic |
68 |
> |
466 |
12 Nov 07 |
dominic |
69 |
<compilerarg value="${javac.arg}" /> |
466 |
12 Nov 07 |
dominic |
70 |
</javac> |
466 |
12 Nov 07 |
dominic |
71 |
<jar |
466 |
12 Nov 07 |
dominic |
72 |
basedir="${bin.plugins}" |
466 |
12 Nov 07 |
dominic |
73 |
jarfile="${plugin.name}.jar" |
470 |
12 Nov 07 |
dominic |
74 |
manifest="MANIFEST.MF" |
466 |
12 Nov 07 |
dominic |
75 |
|
466 |
12 Nov 07 |
dominic |
76 |
/> |
473 |
12 Nov 07 |
dominic |
77 |
<delete includeemptydirs="true"> |
473 |
12 Nov 07 |
dominic |
78 |
<fileset dir="${bin.plugins}" includes="**/*"/> |
473 |
12 Nov 07 |
dominic |
79 |
</delete> |
466 |
12 Nov 07 |
dominic |
80 |
</target> |
466 |
12 Nov 07 |
dominic |
81 |
|
466 |
12 Nov 07 |
dominic |
82 |
<target |
466 |
12 Nov 07 |
dominic |
83 |
name="all" |
466 |
12 Nov 07 |
dominic |
84 |
depends="clean" |
466 |
12 Nov 07 |
dominic |
85 |
description="compile all the ta2mage importer plugin source code with dependencies and put in a jar file" |
466 |
12 Nov 07 |
dominic |
86 |
> |
466 |
12 Nov 07 |
dominic |
87 |
<javac |
466 |
12 Nov 07 |
dominic |
88 |
encoding="ISO-8859-1" |
466 |
12 Nov 07 |
dominic |
89 |
srcdir="${src.plugins}" |
466 |
12 Nov 07 |
dominic |
90 |
destdir="${bin.plugins}" |
466 |
12 Nov 07 |
dominic |
91 |
classpathref="nugo.plugin.compile.classpath" |
466 |
12 Nov 07 |
dominic |
92 |
debug="true" |
466 |
12 Nov 07 |
dominic |
93 |
deprecation="true" |
466 |
12 Nov 07 |
dominic |
94 |
> |
466 |
12 Nov 07 |
dominic |
95 |
<compilerarg value="${javac.arg}" /> |
466 |
12 Nov 07 |
dominic |
96 |
</javac> |
466 |
12 Nov 07 |
dominic |
97 |
<jar |
466 |
12 Nov 07 |
dominic |
98 |
basedir="${bin.plugins}" |
466 |
12 Nov 07 |
dominic |
99 |
jarfile="${plugin.name}.jar" |
470 |
12 Nov 07 |
dominic |
100 |
manifest="MANIFEST.MF" |
466 |
12 Nov 07 |
dominic |
101 |
/> |
466 |
12 Nov 07 |
dominic |
102 |
</target> |
466 |
12 Nov 07 |
dominic |
103 |
|
466 |
12 Nov 07 |
dominic |
104 |
<target |
466 |
12 Nov 07 |
dominic |
105 |
name="clean" |
466 |
12 Nov 07 |
dominic |
106 |
depends="" |
466 |
12 Nov 07 |
dominic |
107 |
description="clean/clear the bin folder" |
466 |
12 Nov 07 |
dominic |
108 |
> |
466 |
12 Nov 07 |
dominic |
109 |
<delete includeemptydirs="true"> |
466 |
12 Nov 07 |
dominic |
110 |
<fileset dir="${bin.plugins}" includes="**/*"/> |
466 |
12 Nov 07 |
dominic |
111 |
</delete> |
466 |
12 Nov 07 |
dominic |
112 |
</target> |
466 |
12 Nov 07 |
dominic |
113 |
|
466 |
12 Nov 07 |
dominic |
114 |
</project> |