summaryrefslogtreecommitdiff
path: root/build.xml
blob: febbdc0fcc4ce7dca463ede3e4bafdf8f1715cba (plain)
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
<?xml version="1.0" encoding="UTF-8"?>
<project name="ldapxml" default="build" basedir=".">

	<target name="init">
		<property name="version" value="0.9.4"/>
	</target>

    <target name="build">
        <javac srcdir="src" destdir="build" includes="**/*.java" classpath="lib/ldap.jar"/>
    </target>

	<target name="clean">
		<delete dir="build/com"/>
	</target>

	<target name="makedist" depends="init,build,javadoc">
		<manifest file="build/manifest">
			<section name="com/memberwebs/ldapxml">
				<attribute name="Class-Path" value="ldap.jar"/>
				<attribute name="Implementation-Title" value="LDAPXML"/>
				<attribute name="Implementation-Version" value="${version}"/>
				<attribute name="Implementation-Vendor" value="stef@memberwebs.com"/>
			</section>
		</manifest>
		<jar basedir="build" destfile="build/ldapxml-${version}.jar" manifest="build/manifest" includes="**/*.class"/>
		<jar basedir="." destfile="build/ldapxml-${version}-src.jar" excludes="CVS .* build/*"/>
	</target>

    <target name="javadoc">
        <javadoc access="public" author="true"
            classpath="build:lib/ldap.jar"
            destdir="/data/projects/ldapxml/doc" nodeprecated="false"
            nodeprecatedlist="false" noindex="false" nonavbar="false"
            notree="false"
            packagenames="com.memberwebs.ldapxml,com.memberwebs.ldapxml.helpers"
            sourcepath="src" splitindex="false" use="true" version="true"/>
    </target>
</project>