HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2011-10-28 5c3215619e8e51bf935c02c54cc7d13069a50c0c
hsarback/build.xml
@@ -37,8 +37,22 @@
   <target name="deploy" depends="war">
      <delete dir="${hsar.deploy.dir}/hsar" />
      <copy file="build/hsar.war" todir="${hsar.deploy.dir}" />
      <sleep minutes="2"/>
   </target>
   <target name="jar" depends="enhance">
      <jar destfile="build/hsar.jar">
         <fileset dir="build/cls"/>
         <fileset dir="src">
              <include name="**/*.properties"/>
              <include name="**/*.jtpl"/>
         </fileset>
         <fileset dir="conf">
              <include name="**/*.xml"/>
         </fileset>
      </jar>
   </target>
   <target name="war" depends="enhance">
      <copy file="conf/WEB-INF/web.xml" todir="webapp/WEB-INF/">
         <filterset>
@@ -53,6 +67,8 @@
              <include name="**/*.jar"/>
             <exclude name="**/servlet*.jar"/>
             <exclude name="**/geronimo-jms*.jar"/>
             <exclude name="**/geronimo-j2ee-management*.jar"/>
             <exclude name="**/activemq*.jar"/>
           </lib>
           <classes dir="build/cls" />
           <classes dir="src">
@@ -68,7 +84,7 @@
   <target name="compile" description="compilieren">
      <mkdir dir="${build.home}" />
      <mkdir dir="${build.home}/cls" />
      <javac srcdir="${src.home}" destdir="${build.home}/cls" debug="${compile.debug}" deprecation="${compile.deprecation}" optimize="${compile.optimize}" encoding="UTF8">
      <javac srcdir="${src.home}" destdir="${build.home}/cls" debug="${compile.debug}" deprecation="${compile.deprecation}" optimize="${compile.optimize}" encoding="UTF8" includeantruntime="false">
         <classpath refid="compile.classpath" />
      </javac>
   </target>
@@ -76,7 +92,7 @@
   <target name="compile-test" description="tests compilieren" depends="compile">
      <mkdir dir="${build.home}" />
      <mkdir dir="${build.home}/test" />
      <javac srcdir="${test.home}" destdir="${build.home}/test" debug="${compile.debug}" deprecation="${compile.deprecation}" optimize="${compile.optimize}" encoding="UTF8">
      <javac srcdir="${test.home}" destdir="${build.home}/test" debug="${compile.debug}" deprecation="${compile.deprecation}" optimize="${compile.optimize}" encoding="UTF8" includeantruntime="false">
         <classpath refid="compile.classpath" />
         <classpath>
            <pathelement path="${compile.classpath}"/>
@@ -126,6 +142,8 @@
   <target name="remote-test" description="inspection of xmlrpc-api" depends="compile-test">
      <mkdir dir="${build.home}/junit" />
      <junit printsummary="yes" fork="yes">
         <jvmarg value="-Djavax.net.ssl.trustStore=${javax.net.ssl.trustStore}"/>
         <jvmarg value="-Djavax.net.ssl.trustStorePassword=${javax.net.ssl.trustStorePassword}"/>
         <classpath>
            <fileset dir="lib">
               <include name="*.jar" />