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