HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2011-05-16 b7df964612bb75550b74cb0c88cfd7addb4291b2
hsarweb/build.xml
@@ -1,17 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="hsarweb" default="war">
   <property file="${user.home}/.hsar.ant.properties" />
   <path id="cp">
      <fileset dir="lib">
      <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="webapp">
           <lib dir="lib">
              <include name="**/*.jar"/>
           </lib>
      <copy file="conf/WEB-INF/web.xml" todir="WebContent/WEB-INF/">
         <filterset>
            <filter token="LOGIN_HOST" value="${cas.domain.name}"/>
            <filter token="LOGIN_PORT" value="${cas.https.port}"/>
            <filter token="CONFIG_HOST" value="${hsar.domain.name}"/>
            <filter token="CONFIG_PORT" value="${hsar.https.port}"/>
            <filter token="ADMIN_HOST" value="${hsarweb.domain.name}"/>
            <filter token="ADMIN_PORT" value="${hsarweb.https.port}"/>
         </filterset>
      </copy>
        <war destfile="build/hsarweb.war" basedir="WebContent">
           <classes dir="build/cls" />
           <classes dir="src">
              <include name="**/*.properties"/>