Newer
Older
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
<project name='build-common' default='compile'>
<import file='dependencies.xml'/>
<property name='build' location='build'/>
<dirname property='build-common.root' file='${ant.file.build-common}'/>
<fileset id='third-party-jars' dir='${build-common.root}/lib'>
<include name='*.jar'/>
</fileset>
<path id='api-classes'>
<pathelement location='${build-common.root}/api/build'/>
</path>
<path id='component-classes'>
<pathelement location='${build-common.root}/components/build'/>
</path>
<path id='util-classes'>
<pathelement location='${build-common.root}/util/build'/>
</path>
<target name='clean'>
<delete dir='${build}'/>
</target>
<target name='compile'>
<mkdir dir='${build}'/>
<javac srcdir='net/sf/briar' destdir='${build}'
includeantruntime='false'>
<classpath>
<fileset refid='third-party-jars'/>
<path refid='api-classes'/>
<path refid='component-classes'/>
<path refid='util-classes'/>
</classpath>
</javac>
</target>
<target name='depend'>
<antcall target='depend.${ant.project.name}'/>
</target>
<target name='depend-clean'>
<antcall target='depend-clean.${ant.project.name}'/>
</target>
</project>