| | |
| | | <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"> |
| | |
| | | <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"> |
| | |
| | | <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> |
| | |
| | | <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}"/> |
| | |
| | | </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" /> |
| | |
| | | <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> |
| | | |