source: apps/susimail/build.xml @ aa3a44c4

Last change on this file since aa3a44c4 was aa3a44c4, checked in by zzz <zzz@…>, 16 years ago

2005-02-17 jrandom

  • Included the GPL'ed susimail 0.13 by default (thanks susi23!)
  • Property mode set to 100644
File size: 1.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<project basedir="." default="all" name="susimail">
3    <target name="all" depends="clean, build" />
4    <target name="build" depends="builddep, jar" />
5    <target name="builddep">
6        <ant dir="../jetty/" target="build" />
7    </target>
8    <target name="compile" depends="clean">
9        <javac 
10            srcdir="./src/src"
11            debug="true" deprecation="on" source="1.3" target="1.3" 
12            destdir="./src/WEB-INF/classes">
13            <classpath>
14                <pathelement location="../jetty/jettylib/javax.servlet.jar" />
15                <pathelement location="../jetty/jettylib/org.mortbay.jetty.jar" />
16            </classpath>
17        </javac>
18    </target>
19    <target name="jar" depends="compile, war" />
20    <target name="war" depends="compile">
21        <war destfile="susimail.war" webxml="src/WEB-INF/web.xml"
22             basedir="src/" excludes="WEB-INF/web.xml">
23        </war>
24    </target>
25    <target name="javadoc">
26        <mkdir dir="./build" />
27        <mkdir dir="./build/javadoc" />
28        <javadoc 
29            sourcepath="./src/src/" destdir="./build/javadoc" 
30            packagenames="*" 
31            use="true" 
32            splitindex="true" 
33            windowtitle="susimail" />
34    </target>
35    <target name="clean">
36        <delete>
37            <fileset dir="src/WEB-INF/classes/" includes="**/*.class, susimail.war" />
38        </delete>
39    </target>
40    <target name="cleandep" depends="clean" />
41    <target name="distclean" depends="clean" />
42</project>
Note: See TracBrowser for help on using the repository browser.