396 |
15 Aug 07 |
dominic |
1 |
<?xml version="1.0" encoding="UTF-8"?> |
396 |
15 Aug 07 |
dominic |
2 |
<project name="EbiPlugin" default="build.plugin" basedir="." > |
396 |
15 Aug 07 |
dominic |
3 |
|
396 |
15 Aug 07 |
dominic |
<!-- variables used --> |
396 |
15 Aug 07 |
dominic |
5 |
<property name="src.plugins" location="src" /> |
396 |
15 Aug 07 |
dominic |
6 |
<property name="bin.plugins" location="bin" /> |
396 |
15 Aug 07 |
dominic |
7 |
<property name="lib.plugins" location="lib" /> |
396 |
15 Aug 07 |
dominic |
8 |
<property name="util.src.plugins" location="${src.plugins}/uk/ac/ebi/nugo/common" /> |
396 |
15 Aug 07 |
dominic |
9 |
<property name="core.src.plugins" location="${src.plugins}/uk/ac/ebi/nugo/plugins" /> |
396 |
15 Aug 07 |
dominic |
10 |
|
396 |
15 Aug 07 |
dominic |
11 |
<property name="javac.arg" value="-Xlint:unchecked" |
396 |
15 Aug 07 |
dominic |
12 |
description="Extra arguments sent to Java compiler" /> |
396 |
15 Aug 07 |
dominic |
13 |
<property name="plugin.name" value="Tab2MageExporter" /> |
396 |
15 Aug 07 |
dominic |
14 |
<property name="utils.name" value="ebi-plugins-utils" /> |
396 |
15 Aug 07 |
dominic |
15 |
|
396 |
15 Aug 07 |
dominic |
<!-- set up classpath for compiling --> |
396 |
15 Aug 07 |
dominic |
17 |
<path id="nugo.plugin.compile.classpath"> |
396 |
15 Aug 07 |
dominic |
18 |
<fileset dir="${lib.plugins}"> |
396 |
15 Aug 07 |
dominic |
19 |
<include name="**/*.jar"/> |
396 |
15 Aug 07 |
dominic |
20 |
</fileset> |
396 |
15 Aug 07 |
dominic |
21 |
</path> |
396 |
15 Aug 07 |
dominic |
22 |
|
396 |
15 Aug 07 |
dominic |
23 |
<target |
396 |
15 Aug 07 |
dominic |
24 |
name="build.plugin" |
396 |
15 Aug 07 |
dominic |
25 |
depends="utils,nutriplugin.compile" |
396 |
15 Aug 07 |
dominic |
26 |
description="Compile the plugin" |
396 |
15 Aug 07 |
dominic |
27 |
/> |
396 |
15 Aug 07 |
dominic |
28 |
|
396 |
15 Aug 07 |
dominic |
29 |
<target name="utils" |
396 |
15 Aug 07 |
dominic |
30 |
depends="" |
396 |
15 Aug 07 |
dominic |
31 |
description="compile the common ebi -plugin util classes" |
396 |
15 Aug 07 |
dominic |
32 |
> |
447 |
30 Oct 07 |
dominic |
33 |
<mkdir dir="${bin.plugins}"/> |
396 |
15 Aug 07 |
dominic |
34 |
<javac |
396 |
15 Aug 07 |
dominic |
35 |
encoding="ISO-8859-1" |
396 |
15 Aug 07 |
dominic |
36 |
srcdir="${util.src.plugins}" |
396 |
15 Aug 07 |
dominic |
37 |
destdir="${bin.plugins}" |
396 |
15 Aug 07 |
dominic |
38 |
classpathref="nugo.plugin.compile.classpath" |
396 |
15 Aug 07 |
dominic |
39 |
debug="true" |
396 |
15 Aug 07 |
dominic |
40 |
deprecation="true" |
396 |
15 Aug 07 |
dominic |
41 |
> |
396 |
15 Aug 07 |
dominic |
42 |
<compilerarg value="${javac.arg}" /> |
396 |
15 Aug 07 |
dominic |
43 |
</javac> |
396 |
15 Aug 07 |
dominic |
44 |
<jar |
396 |
15 Aug 07 |
dominic |
45 |
basedir="${bin.plugins}" |
396 |
15 Aug 07 |
dominic |
46 |
jarfile="${lib.plugins}\ebi-plugins-utils.jar" |
396 |
15 Aug 07 |
dominic |
47 |
/> |
396 |
15 Aug 07 |
dominic |
48 |
<jar |
396 |
15 Aug 07 |
dominic |
49 |
basedir="${bin.plugins}" |
396 |
15 Aug 07 |
dominic |
50 |
jarfile="${utils.name}.jar" |
396 |
15 Aug 07 |
dominic |
51 |
/> |
396 |
15 Aug 07 |
dominic |
52 |
<delete includeemptydirs="true"> |
396 |
15 Aug 07 |
dominic |
53 |
<fileset dir="${bin.plugins}" includes="**/*"/> |
396 |
15 Aug 07 |
dominic |
54 |
</delete> |
396 |
15 Aug 07 |
dominic |
55 |
</target> |
396 |
15 Aug 07 |
dominic |
56 |
|
396 |
15 Aug 07 |
dominic |
57 |
<target |
396 |
15 Aug 07 |
dominic |
58 |
name="nutriplugin.compile" |
396 |
15 Aug 07 |
dominic |
59 |
depends="" |
396 |
15 Aug 07 |
dominic |
60 |
description="compile the Tab2MageExporter plugin source code and put in a jar file" |
396 |
15 Aug 07 |
dominic |
61 |
> |
396 |
15 Aug 07 |
dominic |
62 |
<javac |
396 |
15 Aug 07 |
dominic |
63 |
encoding="ISO-8859-1" |
396 |
15 Aug 07 |
dominic |
64 |
srcdir="${core.src.plugins}" |
396 |
15 Aug 07 |
dominic |
65 |
destdir="${bin.plugins}" |
396 |
15 Aug 07 |
dominic |
66 |
classpathref="nugo.plugin.compile.classpath" |
396 |
15 Aug 07 |
dominic |
67 |
debug="true" |
396 |
15 Aug 07 |
dominic |
68 |
deprecation="true" |
396 |
15 Aug 07 |
dominic |
69 |
> |
396 |
15 Aug 07 |
dominic |
70 |
<compilerarg value="${javac.arg}" /> |
396 |
15 Aug 07 |
dominic |
71 |
</javac> |
396 |
15 Aug 07 |
dominic |
72 |
<jar |
396 |
15 Aug 07 |
dominic |
73 |
basedir="${bin.plugins}" |
396 |
15 Aug 07 |
dominic |
74 |
jarfile="${plugin.name}.jar" |
396 |
15 Aug 07 |
dominic |
75 |
|
396 |
15 Aug 07 |
dominic |
76 |
/> |
396 |
15 Aug 07 |
dominic |
77 |
<delete includeemptydirs="true"> |
396 |
15 Aug 07 |
dominic |
78 |
<fileset dir="${bin.plugins}" includes="**/*"/> |
396 |
15 Aug 07 |
dominic |
79 |
</delete> |
396 |
15 Aug 07 |
dominic |
80 |
</target> |
396 |
15 Aug 07 |
dominic |
81 |
</project> |