forked from i2p/i2p.www
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
39 lines (32 loc) · 1.14 KB
/
build.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<project name="i2p.docs" default="all" basedir=".">
<!-- set global properties for this build -->
<property name="base" location="../../i2p.i2p" />
<property name="core.src" location="${base}/core/java/src" />
<property name="out" location="out" />
<property name="core.out" location="${out}/core" />
<property name="static" location="static" />
<target name="pre">
<mkdir dir="${out}" />
<mkdir dir="${core.out}" />
<!-- TODO: fail if base doesn't exist -->
</target>
<target name="core" depends="pre">
<javadoc packagenames="net.i2p.*"
sourcepath="${core.src}"
destdir="${core.out}"
author="true"
version="true"
use="true" />
</target>
<target name="finish" depends="core">
<copy todir="${out}">
<fileset dir="${static}" />
</copy>
</target>
<target name="all" depends="core,finish" />
<target name="clean" description="clean up" >
<!-- Delete the ${build} and ${dist} directory trees -->
<delete dir="${out}"/>
</target>
</project>