source: apps/susimail/build.xml @ 2d15a421

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

big code cleanup to reduce number of compiler warnings

  • Property mode set to 100644
File size: 1.6 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="off" 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" />
38        </delete>
39        <delete dir="src/WEB-INF/classes/i2p"/>
40        <delete file="susimail.war"/>
41    </target>
42    <target name="cleandep" depends="clean" />
43    <target name="distclean" depends="clean" />
44</project>
Note: See TracBrowser for help on using the repository browser.