HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2010-09-07 7f6432f4e812b4e6f70eda798301f7b04e9498d6
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
31
32
33
34
35
<?xml version="1.0" encoding="UTF-8"?>
 
<project name="authenticator" default="default" basedir=".">
    
    <property file="${user.home}/.ant.hsar.properties" />
    <property name="lib.home" value="${basedir}/lib" />
    <property name="src.home" value="${basedir}/src" />
    <property name="war.home" value="${basedir}/webapp" />
    <property name="cls.home" value="${war.home}/WEB-INF/classes" />
    <property name="compile.debug" value="true" />
 
    <path id="compile.classpath">
        <fileset dir="lib">
            <include name="*.jar" />
        </fileset>
    </path>
 
    <target name="default" depends="compile" description="Patch WAR File">
        <echo message="target war: ${cas.openedwar}"/>
        <copy todir="${cas.openedwar}">
            <fileset dir="${war.home}"/>
        </copy>
    </target>
 
    <target name="compile" description="Compile Authenticator">
        <javac srcdir="${src.home}" destdir="${cls.home}" debug="${compile.debug}">
            <classpath refid="compile.classpath" />
        </javac>
    </target>
    
    <target name="clean" description="Remove compiled classes">
        <delete dir="${cls.home}/de"/>
    </target>
 
</project>