HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2011-03-23 6bb368fb37325070f138175d630fc4322ca491bc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>
<project name="hsarweb" default="war">
 
    <path id="cp">
        <fileset dir="WebContent/WEB-INF/lib">
            <include name="**/*.jar"/>
        </fileset>
        <fileset dir="/usr/share/java">
            <include name="servlet-api-2.4.jar"/>
        </fileset>
    </path>
    
    <target name="war" depends="compile">
        <war destfile="build/hsarweb.war" basedir="WebContent">
            <classes dir="build/cls" />
            <classes dir="src">
                <include name="**/*.properties"/>
                <include name="**/*.png"/>
            </classes>
        </war>
    </target>
 
    <target name="compile">
        <mkdir dir="build/cls"/>
        <javac srcdir="src" destdir="build/cls"
             classpathref="cp" debug="on"
        />    
    </target>
 
</project>