hammant 02/03/27 05:32:56 Added: altrmi memleak.xml Log: Revision Changes Path 1.1 jakarta-commons-sandbox/altrmi/memleak.xml Index: memleak.xml =================================================================== <project name="Alt (to) RMI" default="generate" basedir="."> <!-- "Alt (to) RMI" component of the Jakarta Commons Subproject $Id: memleak.xml,v 1.1 2002/03/27 13:32:56 hammant Exp $ --> <!-- ========== Initialize Properties ===================================== --> <property file="build.properties"/> <!-- Component local --> <property file="../build.properties"/> <!-- Commons local --> <property file="${user.home}/build.properties"/> <!-- User local --> <!-- ========== Component Declarations ==================================== --> <!-- The base directory for compilation targets --> <property name="build.home" value="build"/> <!-- ========== Compiler Defaults ========================================= --> <!-- Should Java compilations set the 'debug' compiler option? --> <property name="compile.debug" value="true"/> <!-- Should Java compilations set the 'deprecation' compiler option? --> <property name="compile.deprecation" value="true"/> <!-- Should Java compilations set the 'optimize' compiler option? --> <property name="compile.optimize" value="true"/> <!-- Construct compile classpath --> <path id="compile.classpath"> <pathelement location="${build.home}/classes"/> </path> <!-- For running of tests --> <path id="testA.classpath"> <pathelement location="${build.home}/classes"/> <pathelement location="${build.home}/classes2"/> <pathelement location="lib/avalon-framework-4.1.2.jar"/> </path> <taskdef name="altrmiproxies" classname="org.apache.commons.altrmi.generator.ant.AltrmiProxyTask"> <classpath refid="compile.classpath" /> </taskdef> <!-- ========== Executable Targets ======================================== --> <target name="prepare" description="Prepare build directory"> <mkdir dir="${build.home}"/> <mkdir dir="${build.home}/classes2"/> <delete> <fileset dir="${build.home}/classes2" includes="*" defaultexcludes="no"/> </delete> <mkdir dir="${build.home}/genjava"/> <delete> <fileset dir="${build.home}/genjava" includes="*" defaultexcludes="no"/> </delete> <mkdir dir="${build.home}/genjava2"/> <delete> <fileset dir="${build.home}/genjava2" includes="*" defaultexcludes="no"/> </delete> <mkdir dir="${build.home}/classes3"/> <delete> <fileset dir="${build.home}/classes3" includes="*" defaultexcludes="no"/> </delete> </target> <target name="generate" depends="prepare"> <altrmiproxies genname="MemLeak" srcgendir="${build.home}/genjava" classgendir="${build.home}/classes2" verbose="true" interfaces="org.apache.commons.altrmi.test.MemoryLeak" additionalfacades="org.apache.commons.altrmi.test.MemoryLeak"> <classpath> <pathelement location="${build.home}/classes"/> </classpath> </altrmiproxies> </target> <target name="server" description="Memory Leak test server"> <java classname="org.apache.commons.altrmi.test.MemoryLeakServerTest" fork="true"> <classpath refid="testA.classpath"/> </java> </target> <target name="client" description="Memory Leak test client" depends="generate"> <java classname="org.apache.commons.altrmi.test.MemoryLeakClientTest" fork="true"> <classpath refid="testA.classpath"/> </java> </target> </project>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>