HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2012-01-04 65966c07599aeb22dc0640daa65cab4ae2d98322
hsarweb/build.xml
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="hsarweb" default="war">
   <property file="${user.home}/.hsar.ant.properties" />
   <path id="cp">
      <fileset dir="WebContent/WEB-INF/lib">
          <include name="**/*.jar"/>
@@ -11,11 +13,20 @@
   </path>
   
   <target name="war" depends="compile">
      <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"/>
              <include name="**/*.png"/>
           </classes>
        </war>
    </target>