-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
50 lines (41 loc) · 1.24 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
<project name="fellesprosjekt" default="compile" basedir=".">
<target name="init">
<tstamp/>
<property name="lib" value="lib" />
<property name="build" value="build" />
<property name="src" value="src" />
<property name="doc" value="doc" />
<filter token="year" value="2005" />
<path id="lib.path">
<pathelement path="${classpath}"/>
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
<pathelement location="${build}"/>
</path>
</target>
<target name="prepare" depends="init">
<mkdir dir="${build}" />
<mkdir dir="${doc}" />
</target>
<target name="clean" depends="init">
<delete dir="${build}" />
<delete dir="${doc}" />
<delete dir="Log" />
</target>
<target name="compile" depends="prepare">
<javac srcdir="${src}"
destdir="${build}"
debug="on"
includeantruntime="false"
deprecation="off"
executable="${build}">
<classpath refid="lib.path" />
</javac>
</target>
<target name="doc" depends="init">
<javadoc packagenames="no.ntnu.fp.*"
sourcepath="${src}"
destdir="${doc}" />
</target>
</project>