HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2012-09-21 d3c62505b302cf30bedc7cd809cc3815ba668ef7
commit | author | age
64cb9b 1 <?xml version="1.0" encoding="UTF-8"?>
PH 2 <project name="hsarweb" default="war">
3
ff5521 4     <property file="${user.home}/.hsar.ant.properties" />
PH 5
64cb9b 6     <path id="cp">
e780b1 7         <fileset dir="WebContent/WEB-INF/lib">
64cb9b 8             <include name="**/*.jar"/>
e780b1 9         </fileset>
d3c625 10         <fileset dir="../hsarback/lib">
e780b1 11             <include name="servlet-api-2.4.jar"/>
64cb9b 12         </fileset>
PH 13     </path>
14     
15     <target name="war" depends="compile">
ff5521 16         <copy file="conf/WEB-INF/web.xml" todir="WebContent/WEB-INF/">
PH 17             <filterset>
18                 <filter token="LOGIN_HOST" value="${cas.domain.name}"/>
19                 <filter token="LOGIN_PORT" value="${cas.https.port}"/>
20                 <filter token="CONFIG_HOST" value="${hsar.domain.name}"/>
21                 <filter token="CONFIG_PORT" value="${hsar.https.port}"/>
22                 <filter token="ADMIN_HOST" value="${hsarweb.domain.name}"/>
23                 <filter token="ADMIN_PORT" value="${hsarweb.https.port}"/>
24             </filterset>
25         </copy>
e780b1 26         <war destfile="build/hsarweb.war" basedir="WebContent">
64cb9b 27             <classes dir="build/cls" />
PH 28             <classes dir="src">
29                 <include name="**/*.properties"/>
30             </classes>
31         </war>
32     </target>
33
34     <target name="compile">
35         <mkdir dir="build/cls"/>
36         <javac srcdir="src" destdir="build/cls"
37              classpathref="cp" debug="on"
38         />    
39     </target>
40
41 </project>