-
Notifications
You must be signed in to change notification settings - Fork 14
/
doc.xml
36 lines (30 loc) · 1.13 KB
/
doc.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
<project default="doc">
<property environment="env" />
<property name="scala.home" value="${env.SCALA_HOME}" />
<property name="doc.dir" value="scaladoc" />
<property name="src.dir" value="src/main/scala" />
<taskdef name="scaladoc" classname="scala.tools.ant.Scaladoc">
<classpath>
<pathelement location="${scala.home}/lib/scala-compiler.jar" />
<pathelement location="${scala.home}/lib/scala/scala-library-2.9.2.jar" />
</classpath>
</taskdef>
<target name="doc">
<mkdir dir="${doc.dir}" />
<scaladoc
srcdir ="${src.dir}"
destdir="${doc.dir}"
doctitle="Ducttape">
<!-- Could also add attribute docversion="0.2" -->
<classpath>
<pathelement location="lib/scala-library.jar" />
<pathelement location="lib/scala-optparse-1.1.jar" />
<pathelement location="lib/test/scalatest-1.7.1.jar" />
<pathelement location="lib/test/junit-4.10.jar" />
<pathelement location="lib/commons-lang3-3.1.jar" />
<pathelement location="lib/webui/servlet-api-3.0.jar" />
<pathelement location="lib/webui/jetty-all-8.0.4.v20111024.jar" />
</classpath>
</scaladoc>
</target>
</project>