commit | author | age
|
7f6432
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
PH |
2 |
|
|
3 |
<project name="authenticator" default="default" basedir="."> |
|
4 |
|
|
5 |
<property file="${user.home}/.ant.hsar.properties" /> |
|
6 |
<property name="lib.home" value="${basedir}/lib" /> |
|
7 |
<property name="src.home" value="${basedir}/src" /> |
|
8 |
<property name="war.home" value="${basedir}/webapp" /> |
|
9 |
<property name="cls.home" value="${war.home}/WEB-INF/classes" /> |
|
10 |
<property name="compile.debug" value="true" /> |
|
11 |
|
|
12 |
<path id="compile.classpath"> |
|
13 |
<fileset dir="lib"> |
|
14 |
<include name="*.jar" /> |
|
15 |
</fileset> |
|
16 |
</path> |
|
17 |
|
|
18 |
<target name="default" depends="compile" description="Patch WAR File"> |
|
19 |
<echo message="target war: ${cas.openedwar}"/> |
|
20 |
<copy todir="${cas.openedwar}"> |
|
21 |
<fileset dir="${war.home}"/> |
|
22 |
</copy> |
|
23 |
</target> |
|
24 |
|
|
25 |
<target name="compile" description="Compile Authenticator"> |
|
26 |
<javac srcdir="${src.home}" destdir="${cls.home}" debug="${compile.debug}"> |
|
27 |
<classpath refid="compile.classpath" /> |
|
28 |
</javac> |
|
29 |
</target> |
|
30 |
|
|
31 |
<target name="clean" description="Remove compiled classes"> |
|
32 |
<delete dir="${cls.home}/de"/> |
|
33 |
</target> |
|
34 |
|
|
35 |
</project> |