summaryrefslogtreecommitdiff
path: root/qpid/java/perftests
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2014-05-21 15:26:08 +0000
committerRobert Gemmell <robbie@apache.org>2014-05-21 15:26:08 +0000
commit835ce5989d0f5192b8562e47c89cd73ffb5e6ba7 (patch)
treee7bb96560cb5a266b255b177ef3e38919b12f373 /qpid/java/perftests
parent9a1031f22b93fb3e016d4015b28abb015befe72c (diff)
downloadqpid-python-835ce5989d0f5192b8562e47c89cd73ffb5e6ba7.tar.gz
QPID-5774: first main swipe, remove the Ant builds main build.xml and associated files
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596595 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/perftests')
-rw-r--r--qpid/java/perftests/build.xml67
-rw-r--r--qpid/java/perftests/visualisation-jfc/build.xml165
2 files changed, 0 insertions, 232 deletions
diff --git a/qpid/java/perftests/build.xml b/qpid/java/perftests/build.xml
deleted file mode 100644
index 449dd7e89b..0000000000
--- a/qpid/java/perftests/build.xml
+++ /dev/null
@@ -1,67 +0,0 @@
-<!--
- -
- - Licensed to the Apache Software Foundation (ASF) under one
- - or more contributor license agreements. See the NOTICE file
- - distributed with this work for additional information
- - regarding copyright ownership. The ASF licenses this file
- - to you under the Apache License, Version 2.0 (the
- - "License"); you may not use this file except in compliance
- - with the License. You may obtain a copy of the License at
- -
- - http://www.apache.org/licenses/LICENSE-2.0
- -
- - Unless required by applicable law or agreed to in writing,
- - software distributed under the License is distributed on an
- - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- - KIND, either express or implied. See the License for the
- - specific language governing permissions and limitations
- - under the License.
- -
- -->
-<project name="Performance Tests" default="build">
- <condition property="perftests.optional.test.depends" value="bdbstore" else="">
- <or>
- <and>
- <contains string="${modules.opt}" substring="bdbstore"/>
- <contains string="${profile}" substring="bdb"/>
- </and>
- <and>
- <istrue value="${optional}"/>
- <contains string="${profile}" substring="bdb"/>
- </and>
- </or>
- </condition>
-
- <property name="module.depends" value="client common"/>
- <property name="module.test.depends" value="systests broker-core broker-plugins/memory-store broker-plugins/derby-store qpid-test-utils management/common broker-plugins/amqp-0-8-protocol broker-plugins/amqp-0-10-protocol broker-plugins/amqp-1-0-protocol ${perftests.optional.test.depends}"/>
-
- <import file="../module.xml"/>
-
- <property name="xms" value="-Xms256m"/>
- <property name="xmx" value="-Xmx1024m"/>
- <property name="test.logging.level" value="-Damqj.test.logging.level=info"/>
- <property name="qpid.logging.level" value="-Damqj.logging.level=warn"/>
- <property name="log4j.config" value="-Dlog4j.configuration=perftests.log4j"/>
- <property name="properties" value="perftests.properties"/>
-
- <target name="release-bin" depends="release-bin-tasks"/>
-
- <target name="libs-release" description="overridden to not copy depended-on modules or their dependencies, so that a perf tests release is not tied to a particular client version">
- <!-- Copy the module dependencies -->
- <echo message="${module.libs}"/>
- <echo message="overridden to not copy qpid-client or its dependencies so that this release is not tied to a particular client version"/>
-
- <copylist todir="${module.release}/lib" dir="${project.root}" files="${module.libs}"/>
- <!-- Copy the jar for this module -->
- <copy todir="${module.release}/lib" failonerror="true">
- <fileset file="${module.jar}"/>
- </copy>
- </target>
-
- <target name="copy-etc-release" description="override target from module.xml to set flatten=false">
- <copy todir="${module.release}/etc" failonerror="false" flatten="false">
- <fileset dir="${module.etc}"/>
- </copy>
- </target>
-
-</project>
diff --git a/qpid/java/perftests/visualisation-jfc/build.xml b/qpid/java/perftests/visualisation-jfc/build.xml
deleted file mode 100644
index 04deb39d36..0000000000
--- a/qpid/java/perftests/visualisation-jfc/build.xml
+++ /dev/null
@@ -1,165 +0,0 @@
-<!--
- - Licensed to the Apache Software Foundation (ASF) under one
- - or more contributor license agreements. See the NOTICE file
- - distributed with this work for additional information
- - regarding copyright ownership. The ASF licenses this file
- - to you under the Apache License, Version 2.0 (the
- - "License"); you may not use this file except in compliance
- - with the License. You may obtain a copy of the License at
- -
- - http://www.apache.org/licenses/LICENSE-2.0
- -
- - Unless required by applicable law or agreed to in writing,
- - software distributed under the License is distributed on an
- - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- - KIND, either express or implied. See the License for the
- - specific language governing permissions and limitations
- - under the License.
- -->
-<project name="visualisation-jfc" xmlns:ivy="antlib:org.apache.ivy.ant" default="build">
- <property name="module.depends" value="perftests" />
- <property name="module.test.depends" value="common common/tests" />
-
- <property name="module.manifest" value="true" />
-
- <import file="../../module.xml" />
-
- <!-- Overridden to produce Manifest containing Main-Class and Class-Path -->
- <target name="jar.manifest" depends="compile" if="module.manifest">
- <path id="class.path">
- <fileset dir="${build.lib}" >
- <include name="*.jar"/>
- <exclude name="${qpid.jar.name}"/>
- </fileset>
- </path>
- <pathconvert property="qpid.jar.classpath" pathsep=" " dirsep="/">
- <path refid="class.path"/>
- <globmapper from="${build.lib}${file.separator}*" to="*"/>
- </pathconvert>
-
- <jar destfile="${module.jar}" basedir="${module.classes}">
- <manifest>
- <attribute name="Class-Path" value="${qpid.jar.classpath}"/>
- <attribute name="Main-Class" value="org.apache.qpid.disttest.charting.ChartingUtil"/>
- </manifest>
- </jar>
- </target>
-
- <!-- JFreeChart and JFreeCommon -->
- <condition property="download.jfree.jars">
- <or>
- <istrue value="${download-jfree}"/>
- <istrue value="${optional.dependencies}"/>
- <istrue value="${optional}"/>
- </or>
- </condition>
-
- <!-- CSVJDBC -->
- <condition property="download.csvjdbc.jar">
- <or>
- <istrue value="${download-csvjdbc}"/>
- <istrue value="${optional.dependencies}"/>
- <istrue value="${optional}"/>
- </or>
- </condition>
-
- <!--check whether the JFree jar is present, possibly after download-->
- <target name="check-jfree-jars">
- <condition property="jfree.available">
- <and>
- <available file="${project.root}/${jfreechart.jar}"/>
- <available file="${project.root}/${jcommon.jar}"/>
- </and>
- </condition>
- </target>
-
- <!--echo that BDB is required if it isnt present, with associated licencing note-->
- <target name="jfree-jar-required" depends="jfree-licence-note-optional" unless="jfree.available">
- <echo>The JFreeChart library is required to use this optional module.
-
-The jar file may be downloaded by either:
-
- Seperately running the following command from the qpid/java/perftests/visualisation-jfc dir: ant download-jfree
-
- OR
-
- Adding -Ddownload-jfree=true to your regular build command.</echo>
- <fail>The JFreechart JARs were not found</fail>
- </target>
-
- <!--issue JFree licencing note if JFree isnt already present-->
- <target name="jfree-licence-note-optional" depends="check-jfree-jars" unless="jfree.available">
- <antcall target="jfree-licence-note"/>
- </target>
-
- <!--issue JFree licencing note-->
- <target name="jfree-licence-note">
- <echo>*NOTE* The JFreeChart and JFreeCommon libraries required by this optional module are licensed under the LGPL Licence, which is not compatible with the Apache Licence v2.0.
-
-For a copy of the LGPL Licence, please see:
-http://www.gnu.org/licenses/lgpl.html
- </echo>
- </target>
-
- <target name="check-csvjdbc-jars">
- <condition property="csvjdbc.available">
- <available file="${project.root}/${csvjdbc.jar}"/>
- </condition>
- </target>
-
- <!--check if an inline JFree download was requested with the build-->
- <target name="checkjfree-request-props" if="download.jfree.jars">
- <antcall target="download-jfree"/>
- </target>
-
- <!--echo that CSVJDBC is required if it isnt present, with associated licencing note-->
- <target name="csvjdbc-jar-required" depends="csvjdbc-licence-note-optional" unless="csvjdbc.available">
- <echo>The CSVJDBC library is required to use this optional module.
-
-The jar file may be downloaded by either:
-
- Seperately running the following command from the qpid/java/perftests/visualisation-jfc dir: ant download-csvjdbc
-
- OR
-
- Adding -Ddownload-csvjdbc=true to your regular build command.</echo>
- <fail>The CSVJDBC JAR was not found</fail>
- </target>
-
- <!--issue CSVJDBC licencing note-->
- <target name="csvjdbc-licence-note">
- <echo>*NOTE* The CSVJDBC library required by this optional module is licensed under the LGPL Licence, which is not compatible with the Apache Licence v2.0.
-
-For a copy of the LGPL Licence, please see:
-http://www.gnu.org/licenses/lgpl.html
- </echo>
- </target>
-
- <!--issue CSVJDBC licencing note if CSVJDBC isnt already present-->
- <target name="csvjdbc-licence-note-optional" depends="check-csvjdbc-jars" unless="csvjdbc.available">
- <antcall target="csvjdbc-licence-note"/>
- </target>
-
- <!--download JFree, with licencing note-->
- <target name="download-jfree" depends="jfree-licence-note, load-ivy, configure-ivy" unless="${ivy.dont.retrieve}">
- <echo message="Resolving and retrieving dependencies..."/>
- <ivy:resolve type="jar" file="${project.root}/ivy.retrieve.xml" conf="jfree"/>
- <ivy:retrieve type="jar" conf="jfree" sync="true"
- pattern="${project.root}/lib/jfree/[artifact]-[revision].[ext]" />
- </target>
-
- <target name="checkcsvjdbc-request-props" if="download.csvjdbc.jar">
- <antcall target="download-csvjdbc"/>
- </target>
-
- <target name="download-csvjdbc" depends="csvjdbc-licence-note, load-ivy, configure-ivy" unless="${ivy.dont.retrieve}">
- <echo message="Resolving and retrieving dependencies..."/>
- <ivy:resolve type="jar" file="${project.root}/ivy.retrieve.xml" conf="csvjdbc"/>
- <ivy:retrieve type="jar" conf="csvjdbc" sync="true"
- pattern="${project.root}/lib/csvjdbc/[artifact]-[revision].[ext]" />
- </target>
-
- <target name="build" depends="checkjfree-request-props, jfree-jar-required, checkcsvjdbc-request-props, csvjdbc-jar-required, module.build" />
-
-
-</project>