/
build.xml
56 lines (53 loc) · 2.18 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="UTF-8"?>
<project name="statmantis">
<target name="generate-mlb-artifacts">
<!-- clean -->
<delete dir="src/org/statmantis/mport/mlb/gen" />
<!-- taskdef -->
<taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
<classpath>
<fileset dir="lib" includes="*.jar" />
</classpath>
</taskdef>
<!-- xjc -->
<xjc schema="src/org/statmantis/mport/mlb/schema.xsd"
binding="src/org/statmantis/mport/mlb/schema.xjb"
package="org.statmantis.mport.mlb.gen" destdir="src">
<classpath>
<fileset dir="lib" includes="*.jar" />
</classpath>
</xjc>
</target>
<target name="clean">
<delete dir="build" />
</target>
<target name="build-javadoc">
<delete dir="build/doc/api/org" />
<delete dir="build/doc/api/resources" />
<delete dir="build/doc/api" includes="*" excludes="MathJax" includeemptydirs="true" />
<!-- compile my little taglet -->
<delete dir="build/doc/taglet" />
<mkdir dir="build/doc/taglet" />
<javac srcdir="src" includes="org/statmantis/tools/javadoc/*"
classpath="lib/doclet-api.jar" destdir="build/doc/taglet" />
<!-- javadoc -->
<javadoc sourcepath="src"
defaultexcludes="yes"
destdir="build/doc/api"
author="true"
version="true"
use="true"
windowtitle="StatMantis">
<doctitle><![CDATA[<h1>StatMantis</h1>]]></doctitle>
<bottom><![CDATA[<i>Copyright © 2010 Chad Retz. All Rights Reserved.</i>]]></bottom>
<link href="http://download.oracle.com/javase/6/docs/api/" />
<classpath>
<fileset dir="lib" includes="*.jar" />
</classpath>
<footer><![CDATA[
<script type=\"text/javascript\" src=\"{@docroot}/MathJax/MathJax.js\"></script>
]]></footer>
<taglet name="org.statmantis.tools.javadoc.LinkHrefTaglet" path="build/doc/taglet" />
</javadoc>
</target>
</project>