diff options
-rw-r--r-- | build.xml | 38 | ||||
-rw-r--r-- | doc/.cvsignore | 1 |
2 files changed, 39 insertions, 0 deletions
diff --git a/build.xml b/build.xml new file mode 100644 index 0000000..aa6096a --- /dev/null +++ b/build.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="ldapxml" default="build" basedir="."> + + <target name="init"> + <property name="version" value="0.9"/> + </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="nielsen@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> diff --git a/doc/.cvsignore b/doc/.cvsignore index 3c29d64..b77f98a 100644 --- a/doc/.cvsignore +++ b/doc/.cvsignore @@ -13,3 +13,4 @@ packages.html serialized-form.html stylesheet.css com +resources |