diff options
Diffstat (limited to 'java/build.xml')
-rw-r--r-- | java/build.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/java/build.xml b/java/build.xml new file mode 100644 index 0000000..13a3f48 --- /dev/null +++ b/java/build.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="httpauth-client" default="build" basedir="."> + + <target name="init"> + <property name="version" value="0.5"/> + </target> + + <target name="build" depends="init"> + <mkdir dir="build"/> + <javac srcdir="src" destdir="build" includes="**/*.java" + classpath="lib/javax.servlet.jar;lib/org.mortbay.jetty.jar" compiler="extJavac"/> + </target> + + <target name="clean" depends="init"> + <delete dir="build"/> + </target> + + <target name="makedist" depends="init,build"> + <mkdir dir="build"/> + <manifest file="build/manifest"> + <!-- <attribute name="Main-Class" value="com.memberwebs.XXXX"/> --> + <attribute name="Class-Path" value="lib/javax.servlet.jar lib/org.mortbay.jetty.jar"/> + <attribute name="Implementation-Title" value="httpauth-client"/> + <attribute name="Implementation-Version" value="${version}"/> + <attribute name="Implementation-Vendor" value="nielsen@memberwebs.com"/> + </manifest> + <jar basedir="." destfile="build/httpauth-client-src.jar" excludes="CVS .* build/* .svn"/> + <jar basedir="build" destfile="build/httpauth-client.jar" manifest="build/manifest" includes="**/*.class"/> + </target> + + <target name="javadoc"> + <mkdir dir="build"/> + <javadoc access="public" author="true" + classpath="build:lib/javax.servlet.jar:lib/org.mortbay.jetty.jar" + destdir="build/doc" nodeprecated="true" + nodeprecatedlist="true" noindex="false" nonavbar="false" + notree="false" + packagenames="com.memberwebs.httpauth,com.memberwebs.httpauth.jetty,com.memberwebs.httpauth.servlet" + sourcepath="src" splitindex="false" use="true" version="true"/> + </target> + +</project> |