diff options
author | Stef <stef@ws.local> | 2004-05-05 22:26:46 +0000 |
---|---|---|
committer | Stef <stef@ws.local> | 2004-05-05 22:26:46 +0000 |
commit | f2b3b94f01314b0721906c494e6ae793fe500e21 (patch) | |
tree | 31d0eb505f1bd69413236ab5a7fb525a302f22c4 | |
parent | 9e78a8d490ee05f131f9700cead9c7f75eba3a3b (diff) |
- Added ant build file
- Ignore some more junk
-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 |