HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2011-05-19 eb4ed908ac855a593d13e609e93ac16b46dc8ad8
hsarback/build.xml
@@ -37,6 +37,7 @@
   <target name="deploy" depends="war">
      <delete dir="${hsar.deploy.dir}/hsar" />
      <copy file="build/hsar.war" todir="${hsar.deploy.dir}" />
      <sleep minutes="5"/>
   </target>
   <target name="war" depends="enhance">
@@ -53,6 +54,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 +71,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 +79,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}"/>
@@ -124,7 +127,10 @@
   </target>
   
   <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" />
@@ -134,7 +140,7 @@
            <pathelement path="/usr/share/java/junit4.jar"/>
         </classpath>
         <formatter type="xml"/>
         <test name="de.hsadmin.remote.RemoteTest"/>
         <test name="de.hsadmin.remote.RemoteTest" todir="${build.home}/junit" />
      </junit>
   </target>