Author: manik.surtani(a)jboss.com
Date: 2008-01-30 20:22:26 -0500 (Wed, 30 Jan 2008)
New Revision: 5269
Modified:
benchmarks/benchmark-fwk/trunk/build.xml
Log:
More flexible classpaths
Modified: benchmarks/benchmark-fwk/trunk/build.xml
===================================================================
--- benchmarks/benchmark-fwk/trunk/build.xml 2008-01-31 01:18:57 UTC (rev 5268)
+++ benchmarks/benchmark-fwk/trunk/build.xml 2008-01-31 01:22:26 UTC (rev 5269)
@@ -1,501 +1,534 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="cachebenchfwk" default="help">
-
-
- <property file="build.properties"/>
- <!-- Uncomment the following property if no tests compilation is needed -->
- <!--
+
+
+ <property file="build.properties"/>
+ <!-- Uncomment the following property if no tests compilation is needed -->
+ <!--
<property name="skip.tests" value="true"/>
-->
-
- <!-- 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="**/.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>
-
- <!-- Modules -->
-
-
- <!-- Module Framework -->
-
- <dirname property="module.framework.basedir"
file="${ant.file}"/>
- <property environment="env"/>
-
- <property name="compiler.args.framework"
value="${compiler.args}"/>
-
- <property name="framework.output.dir"
value="${module.framework.basedir}/classes/production/Framework"/>
- <property name="framework.testoutput.dir"
value="${module.framework.basedir}/classes/test/Framework"/>
-
- <path id="framework.module.bootclasspath">
- <!-- Paths to be included in compilation bootclasspath -->
- </path>
-
- <path id="framework.module.classpath">
- <pathelement
location="${module.framework.basedir}/lib/commons-logging.jar"/>
- <pathelement location="${module.framework.basedir}/lib/log4j.jar"/>
- <pathelement
location="${module.framework.basedir}/lib/commons-digester.jar"/>
- <pathelement
location="${module.framework.basedir}/lib/commons-beanutils.jar"/>
- <pathelement
location="${module.framework.basedir}/lib/commons-math-1.0.jar"/>
- <pathelement
location="${module.framework.basedir}/lib/smartfrog-3.12.014.jar"/>
- <pathelement location="${module.framework.basedir}/conf"/>
- </path>
-
-
- <patternset id="excluded.from.module.framework">
- <patternset refid="ignored.files"/>
- </patternset>
-
- <patternset id="excluded.from.compilation.framework">
- <patternset refid="excluded.from.module.framework"/>
- </patternset>
-
- <path id="framework.module.sourcepath">
- <dirset dir="${module.framework.basedir}">
- <include name="src"/>
- </dirset>
- </path>
-
- <target name="help" description="Dumps usage information">
- <echo>
-This script has the purpose of building the CacheBenchFwk.
-See /docs/ for more details.
-
-Some useful targets:
+ <!-- Compiler options -->
- help - this documentation
- all - builds the entire project, including plugins for all
- cache products in /cache-products/. Output classes
- in /classes/.
- runNode - runs the CacheBenchFwk. Depending on the number of nodes in the
cluster(configured in cachebenchmark.xml),
- it will wait for all configured nodes to be launched before starting the
tests
+ <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="**/.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>
-Make sure you have looked at:
+ <!-- Modules -->
- 1) 'build.properties' and have set JVM params (such as heap size,
- etc.) as necessary.
- 2) '/conf/cachebench.xml' to configure the tests you want run, the
- nodes in the cluster if the case and the output file for reports.
- 3) '/conf/log4j.xml' for logging settings (make sure these aren't
- very verbose as it can skew tests).
- 4) Provided one of the plugins as a system property. This is
- necessary since at the moment plugin libs may overlap and
- cause problems, so are not loaded every time. Specify which
- plugin you plan to use in your test by using
+ <!-- Module Framework -->
+
+ <dirname property="module.framework.basedir"
file="${ant.file}"/>
+
+ <property environment="env"/>
+
+ <property name="compiler.args.framework"
value="${compiler.args}"/>
+
+ <property name="framework.output.dir"
value="${module.framework.basedir}/classes/production/Framework"/>
+ <property name="framework.testoutput.dir"
value="${module.framework.basedir}/classes/test/Framework"/>
+
+ <path id="framework.module.bootclasspath">
+ <!-- Paths to be included in compilation bootclasspath -->
+ </path>
+
+ <path id="framework.module.classpath">
+ <dirset dir="${module.framework.basedir}/lib"
includes="**/*.jar"/>
+ <pathelement location="${module.framework.basedir}/conf"/>
+ </path>
+
+
+ <patternset id="excluded.from.module.framework">
+ <patternset refid="ignored.files"/>
+ </patternset>
+
+ <patternset id="excluded.from.compilation.framework">
+ <patternset refid="excluded.from.module.framework"/>
+ </patternset>
+
+ <path id="framework.module.sourcepath">
+ <dirset dir="${module.framework.basedir}">
+ <include name="src"/>
+ </dirset>
+ </path>
+
+ <target name="help" description="Dumps usage information">
+ <echo>
+ This script has the purpose of building the CacheBenchFwk.
+ See /docs/ for more details.
+
+ Some useful targets:
+
+ help - this documentation
+ all - builds the entire project, including plugins for all
+ cache products in /cache-products/. Output classes
+ in /classes/.
+ runNode - runs the CacheBenchFwk. Depending on the number of nodes in the
cluster(configured in
+ cachebenchmark.xml),
+ it will wait for all configured nodes to be launched before starting the tests
+
+ Make sure you have looked at:
+
+ 1) 'build.properties' and have set JVM params (such as heap size,
+ etc.) as necessary.
+ 2) '/conf/cachebench.xml' to configure the tests you want run, the
+ nodes in the cluster if the case and the output file for reports.
+ 3) '/conf/log4j.xml' for logging settings (make sure these aren't
+ very verbose as it can skew tests).
+ 4) Provided one of the plugins as a system property. This is
+ necessary since at the moment plugin libs may overlap and
+ cause problems, so are not loaded every time. Specify which
+ plugin you plan to use in your test by using
+
-Dorg.cachebench.plugins.jbosscache1=true -Dbind.address=${MYTESTIP_1}
-Dorg.cachebench.plugins.jbosscache2=true -Dbind.address=${MYTESTIP_1}
-Dorg.cachebench.pluins.ehcache=true -Dbind.address=${MYTESTIP_1}
-Dorg.cachebench.plugins.coherence=true
-Dtangosol.coherence.localhost=${MYTESTIP_1}
- // WORK IN PROGRESS
- -Dorg.cachebench.plugins.terracotta=true
- when running ant. Note that only one can be set at any time.
- 5) Make sure you set up an correct NODE_INDEX environment property
- indicating the index of the node before starting it. E.g. if
- we have 3 nodes each process should have an environment
- variable named NODE_INDEX, having values in the range 0-2,
- each node having an distict value.
- see cachebench.xml\cachebench\cluster for more details
+ // WORK IN PROGRESS
+ -Dorg.cachebench.plugins.terracotta=true
+ when running ant. Note that only one can be set at any time.
+ 5) Make sure you set up an correct NODE_INDEX environment property
+ indicating the index of the node before starting it. E.g. if
+ we have 3 nodes each process should have an environment
+ variable named NODE_INDEX, having values in the range 0-2,
+ each node having an distict value.
+ see cachebench.xml\cachebench\cluster for more details
- NB: NEEDS Ant >= 1.7.0
- </echo>
- </target>
+ NB: NEEDS Ant >= 1.7.0
+ </echo>
+ </target>
- <target name="compile.module.framework"
depends="compile.module.framework.production,compile.module.framework.tests"
description="Compile module Framework"/>
-
- <target name="compile.module.framework.production"
description="Compile module Framework; production classes">
- <mkdir dir="${framework.output.dir}"/>
- <javac destdir="${framework.output.dir}"
debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}"
memorymaximumsize="${compiler.max.memory}" fork="true">
- <compilerarg line="${compiler.args.framework}"/>
- <bootclasspath refid="framework.module.bootclasspath"/>
- <classpath refid="framework.module.classpath"/>
- <src refid="framework.module.sourcepath"/>
- <patternset refid="excluded.from.compilation.framework"/>
- </javac>
-
- <copy todir="${framework.output.dir}">
- <fileset dir="${module.framework.basedir}/src">
- <patternset refid="compiler.resources"/>
- <type type="file"/>
- </fileset>
- </copy>
- </target>
-
- <target name="compile.module.framework.tests"
depends="compile.module.framework.production" description="compile module
Framework; test classes" unless="skip.tests"/>
-
+ <target name="compile.module.framework"
depends="compile.module.framework.production,compile.module.framework.tests"
+ description="Compile module Framework"/>
- <!-- Module ehcache-1.2.4 -->
-
- <dirname property="module.ehcache124-plugin.basedir"
file="${ant.file}"/>
-
-
-
- <property name="compiler.args.ehcache124-plugin"
value="${compiler.args}"/>
-
- <property name="ehcache124-plugin.output.dir"
value="${module.ehcache124-plugin.basedir}/classes/production/ehcache-1.2.4"/>
- <property name="ehcache124-plugin.testoutput.dir"
value="${module.ehcache124-plugin.basedir}/classes/test/ehcache-1.2.4"/>
-
- <path id="ehcache124-plugin.module.bootclasspath">
- <!-- Paths to be included in compilation bootclasspath -->
- </path>
-
- <path id="ehcache124-plugin.module.classpath">
- <fileset
dir="${module.ehcache124-plugin.basedir}/cache-products/ehcache-1.2.4/lib"
includes="*.jar" />
- <pathelement
location="${module.ehcache124-plugin.basedir}/cache-products/ehcache-1.2.4/conf"/>
- <pathelement location="${framework.output.dir}"/>
- <pathelement location="${framework.testoutput.dir}"/>
- <pathelement location="${ehcache124-plugin.output.dir}" />
- </path>
-
-
- <patternset id="excluded.from.module.ehcache124-plugin">
- <patternset refid="ignored.files"/>
- </patternset>
-
- <patternset id="excluded.from.compilation.ehcache124-plugin">
- <patternset refid="excluded.from.module.ehcache124-plugin"/>
- </patternset>
-
- <path id="ehcache124-plugin.module.sourcepath">
- <dirset
dir="${module.ehcache124-plugin.basedir}/cache-products/ehcache-1.2.4">
- <include name="src"/>
- </dirset>
- </path>
-
-
- <target name="compile.module.ehcache124-plugin"
depends="compile.module.ehcache124-plugin.production,compile.module.ehcache124-plugin.tests"
description="Compile module ehcache-1.2.4"/>
-
- <target name="compile.module.ehcache124-plugin.production"
depends="compile.module.framework" description="Compile module
ehcache-1.2.4; production classes">
- <mkdir dir="${ehcache124-plugin.output.dir}"/>
- <javac destdir="${ehcache124-plugin.output.dir}"
debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}"
memorymaximumsize="${compiler.max.memory}" fork="true">
- <compilerarg line="${compiler.args.ehcache124-plugin}"/>
- <bootclasspath refid="ehcache124-plugin.module.bootclasspath"/>
- <classpath refid="ehcache124-plugin.module.classpath"/>
- <src refid="ehcache124-plugin.module.sourcepath"/>
- <patternset refid="excluded.from.compilation.ehcache124-plugin"/>
- </javac>
-
- <copy todir="${ehcache124-plugin.output.dir}">
- <fileset
dir="${module.ehcache124-plugin.basedir}/cache-products/ehcache-1.2.4/src">
- <patternset refid="compiler.resources"/>
- <type type="file"/>
- </fileset>
- </copy>
- </target>
-
- <target name="compile.module.ehcache124-plugin.tests"
depends="compile.module.ehcache124-plugin.production" description="compile
module ehcache-1.2.4; test classes" unless="skip.tests"/>
-
+ <target name="compile.module.framework.production"
description="Compile module Framework; production classes">
+ <mkdir dir="${framework.output.dir}"/>
+ <javac destdir="${framework.output.dir}"
debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}"
+ memorymaximumsize="${compiler.max.memory}"
fork="true">
+ <compilerarg line="${compiler.args.framework}"/>
+ <bootclasspath refid="framework.module.bootclasspath"/>
+ <classpath refid="framework.module.classpath"/>
+ <src refid="framework.module.sourcepath"/>
+ <patternset refid="excluded.from.compilation.framework"/>
+ </javac>
+ <copy todir="${framework.output.dir}">
+ <fileset dir="${module.framework.basedir}/src">
+ <patternset refid="compiler.resources"/>
+ <type type="file"/>
+ </fileset>
+ </copy>
+ </target>
+ <target name="compile.module.framework.tests"
depends="compile.module.framework.production"
+ description="compile module Framework; test classes"
unless="skip.tests"/>
+
+
+ <!-- Module ehcache-1.2.4 -->
+
+ <dirname property="module.ehcache124-plugin.basedir"
file="${ant.file}"/>
+
+
+ <property name="compiler.args.ehcache124-plugin"
value="${compiler.args}"/>
+
+ <property name="ehcache124-plugin.output.dir"
+
value="${module.ehcache124-plugin.basedir}/classes/production/ehcache-1.2.4"/>
+ <property name="ehcache124-plugin.testoutput.dir"
+
value="${module.ehcache124-plugin.basedir}/classes/test/ehcache-1.2.4"/>
+
+ <path id="ehcache124-plugin.module.bootclasspath">
+ <!-- Paths to be included in compilation bootclasspath -->
+ </path>
+
+ <path id="ehcache124-plugin.module.classpath">
+ <fileset
dir="${module.ehcache124-plugin.basedir}/cache-products/ehcache-1.2.4/lib"
includes="*.jar"/>
+ <pathelement
location="${module.ehcache124-plugin.basedir}/cache-products/ehcache-1.2.4/conf"/>
+ <pathelement location="${framework.output.dir}"/>
+ <pathelement location="${framework.testoutput.dir}"/>
+ <pathelement location="${ehcache124-plugin.output.dir}"/>
+ </path>
+
+
+ <patternset id="excluded.from.module.ehcache124-plugin">
+ <patternset refid="ignored.files"/>
+ </patternset>
+
+ <patternset id="excluded.from.compilation.ehcache124-plugin">
+ <patternset refid="excluded.from.module.ehcache124-plugin"/>
+ </patternset>
+
+ <path id="ehcache124-plugin.module.sourcepath">
+ <dirset
dir="${module.ehcache124-plugin.basedir}/cache-products/ehcache-1.2.4">
+ <include name="src"/>
+ </dirset>
+ </path>
+
+
+ <target name="compile.module.ehcache124-plugin"
+
depends="compile.module.ehcache124-plugin.production,compile.module.ehcache124-plugin.tests"
+ description="Compile module ehcache-1.2.4"/>
+
+ <target name="compile.module.ehcache124-plugin.production"
depends="compile.module.framework"
+ description="Compile module ehcache-1.2.4; production classes">
+ <mkdir dir="${ehcache124-plugin.output.dir}"/>
+ <javac destdir="${ehcache124-plugin.output.dir}"
debug="${compiler.debug}"
+ nowarn="${compiler.generate.no.warnings}"
memorymaximumsize="${compiler.max.memory}" fork="true">
+ <compilerarg line="${compiler.args.ehcache124-plugin}"/>
+ <bootclasspath refid="ehcache124-plugin.module.bootclasspath"/>
+ <classpath refid="ehcache124-plugin.module.classpath"/>
+ <src refid="ehcache124-plugin.module.sourcepath"/>
+ <patternset
refid="excluded.from.compilation.ehcache124-plugin"/>
+ </javac>
+
+ <copy todir="${ehcache124-plugin.output.dir}">
+ <fileset
dir="${module.ehcache124-plugin.basedir}/cache-products/ehcache-1.2.4/src">
+ <patternset refid="compiler.resources"/>
+ <type type="file"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="compile.module.ehcache124-plugin.tests"
depends="compile.module.ehcache124-plugin.production"
+ description="compile module ehcache-1.2.4; test classes"
unless="skip.tests"/>
+
+
<!-- Module coherence-3.2.2 -->
- <dirname property="module.coherence322-plugin.basedir"
file="${ant.file}"/>
+ <dirname property="module.coherence322-plugin.basedir"
file="${ant.file}"/>
+ <property name="compiler.args.coherence322-plugin"
value="${compiler.args}"/>
- <property name="compiler.args.coherence322-plugin"
value="${compiler.args}"/>
+ <property name="coherence322-plugin.output.dir"
+
value="${module.coherence322-plugin.basedir}/classes/production/coherence-3.2.2"/>
+ <property name="coherence322-plugin.testoutput.dir"
+
value="${module.coherence322-plugin.basedir}/classes/test/coherence-3.2.2"/>
- <property name="coherence322-plugin.output.dir"
value="${module.coherence322-plugin.basedir}/classes/production/coherence-3.2.2"/>
- <property name="coherence322-plugin.testoutput.dir"
value="${module.coherence322-plugin.basedir}/classes/test/coherence-3.2.2"/>
+ <path id="coherence322-plugin.module.bootclasspath">
+ <!-- Paths to be included in compilation bootclasspath -->
+ </path>
- <path id="coherence322-plugin.module.bootclasspath">
- <!-- Paths to be included in compilation bootclasspath -->
- </path>
+ <path id="coherence322-plugin.module.classpath">
+ <fileset
dir="${module.coherence322-plugin.basedir}/cache-products/coherence-3.2.2/lib"
includes="*.jar"/>
+ <pathelement
location="${module.coherence322-plugin.basedir}/cache-products/coherence-3.2.2/conf"/>
+ <pathelement location="${framework.output.dir}"/>
+ <pathelement location="${framework.testoutput.dir}"/>
+ <pathelement location="${coherence322-plugin.output.dir}"/>
+ </path>
- <path id="coherence322-plugin.module.classpath">
- <fileset
dir="${module.coherence322-plugin.basedir}/cache-products/coherence-3.2.2/lib"
includes="*.jar" />
- <pathelement
location="${module.coherence322-plugin.basedir}/cache-products/coherence-3.2.2/conf"/>
- <pathelement location="${framework.output.dir}"/>
- <pathelement location="${framework.testoutput.dir}"/>
- <pathelement location="${coherence322-plugin.output.dir}" />
- </path>
+ <patternset id="excluded.from.module.coherence322-plugin">
+ <patternset refid="ignored.files"/>
+ </patternset>
- <patternset id="excluded.from.module.coherence322-plugin">
- <patternset refid="ignored.files"/>
- </patternset>
+ <patternset id="excluded.from.compilation.coherence322-plugin">
+ <patternset refid="excluded.from.module.coherence322-plugin"/>
+ </patternset>
- <patternset id="excluded.from.compilation.coherence322-plugin">
- <patternset refid="excluded.from.module.coherence322-plugin"/>
- </patternset>
+ <path id="coherence322-plugin.module.sourcepath">
+ <dirset
dir="${module.ehcache124-plugin.basedir}/cache-products/coherence-3.2.2">
+ <include name="src"/>
+ </dirset>
+ </path>
- <path id="coherence322-plugin.module.sourcepath">
- <dirset
dir="${module.ehcache124-plugin.basedir}/cache-products/coherence-3.2.2">
- <include name="src"/>
- </dirset>
- </path>
+ <target name="compile.module.coherence322-plugin"
+ depends="compile.module.coherence322-plugin.production,
compile.module.coherence322-plugin.tests"
+ description="Compile module coherence322"/>
- <target name="compile.module.coherence322-plugin"
depends="compile.module.coherence322-plugin.production,
compile.module.coherence322-plugin.tests" description="Compile module
coherence322"/>
+ <target name="compile.module.coherence322-plugin.production"
depends="compile.module.framework"
+ description="Compile module coherence322; production classes">
+ <mkdir dir="${coherence322-plugin.output.dir}"/>
+ <javac destdir="${coherence322-plugin.output.dir}"
debug="${compiler.debug}"
+ nowarn="${compiler.generate.no.warnings}"
memorymaximumsize="${compiler.max.memory}" fork="true">
+ <compilerarg line="${compiler.args.coherence322-plugin}"/>
+ <bootclasspath
refid="coherence322-plugin.module.bootclasspath"/>
+ <classpath refid="coherence322-plugin.module.classpath"/>
+ <src refid="coherence322-plugin.module.sourcepath"/>
+ <patternset
refid="excluded.from.compilation.coherence322-plugin"/>
+ </javac>
- <target name="compile.module.coherence322-plugin.production"
depends="compile.module.framework" description="Compile module
coherence322; production classes">
- <mkdir dir="${coherence322-plugin.output.dir}"/>
- <javac destdir="${coherence322-plugin.output.dir}"
debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}"
memorymaximumsize="${compiler.max.memory}" fork="true">
- <compilerarg line="${compiler.args.coherence322-plugin}"/>
- <bootclasspath refid="coherence322-plugin.module.bootclasspath"/>
- <classpath refid="coherence322-plugin.module.classpath"/>
- <src refid="coherence322-plugin.module.sourcepath"/>
- <patternset
refid="excluded.from.compilation.coherence322-plugin"/>
- </javac>
+ <copy todir="${coherence322-plugin.output.dir}">
+ <fileset
dir="${module.coherence322-plugin.basedir}/cache-products/coherence-3.2.2/src">
+ <patternset refid="compiler.resources"/>
+ <type type="file"/>
+ </fileset>
+ </copy>
+ </target>
- <copy todir="${coherence322-plugin.output.dir}">
- <fileset
dir="${module.coherence322-plugin.basedir}/cache-products/coherence-3.2.2/src">
- <patternset refid="compiler.resources"/>
- <type type="file"/>
- </fileset>
- </copy>
- </target>
+ <target name="compile.module.coherence322-plugin.tests"
depends="compile.module.coherence322-plugin.production"
+ description="compile module coherence322; test classes"
unless="skip.tests"/>
- <target name="compile.module.coherence322-plugin.tests"
depends="compile.module.coherence322-plugin.production"
description="compile module coherence322; test classes"
unless="skip.tests"/>
+ <target name="clean.module.coherence322-plugin" description="cleanup
module">
+ <delete dir="${coherence322-plugin.output.dir}"/>
+ <delete dir="${coherence322-plugin.testoutput.dir}"/>
+ </target>
- <target name="clean.module.coherence322-plugin" description="cleanup
module">
- <delete dir="${coherence322-plugin.output.dir}"/>
- <delete dir="${coherence322-plugin.testoutput.dir}"/>
- </target>
+ <!-- Module terracotta-2.5.0 -->
- <!-- Module terracotta-2.5.0 -->
+ <dirname property="module.terracotta-plugin.basedir"
file="${ant.file}"/>
- <dirname property="module.terracotta-plugin.basedir"
file="${ant.file}"/>
+ <property name="compiler.args.terracotta-plugin"
value="${compiler.args}"/>
+ <property name="terracotta-plugin.output.dir"
+
value="${module.terracotta-plugin.basedir}/classes/production/terracotta-2.5.0"/>
+ <property name="terracotta-plugin.testoutput.dir"
+
value="${module.terracotta-plugin.basedir}/classes/test/terracotta-2.5.0"/>
- <property name="compiler.args.terracotta-plugin"
value="${compiler.args}"/>
+ <path id="terracotta-plugin.module.bootclasspath">
+ <!-- Paths to be included in compilation bootclasspath -->
+ </path>
- <property name="terracotta-plugin.output.dir"
value="${module.terracotta-plugin.basedir}/classes/production/terracotta-2.5.0"/>
- <property name="terracotta-plugin.testoutput.dir"
value="${module.terracotta-plugin.basedir}/classes/test/terracotta-2.5.0"/>
+ <path id="terracotta-plugin.module.classpath">
+ <pathelement
location="${module.terracotta-plugin.basedir}/cache-products/terracotta-2.5.0/conf"/>
+ <pathelement location="${framework.output.dir}"/>
+ <pathelement location="${framework.testoutput.dir}"/>
+ <pathelement location="${terracotta-plugin.output.dir}"/>
+ </path>
- <path id="terracotta-plugin.module.bootclasspath">
- <!-- Paths to be included in compilation bootclasspath -->
- </path>
- <path id="terracotta-plugin.module.classpath">
- <pathelement
location="${module.terracotta-plugin.basedir}/cache-products/terracotta-2.5.0/conf"/>
- <pathelement location="${framework.output.dir}"/>
- <pathelement location="${framework.testoutput.dir}"/>
- <pathelement location="${terracotta-plugin.output.dir}" />
- </path>
+ <patternset id="excluded.from.module.terracotta-plugin">
+ <patternset refid="ignored.files"/>
+ </patternset>
+ <patternset id="excluded.from.compilation.terracotta-plugin">
+ <patternset refid="excluded.from.module.terracotta-plugin"/>
+ </patternset>
- <patternset id="excluded.from.module.terracotta-plugin">
- <patternset refid="ignored.files"/>
- </patternset>
+ <path id="terracotta-plugin.module.sourcepath">
+ <dirset
dir="${module.terracotta-plugin.basedir}/cache-products/terracotta-2.5.0">
+ <include name="src"/>
+ </dirset>
+ </path>
- <patternset id="excluded.from.compilation.terracotta-plugin">
- <patternset refid="excluded.from.module.terracotta-plugin"/>
- </patternset>
- <path id="terracotta-plugin.module.sourcepath">
- <dirset
dir="${module.terracotta-plugin.basedir}/cache-products/terracotta-2.5.0">
- <include name="src"/>
- </dirset>
- </path>
+ <target name="compile.module.terracotta-plugin"
+
depends="compile.module.terracotta-plugin.production,compile.module.terracotta-plugin.tests"
+ description="Compile module terracotta-2.5.0"/>
+ <target name="compile.module.terracotta-plugin.production"
depends="compile.module.framework"
+ description="Compile module terracotta-2.5.0; production
classes">
+ <mkdir dir="${terracotta-plugin.output.dir}"/>
+ <javac destdir="${terracotta-plugin.output.dir}"
debug="${compiler.debug}"
+ nowarn="${compiler.generate.no.warnings}"
memorymaximumsize="${compiler.max.memory}" fork="true">
+ <compilerarg line="${compiler.args.terracotta-plugin}"/>
+ <bootclasspath refid="terracotta-plugin.module.bootclasspath"/>
+ <classpath refid="terracotta-plugin.module.classpath"/>
+ <src refid="terracotta-plugin.module.sourcepath"/>
+ <patternset
refid="excluded.from.compilation.terracotta-plugin"/>
+ </javac>
- <target name="compile.module.terracotta-plugin"
depends="compile.module.terracotta-plugin.production,compile.module.terracotta-plugin.tests"
description="Compile module terracotta-2.5.0"/>
+ <copy todir="${terracotta-plugin.output.dir}">
+ <fileset
dir="${module.terracotta-plugin.basedir}/cache-products/terracotta-2.5.0/src">
+ <patternset refid="compiler.resources"/>
+ <type type="file"/>
+ </fileset>
+ </copy>
+ </target>
- <target name="compile.module.terracotta-plugin.production"
depends="compile.module.framework" description="Compile module
terracotta-2.5.0; production classes">
- <mkdir dir="${terracotta-plugin.output.dir}"/>
- <javac destdir="${terracotta-plugin.output.dir}"
debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}"
memorymaximumsize="${compiler.max.memory}" fork="true">
- <compilerarg line="${compiler.args.terracotta-plugin}"/>
- <bootclasspath refid="terracotta-plugin.module.bootclasspath"/>
- <classpath refid="terracotta-plugin.module.classpath"/>
- <src refid="terracotta-plugin.module.sourcepath"/>
- <patternset refid="excluded.from.compilation.terracotta-plugin"/>
- </javac>
+ <target name="compile.module.terracotta-plugin.tests"
depends="compile.module.terracotta-plugin.production"
+ description="compile module terracotta-2.5.0; test classes"
unless="skip.tests"/>
- <copy todir="${terracotta-plugin.output.dir}">
- <fileset
dir="${module.terracotta-plugin.basedir}/cache-products/terracotta-2.5.0/src">
- <patternset refid="compiler.resources"/>
- <type type="file"/>
- </fileset>
- </copy>
- </target>
+ <target name="clean.module.terracotta-plugin" description="cleanup
module">
+ <delete dir="${terracotta-plugin.output.dir}"/>
+ <delete dir="${terracotta-plugin.testoutput.dir}"/>
+ </target>
- <target name="compile.module.terracotta-plugin.tests"
depends="compile.module.terracotta-plugin.production" description="compile
module terracotta-2.5.0; test classes" unless="skip.tests"/>
- <target name="clean.module.terracotta-plugin" description="cleanup
module">
- <delete dir="${terracotta-plugin.output.dir}"/>
- <delete dir="${terracotta-plugin.testoutput.dir}"/>
- </target>
+ <!-- Module jbosscache-1.4.1 -->
+ <dirname property="module.jbosscache140-plugin.basedir"
file="${ant.file}"/>
- <!-- Module jbosscache-1.4.1 -->
-
- <dirname property="module.jbosscache140-plugin.basedir"
file="${ant.file}"/>
-
-
-
- <property name="compiler.args.jbosscache140-plugin"
value="${compiler.args}"/>
-
- <property name="jbosscache140-plugin.output.dir"
value="${module.jbosscache140-plugin.basedir}/classes/production/jbosscache-1.4.1"/>
- <property name="jbosscache140-plugin.testoutput.dir"
value="${module.jbosscache140-plugin.basedir}/classes/test/jbosscache-1.4.1"/>
-
- <path id="jbosscache140-plugin.module.bootclasspath">
- <!-- Paths to be included in compilation bootclasspath -->
- </path>
-
- <path id="jbosscache140-plugin.module.classpath">
- <fileset
dir="${module.jbosscache140-plugin.basedir}/cache-products/jbosscache-1.4.1/lib"
includes="**/*.jar" />
- <pathelement location="${framework.output.dir}"/>
- <pathelement location="${framework.testoutput.dir}"/>
- <pathelement location="${jbosscache140-plugin.output.dir}" />
- <pathelement
location="${module.jbosscache140-plugin.basedir}/cache-products/jbosscache-1.4.1/conf"
/>
- </path>
-
-
- <patternset id="excluded.from.module.jbosscache140-plugin">
- <patternset refid="ignored.files"/>
- </patternset>
-
- <patternset id="excluded.from.compilation.jbosscache140-plugin">
- <patternset refid="excluded.from.module.jbosscache140-plugin"/>
- </patternset>
-
- <path id="jbosscache140-plugin.module.sourcepath">
- <dirset
dir="${module.jbosscache140-plugin.basedir}/cache-products/jbosscache-1.4.1">
- <include name="src"/>
- </dirset>
- </path>
-
-
- <target name="compile.module.jbosscache140-plugin"
depends="compile.module.jbosscache140-plugin.production,compile.module.jbosscache140-plugin.tests"
description="Compile module jbosscache-1.4.1"/>
-
- <target name="compile.module.jbosscache140-plugin.production"
depends="compile.module.framework" description="Compile module
jbosscache-1.4.1; production classes">
- <mkdir dir="${jbosscache140-plugin.output.dir}"/>
- <javac destdir="${jbosscache140-plugin.output.dir}"
debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}"
memorymaximumsize="${compiler.max.memory}" fork="true">
- <compilerarg line="${compiler.args.jbosscache140-plugin}"/>
- <bootclasspath refid="jbosscache140-plugin.module.bootclasspath"/>
- <classpath refid="jbosscache140-plugin.module.classpath"/>
- <src refid="jbosscache140-plugin.module.sourcepath"/>
- <patternset
refid="excluded.from.compilation.jbosscache140-plugin"/>
- </javac>
-
- <copy todir="${jbosscache140-plugin.output.dir}">
- <fileset
dir="${module.jbosscache140-plugin.basedir}/cache-products/jbosscache-1.4.1/src">
- <patternset refid="compiler.resources"/>
- <type type="file"/>
- </fileset>
- </copy>
- </target>
-
- <target name="compile.module.jbosscache140-plugin.tests"
depends="compile.module.jbosscache140-plugin.production"
description="compile module jbosscache-1.4.1; test classes"
unless="skip.tests"/>
-
- <!-- Module jbosscache-2.0.0 -->
-
- <dirname property="module.jbosscache200-plugin.basedir"
file="${ant.file}"/>
- <dirname property="module.jbosscache210-plugin.basedir"
file="${ant.file}"/>
-
-
- <property name="compiler.args.jbosscache200-plugin"
value="${compiler.args}"/>
-
- <property name="jbosscache200-plugin.output.dir"
value="${module.jbosscache200-plugin.basedir}/classes/production/jbosscache-2.0.0"/>
- <property name="jbosscache210-plugin.output.dir"
value="${module.jbosscache210-plugin.basedir}/classes/production/jbosscache-2.1.0"/>
- <property name="jbosscache200-plugin.testoutput.dir"
value="${module.jbosscache200-plugin.basedir}/classes/test/jbosscache-2.0.0"/>
-
- <path id="jbosscache200-plugin.module.bootclasspath">
- <!-- Paths to be included in compilation bootclasspath -->
- </path>
-
- <path id="jbosscache200-plugin.module.classpath">
- <fileset
dir="${module.jbosscache200-plugin.basedir}/cache-products/jbosscache-2.0.0/lib"
includes="*.jar" />
- <pathelement
location="${module.jbosscache200-plugin.basedir}/cache-products/jbosscache-2.0.0/conf"/>
- <pathelement
location="${module.framework.basedir}/lib/commons-logging.jar"/>
- <pathelement location="${framework.output.dir}"/>
- <pathelement location="${framework.testoutput.dir}"/>
- <pathelement location="${jbosscache200-plugin.output.dir}" />
- </path>
+ <property name="compiler.args.jbosscache140-plugin"
value="${compiler.args}"/>
- <path id="jbosscache210-plugin.module.classpath">
- <fileset
dir="${module.jbosscache210-plugin.basedir}/cache-products/jbosscache-2.1.0/lib"
includes="*.jar" />
- <pathelement
location="${module.framework.basedir}/lib/commons-logging.jar"/>
- <pathelement location="${framework.output.dir}"/>
- <pathelement location="${framework.testoutput.dir}"/>
- <pathelement location="${jbosscache210-plugin.output.dir}" />
- </path>
-
-
- <patternset id="excluded.from.module.jbosscache200-plugin">
- <patternset refid="ignored.files"/>
- </patternset>
-
- <patternset id="excluded.from.compilation.jbosscache200-plugin">
- <patternset refid="excluded.from.module.jbosscache200-plugin"/>
- </patternset>
-
- <path id="jbosscache200-plugin.module.sourcepath">
- <dirset
dir="${module.jbosscache200-plugin.basedir}/cache-products/jbosscache-2.0.0">
- <include name="src"/>
- </dirset>
- </path>
-
-
- <target name="compile.module.jbosscache200-plugin"
depends="compile.module.jbosscache200-plugin.production,compile.module.jbosscache200-plugin.tests"
description="Compile module jbosscache-2.0.0"/>
+ <property name="jbosscache140-plugin.output.dir"
+
value="${module.jbosscache140-plugin.basedir}/classes/production/jbosscache-1.4.1"/>
+ <property name="jbosscache140-plugin.testoutput.dir"
+
value="${module.jbosscache140-plugin.basedir}/classes/test/jbosscache-1.4.1"/>
- <target name="compile.module.jbosscache200-plugin.production"
depends="compile.module.framework" description="Compile module
jbosscache-2.0.0; production classes">
- <mkdir dir="${jbosscache200-plugin.output.dir}"/>
- <javac destdir="${jbosscache200-plugin.output.dir}"
debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}"
memorymaximumsize="${compiler.max.memory}" fork="true">
- <compilerarg line="${compiler.args}"/>
- <bootclasspath refid="jbosscache200-plugin.module.bootclasspath"/>
- <classpath refid="jbosscache200-plugin.module.classpath"/>
- <src refid="jbosscache200-plugin.module.sourcepath"/>
- <patternset
refid="excluded.from.compilation.jbosscache200-plugin"/>
- </javac>
-
- <copy todir="${jbosscache200-plugin.output.dir}">
- <fileset
dir="${module.jbosscache200-plugin.basedir}/cache-products/jbosscache-2.0.0/src">
- <patternset refid="compiler.resources"/>
- <type type="file"/>
- </fileset>
- </copy>
- </target>
+ <path id="jbosscache140-plugin.module.bootclasspath">
+ <!-- Paths to be included in compilation bootclasspath -->
+ </path>
- <target name="compile.module.jbosscache210-plugin.production"
depends="compile.module.framework" description="Compile module
jbosscache-2.1.0cr2; production classes">
- <mkdir dir="${jbosscache210-plugin.output.dir}"/>
- <javac destdir="${jbosscache210-plugin.output.dir}"
debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}"
memorymaximumsize="${compiler.max.memory}" fork="true">
- <compilerarg line="${compiler.args}"/>
- <classpath refid="jbosscache210-plugin.module.classpath"/>
- <src
path="${module.jbosscache210-plugin.basedir}/cache-products/jbosscache-2.1.0"/>
- </javac>
- </target>
+ <path id="jbosscache140-plugin.module.classpath">
+ <fileset
dir="${module.jbosscache140-plugin.basedir}/cache-products/jbosscache-1.4.1/lib"
includes="**/*.jar"/>
+ <pathelement location="${framework.output.dir}"/>
+ <pathelement location="${framework.testoutput.dir}"/>
+ <pathelement location="${jbosscache140-plugin.output.dir}"/>
+ <pathelement
location="${module.jbosscache140-plugin.basedir}/cache-products/jbosscache-1.4.1/conf"/>
+ </path>
- <target name="compile.module.jbosscache200-plugin.tests"
depends="compile.module.jbosscache200-plugin.production"
description="compile module jbosscache-2.0.0; test classes"
unless="skip.tests"/>
-
- <target name="init" description="Build initialization">
- <!-- Perform any build initialization in this target -->
- </target>
-
- <target name="clean" description="cleanup all">
- <delete dir="${module.framework.basedir}/classes"/>
- </target>
-
- <target name="all" depends="init, clean, compile.module.framework,
compile.module.jbosscache140-plugin, compile.module.jbosscache200-plugin,
compile.module.jbosscache210-plugin.production, compile.module.terracotta-plugin"
description="build all"/>
+ <patternset id="excluded.from.module.jbosscache140-plugin">
+ <patternset refid="ignored.files"/>
+ </patternset>
+ <patternset id="excluded.from.compilation.jbosscache140-plugin">
+ <patternset refid="excluded.from.module.jbosscache140-plugin"/>
+ </patternset>
+
+ <path id="jbosscache140-plugin.module.sourcepath">
+ <dirset
dir="${module.jbosscache140-plugin.basedir}/cache-products/jbosscache-1.4.1">
+ <include name="src"/>
+ </dirset>
+ </path>
+
+
+ <target name="compile.module.jbosscache140-plugin"
+
depends="compile.module.jbosscache140-plugin.production,compile.module.jbosscache140-plugin.tests"
+ description="Compile module jbosscache-1.4.1"/>
+
+ <target name="compile.module.jbosscache140-plugin.production"
depends="compile.module.framework"
+ description="Compile module jbosscache-1.4.1; production
classes">
+ <mkdir dir="${jbosscache140-plugin.output.dir}"/>
+ <javac destdir="${jbosscache140-plugin.output.dir}"
debug="${compiler.debug}"
+ nowarn="${compiler.generate.no.warnings}"
memorymaximumsize="${compiler.max.memory}" fork="true">
+ <compilerarg line="${compiler.args.jbosscache140-plugin}"/>
+ <bootclasspath
refid="jbosscache140-plugin.module.bootclasspath"/>
+ <classpath refid="jbosscache140-plugin.module.classpath"/>
+ <src refid="jbosscache140-plugin.module.sourcepath"/>
+ <patternset
refid="excluded.from.compilation.jbosscache140-plugin"/>
+ </javac>
+
+ <copy todir="${jbosscache140-plugin.output.dir}">
+ <fileset
dir="${module.jbosscache140-plugin.basedir}/cache-products/jbosscache-1.4.1/src">
+ <patternset refid="compiler.resources"/>
+ <type type="file"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="compile.module.jbosscache140-plugin.tests"
depends="compile.module.jbosscache140-plugin.production"
+ description="compile module jbosscache-1.4.1; test classes"
unless="skip.tests"/>
+
+ <!-- Module jbosscache-2.0.0 -->
+
+ <dirname property="module.jbosscache200-plugin.basedir"
file="${ant.file}"/>
+ <dirname property="module.jbosscache210-plugin.basedir"
file="${ant.file}"/>
+
+
+ <property name="compiler.args.jbosscache200-plugin"
value="${compiler.args}"/>
+
+ <property name="jbosscache200-plugin.output.dir"
+
value="${module.jbosscache200-plugin.basedir}/classes/production/jbosscache-2.0.0"/>
+ <property name="jbosscache210-plugin.output.dir"
+
value="${module.jbosscache210-plugin.basedir}/classes/production/jbosscache-2.1.0"/>
+ <property name="jbosscache200-plugin.testoutput.dir"
+
value="${module.jbosscache200-plugin.basedir}/classes/test/jbosscache-2.0.0"/>
+
+ <path id="jbosscache200-plugin.module.bootclasspath">
+ <!-- Paths to be included in compilation bootclasspath -->
+ </path>
+
+ <path id="jbosscache200-plugin.module.classpath">
+ <fileset
dir="${module.jbosscache200-plugin.basedir}/cache-products/jbosscache-2.0.0/lib"
includes="*.jar"/>
+ <pathelement
location="${module.jbosscache200-plugin.basedir}/cache-products/jbosscache-2.0.0/conf"/>
+ <pathelement
location="${module.framework.basedir}/lib/commons-logging.jar"/>
+ <pathelement location="${framework.output.dir}"/>
+ <pathelement location="${framework.testoutput.dir}"/>
+ <pathelement location="${jbosscache200-plugin.output.dir}"/>
+ </path>
+
+ <path id="jbosscache210-plugin.module.classpath">
+ <fileset
dir="${module.jbosscache210-plugin.basedir}/cache-products/jbosscache-2.1.0/lib"
includes="*.jar"/>
+ <pathelement
location="${module.framework.basedir}/lib/commons-logging.jar"/>
+ <pathelement location="${framework.output.dir}"/>
+ <pathelement location="${framework.testoutput.dir}"/>
+ <pathelement location="${jbosscache210-plugin.output.dir}"/>
+ </path>
+
+
+ <patternset id="excluded.from.module.jbosscache200-plugin">
+ <patternset refid="ignored.files"/>
+ </patternset>
+
+ <patternset id="excluded.from.compilation.jbosscache200-plugin">
+ <patternset refid="excluded.from.module.jbosscache200-plugin"/>
+ </patternset>
+
+ <path id="jbosscache200-plugin.module.sourcepath">
+ <dirset
dir="${module.jbosscache200-plugin.basedir}/cache-products/jbosscache-2.0.0">
+ <include name="src"/>
+ </dirset>
+ </path>
+
+
+ <target name="compile.module.jbosscache200-plugin"
+
depends="compile.module.jbosscache200-plugin.production,compile.module.jbosscache200-plugin.tests"
+ description="Compile module jbosscache-2.0.0"/>
+
+ <target name="compile.module.jbosscache200-plugin.production"
depends="compile.module.framework"
+ description="Compile module jbosscache-2.0.0; production
classes">
+ <mkdir dir="${jbosscache200-plugin.output.dir}"/>
+ <javac destdir="${jbosscache200-plugin.output.dir}"
debug="${compiler.debug}"
+ nowarn="${compiler.generate.no.warnings}"
memorymaximumsize="${compiler.max.memory}" fork="true">
+ <compilerarg line="${compiler.args}"/>
+ <bootclasspath
refid="jbosscache200-plugin.module.bootclasspath"/>
+ <classpath refid="jbosscache200-plugin.module.classpath"/>
+ <src refid="jbosscache200-plugin.module.sourcepath"/>
+ <patternset
refid="excluded.from.compilation.jbosscache200-plugin"/>
+ </javac>
+
+ <copy todir="${jbosscache200-plugin.output.dir}">
+ <fileset
dir="${module.jbosscache200-plugin.basedir}/cache-products/jbosscache-2.0.0/src">
+ <patternset refid="compiler.resources"/>
+ <type type="file"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="compile.module.jbosscache210-plugin.production"
depends="compile.module.framework"
+ description="Compile module jbosscache-2.1.0cr2; production
classes">
+ <mkdir dir="${jbosscache210-plugin.output.dir}"/>
+ <javac destdir="${jbosscache210-plugin.output.dir}"
debug="${compiler.debug}"
+ nowarn="${compiler.generate.no.warnings}"
memorymaximumsize="${compiler.max.memory}" fork="true">
+ <compilerarg line="${compiler.args}"/>
+ <classpath refid="jbosscache210-plugin.module.classpath"/>
+ <src
path="${module.jbosscache210-plugin.basedir}/cache-products/jbosscache-2.1.0"/>
+ </javac>
+ </target>
+
+ <target name="compile.module.jbosscache200-plugin.tests"
depends="compile.module.jbosscache200-plugin.production"
+ description="compile module jbosscache-2.0.0; test classes"
unless="skip.tests"/>
+
+
+ <target name="init" description="Build initialization">
+ <!-- Perform any build initialization in this target -->
+ </target>
+
+ <target name="clean" description="cleanup all">
+ <delete dir="${module.framework.basedir}/classes"/>
+ </target>
+
+ <target name="all"
+ depends="init, clean, compile.module.framework,
compile.module.jbosscache140-plugin, compile.module.jbosscache200-plugin,
compile.module.jbosscache210-plugin.production, compile.module.terracotta-plugin"
+ description="build all"/>
+
<target name="checkClusterAddresses"
depends="compile.module.framework.production"
description="Check whether the cluster config is a valid one">
<java classname="org.cachebench.ClusterConfigurationCheck"
clonevm="true" fork="true">
@@ -508,7 +541,8 @@
</target>
<target name="deploy.sf" depends="compile.module.framework"
description="builds the smartfrog jar and deploys it">
- <rmic classname="org.cachebench.smartfrog.CacheBenchmarkPrim"
base="${framework.output.dir}" verify="true"
debug="true">
+ <rmic classname="org.cachebench.smartfrog.CacheBenchmarkPrim"
base="${framework.output.dir}" verify="true"
+ debug="true">
<classpath refid="framework.module.classpath"/>
</rmic>
<delete dir="${basedir}/smartfrog/sfClasses"/>
Show replies by date