From cae344510091e455ff483799e241b143caa9e1fc Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Wed, 20 Sep 2006 22:29:23 +0000 Subject: [PATCH] This build file is designed to report the performance of ant from various releases. to use: * install ant-contrib.jar to ($ANT_HOME|$HOME/.ant)/lib * install beanshell jar and bsf jar * use unix (with bash) or install cygwin * set the env variables {whichever needs testing} ANT_HOME ANT_HOME_6_5 (the directory containing ant 1.6.5) ANT_HOME_6_4 ANT_HOME_5_4 * run ant For example: export ANT_HOME="c:/cygwin/home/me/svn/trunk/dist" export ANT_HOME_5_4="l:/apps/apache-ant-1.5.4" ant.bat TODO: more build files. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448373 13f79535-47bb-0310-9956-ffa450edef68 --- src/etc/performance/build.xml | 107 ++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 src/etc/performance/build.xml diff --git a/src/etc/performance/build.xml b/src/etc/performance/build.xml new file mode 100644 index 000000000..969446f9a --- /dev/null +++ b/src/etc/performance/build.xml @@ -0,0 +1,107 @@ + + + This build file is designed to report the performance + of ant from various releases. + to use: + * install ant-contrib.jar to ($ANT_HOME|$HOME/.ant)/lib + * install beanshell jar and bsf jar + * use unix (with bash) or install cygwin + * set the env variables {whichever needs testing} + ANT_HOME + ANT_HOME_6_5 (the directory containing ant 1.6.5) + ANT_HOME_6_4 + ANT_HOME_5_4 + + * run ant + For example: + export ANT_HOME="c:/cygwin/home/me/svn/trunk/dist" + export ANT_HOME_5_4="l:/apps/apache-ant-1.5.4" + ant.bat + + TODO: more build files. + + + + + + + + + + + + + + + + + export ANT_HOME=${@{env-ant}} + echo $ANT_HOME + echo -n "-- props.xml --: " + $ANT_HOME/bin/ant -f build/gen/props.xml | grep time + echo -n "-- ant-call.xml --: " + $ANT_HOME/bin/ant -f build/gen/ant-call.xml | grep time + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +