-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.xml
More file actions
48 lines (40 loc) · 1.18 KB
/
build.xml
File metadata and controls
48 lines (40 loc) · 1.18 KB
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
<?xml version="1.0"?>
<project name="GseaPlugin" default="jar" basedir=".">
<macrodef name="iterate">
<attribute name="target"/>
<sequential>
<subant target="@{target}">
<filelist dir=".">
<file name="org.pathvisio.ora/build.xml"/>
<file name="org.pathvisio.ora.plugin/build.xml"/>
</filelist>
</subant>
</sequential>
</macrodef>
<target name="clean" description="Remove all intermediate files.">
<iterate target="clean"/>
</target>
<target name="dist-clean" description="Remove all intermediate files.">
<iterate target="clean"/>
<delete dir="dist"/>
</target>
<target name="jar" description="Compile project">
<iterate target="jar"/>
<!-- creates dist directory for plugin including all dependencies-->
<mkdir dir="dist"/>
<copy toDir="dist">
<fileset dir="org.pathvisio.ora/dist/">
<include name="*.jar"/>
</fileset>
<fileset dir="org.pathvisio.ora.plugin/dist/">
<include name="*.jar"/>
</fileset>
</copy>
</target>
<target name="install" description="Generate jar files">
<iterate target="install"/>
</target>
<target name="test" description="Run junit tests">
<iterate target="test"/>
</target>
</project>