forked from xMAnton/ADPassword
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.xml
More file actions
50 lines (44 loc) · 1.35 KB
/
build.xml
File metadata and controls
50 lines (44 loc) · 1.35 KB
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
<project name="mytest" default="jar" basedir=".">
<description>
Build file for the Zimbra Extension.
</description>
<property name="lib" value="lib/"/>
<property name="build" value="build/"/>
<property name="src" value="src/"/>
<property name="jar" value="ADPassword.jar"/>
<path id="libraries">
<fileset dir="${lib}" >
<include name="*.jar"/>
</fileset>
</path>
<target name="clean">
<delete dir="${build}"/>
<delete file="ADPassword.jar"/>
<mkdir dir="${build}"/>
</target>
<target name="compile"
depends="clean">
<javac srcdir="${src}"
destdir="${build}"
includeantruntime="false"
debug="true"
debuglevel="lines,vars,source"
target="17"
source="17">
<classpath>
<path refid="libraries" />
</classpath>
</javac>
</target>
<target name="jar"
depends="compile">
<jar jarfile="${jar}"
compress="false"
basedir="${build}">
<manifest>
<attribute name="Zimbra-Extension-Class" value="it.iknowconsulting.adpassword.ADPassword" />
</manifest>
<fileset dir="${build}" />
</jar>
</target>
</project>