Author: bela(a)jboss.com
Date: 2008-01-08 08:51:05 -0500 (Tue, 08 Jan 2008)
New Revision: 5055
Added:
benchmarks/CacheTests/trunk/build.xml
Log:
ns
Added: benchmarks/CacheTests/trunk/build.xml
===================================================================
--- benchmarks/CacheTests/trunk/build.xml (rev 0)
+++ benchmarks/CacheTests/trunk/build.xml 2008-01-08 13:51:05 UTC (rev 5055)
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project name="cachetests" default="all">
+
+
+
+ <!-- Compiler options -->
+
+ <property name="compiler.debug" value="on"/>
+ <property name="compiler.generate.no.warnings" value="off"/>
+ <property name="compiler.args" value=""/>
+ <property name="compiler.max.memory" value="128m"/>
+ <patternset id="ignored.files">
+ <exclude name="**/CVS/**"/>
+ <exclude name="**/SCCS/**"/>
+ <exclude name="**/RCS/**"/>
+ <exclude name="**/rcs/**"/>
+ <exclude name="**/.DS_Store/**"/>
+ <exclude name="**/.svn/**"/>
+ <exclude name="**/vssver.scc/**"/>
+ <exclude name="**/vssver2.scc/**"/>
+ <exclude name="**/.sbas/**"/>
+ <exclude name="**/.IJI.*/**"/>
+ </patternset>
+ <patternset id="compiler.resources">
+ <include name="**/?*.properties"/>
+ <include name="**/?*.xml"/>
+ <include name="**/?*.gif"/>
+ <include name="**/?*.png"/>
+ <include name="**/?*.jpeg"/>
+ <include name="**/?*.jpg"/>
+ <include name="**/?*.html"/>
+ <include name="**/?*.dtd"/>
+ <include name="**/?*.tld"/>
+ </patternset>
+
+
+
+
+ <!-- Module CacheTests -->
+
+ <dirname property="module.cachetests.basedir"
file="${ant.file}"/>
+ <property name="lib.dir" value="./lib"/>
+
+
+
+ <property name="compiler.args.cachetests"
value="${compiler.args}"/>
+
+ <property name="cachetests.output.dir"
value="${module.cachetests.basedir}/classes"/>
+ <property name="cachetests.testoutput.dir"
value="${module.cachetests.basedir}/classes"/>
+
+ <path id="cachetests.module.bootclasspath">
+ <!-- Paths to be included in compilation bootclasspath -->
+ </path>
+
+ <path id="cachetests.module.classpath">
+ <fileset dir="${lib.dir}">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+
+
+ <patternset id="excluded.from.module.cachetests">
+ <patternset refid="ignored.files"/>
+ </patternset>
+
+ <patternset id="excluded.from.compilation.cachetests">
+ <patternset refid="excluded.from.module.cachetests"/>
+ </patternset>
+
+ <path id="cachetests.module.sourcepath">
+ <dirset dir="${module.cachetests.basedir}">
+ <include name="src"/>
+ </dirset>
+ </path>
+
+
+ <target name="compile.module.cachetests"
depends="compile.module.cachetests.production,compile.module.cachetests.tests"
description="Compile module CacheTests"/>
+
+ <target name="compile.module.cachetests.production"
description="Compile module CacheTests; production classes">
+ <mkdir dir="${cachetests.output.dir}"/>
+ <javac destdir="${cachetests.output.dir}"
debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}"
memorymaximumsize="${compiler.max.memory}" fork="true">
+ <compilerarg line="${compiler.args.cachetests}"/>
+ <bootclasspath refid="cachetests.module.bootclasspath"/>
+ <classpath refid="cachetests.module.classpath"/>
+ <src refid="cachetests.module.sourcepath"/>
+ <patternset refid="excluded.from.compilation.cachetests"/>
+ </javac>
+
+ <copy todir="${cachetests.output.dir}">
+ <fileset dir="${module.cachetests.basedir}/src">
+ <patternset refid="compiler.resources"/>
+ <type type="file"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="compile.module.cachetests.tests"
depends="compile.module.cachetests.production" description="compile module
CacheTests; test classes" unless="skip.tests"/>
+
+ <target name="clean.module.cachetests" description="cleanup
module">
+ <delete dir="${cachetests.output.dir}"/>
+ <delete dir="${cachetests.testoutput.dir}"/>
+ </target>
+
+ <target name="init" description="Build initialization">
+ <!-- Perform any build initialization in this target -->
+ </target>
+
+ <target name="clean" depends="clean.module.cachetests"
description="cleanup all"/>
+
+ <target name="all" depends="init, clean,
compile.module.cachetests" description="build all"/>
+</project>
\ No newline at end of file
Show replies by date