-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.xml
83 lines (76 loc) · 2.6 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<project name="card" default="compile" basedir=".">
<description>
Holiday card example
</description>
<!-- set global properties for this build -->
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="doc" location="doc"/>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
<!-- Create the build directory structure used by compile -->
<mkdir dir="${build}"/>
<mkdir dir="${doc}"/>
<mkdir dir="${build}/classes"/>
</target>
<target name="compile" depends="init"
description="compile the source, build library " >
<javac srcdir="${src}" destdir="${build}/classes"
excludes="**/RCS/*,**/UmlGraph.java"
includeantruntime="false"
debug="true" debuglevel="lines,vars,source" deprecation="on" >
<compilerarg value="-Xlint"/>
</javac>
<jar basedir="${build}/classes" destfile="${build}/HolidayCard.jar"
includes="**"
includesfile="${src}/main/resources/Jingle_Bells_full_Ab.mid"
manifest="${src}/Manifest">
<fileset dir="${build}/classes"/>
<fileset dir="${src}/main/resources"/>
</jar>
</target>
<target name="doc" depends="init"
description="generate the documentation" >
<javadoc
packagenames="gr.aueb.card"
sourcepath="${src}"
destdir="${doc}"
nohelp="true"
notree="true"
nodeprecated="true"
nodeprecatedlist="true"
Version="true"
author="true"
version="true"
windowtitle="Holiday Card documentation"
doctitle="Holiday Card documentation"
bottom="Copyright © 2005-2023 Athens University of Economics and Business. All Rights Reserved."
>
<fileset dir="${src}" includes="**/*.java" />
</javadoc>
</target>
<target name="privdoc" depends="init"
description="generate the internal documentation" >
<javadoc
packagenames="gr.aueb.dds.card"
sourcepath="${src}"
destdir="${privdoc}"
nohelp="true"
notree="true"
nodeprecated="true"
nodeprecatedlist="true"
Version="true"
author="true"
private="true"
version="true"
windowtitle="Holiday Card Internal API Documentation"
doctitle="Exercise API"
bottom="Copyright © 2023 Athens University of Economics and Business. All Rights Reserved."
>
<fileset dir="${src}" excludes="Manifest">
<include name="**/*.java" />
</fileset>
</javadoc>
</target>
</project>