diff options
author | Robert Gemmell <robbie@apache.org> | 2014-05-21 15:26:08 +0000 |
---|---|---|
committer | Robert Gemmell <robbie@apache.org> | 2014-05-21 15:26:08 +0000 |
commit | 835ce5989d0f5192b8562e47c89cd73ffb5e6ba7 (patch) | |
tree | e7bb96560cb5a266b255b177ef3e38919b12f373 | |
parent | 9a1031f22b93fb3e016d4015b28abb015befe72c (diff) | |
download | qpid-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
49 files changed, 0 insertions, 4234 deletions
diff --git a/qpid/java/amqp-1-0-client-jms/build.xml b/qpid/java/amqp-1-0-client-jms/build.xml deleted file mode 100644 index d501be1d8d..0000000000 --- a/qpid/java/amqp-1-0-client-jms/build.xml +++ /dev/null @@ -1,43 +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="AMQP 1.0 JMS Client" default="build"> - - <property name="module.genpom" value="true"/> - <property name="module.depends" value="amqp-1-0-common amqp-1-0-client"/> - <property name="module.genpom.args" value="-Sgeronimo-jms_1.1_spec=provided"/> - - <property name="example.src.dir" value="${project.root}/amqp-1-0-client-jms/example/src/main/java" /> - <property name="example.jar.file" value="${build.lib}/qpid-amqp-1-0-client-jms-example-${project.version}.jar" /> - - - <target name="release-bin-copy-readme"> - <copy todir="${module.release}" overwrite="true" failonerror="true"> - <fileset file="${basedir}/README.txt" /> - </copy> - </target> - - <target name="release-bin-other" depends="release-bin-copy-readme"/> - - <target name="release-bin" depends="release-bin-tasks"/> - - <import file="../module.xml"/> - -</project> diff --git a/qpid/java/amqp-1-0-client-jms/example/build.xml b/qpid/java/amqp-1-0-client-jms/example/build.xml deleted file mode 100644 index cb9ab0994c..0000000000 --- a/qpid/java/amqp-1-0-client-jms/example/build.xml +++ /dev/null @@ -1,28 +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="AMQ 1.0 JMS Client Example" default="build"> - - <property name="module.depends" value="amqp-1-0-client-jms amqp-1-0-client amqp-1-0-common"/> - <property name="module.test.depends" value=""/> - - <import file="../../module.xml"/> - -</project> diff --git a/qpid/java/amqp-1-0-client-websocket/build.xml b/qpid/java/amqp-1-0-client-websocket/build.xml deleted file mode 100644 index 2d538aab66..0000000000 --- a/qpid/java/amqp-1-0-client-websocket/build.xml +++ /dev/null @@ -1,39 +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="AMQP 1.0 Client WebSocket transport" default="build"> - - <property name="module.genpom" value="true"/> - <property name="module.depends" value="amqp-1-0-common amqp-1-0-client"/> - <property name="release.exclude.module.deps" value="true"/> - - <import file="../module.xml"/> - - <target name="release-bin-copy-readme"> - <copy todir="${module.release}" overwrite="true" failonerror="true"> - <fileset file="${basedir}/README.txt" /> - </copy> - </target> - - <target name="release-bin-other" depends="release-bin-copy-readme"/> - - <target name="release-bin" depends="release-bin-tasks"/> - -</project> diff --git a/qpid/java/amqp-1-0-client/build.xml b/qpid/java/amqp-1-0-client/build.xml deleted file mode 100644 index cd7654ed15..0000000000 --- a/qpid/java/amqp-1-0-client/build.xml +++ /dev/null @@ -1,32 +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="AMQP 1.0 Client" default="build"> - - <property name="module.genpom" value="true"/> - <property name="module.depends" value="amqp-1-0-common"/> - - <property name="example.src.dir" value="${project.root}/amqp-1-0-client/example/src/main/java" /> - <property name="example.jar.file" value="${build.lib}/qpid-amqp-1-0-client-example-${project.version}.jar" /> - - - <import file="../module.xml"/> - -</project> diff --git a/qpid/java/amqp-1-0-client/example/build.xml b/qpid/java/amqp-1-0-client/example/build.xml deleted file mode 100644 index 89bba729dd..0000000000 --- a/qpid/java/amqp-1-0-client/example/build.xml +++ /dev/null @@ -1,28 +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="AMQ 1.0 Client Example" default="build"> - - <property name="module.depends" value="amqp-1-0-client amqp-1-0-common"/> - <property name="module.test.depends" value=""/> - - <import file="../../module.xml"/> - -</project> diff --git a/qpid/java/amqp-1-0-common/build.xml b/qpid/java/amqp-1-0-common/build.xml deleted file mode 100644 index 370769824f..0000000000 --- a/qpid/java/amqp-1-0-common/build.xml +++ /dev/null @@ -1,27 +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="AMQP 1.0 Common" default="build"> - - <property name="module.genpom" value="true"/> - - <import file="../module.xml"/> - -</project> diff --git a/qpid/java/bdbstore/build.xml b/qpid/java/bdbstore/build.xml deleted file mode 100644 index d07a6eae2f..0000000000 --- a/qpid/java/bdbstore/build.xml +++ /dev/null @@ -1,89 +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="bdbstore" xmlns:ivy="antlib:org.apache.ivy.ant" default="build"> - <property name="module.depends" value="common broker-core broker-codegen broker-plugins/amqp-0-8-protocol broker-plugins/amqp-0-10-protocol" /> - <property name="module.test.depends" value="client qpid-test-utils broker-core/tests management/common systests broker-plugins/management-jmx broker-plugins/memory-store broker-plugins/amqp-0-8-protocol broker-plugins/amqp-0-10-protocol broker-plugins/amqp-msg-conv-0-8-to-0-10" /> - <property name="module.genpom" value="true"/> - <property name="module.genpom.args" value="-Sqpid-common=provided -Sqpid-broker-core=provided -Sqpid-broker-plugins-amqp-0-8-protocol=provided -Sje=provided"/> - - <property name="broker.plugin" value="true"/> - - <import file="../module.xml" /> - - <condition property="download.bdb.jar"> - <or> - <istrue value="${download-bdb}"/> - <istrue value="${optional.dependencies}"/> - <istrue value="${optional}"/> - </or> - </condition> - - <!--check whether the BDB jar is present, possibly after download--> - <target name="check-bdb-jar"> - <available file="${project.root}/${bdb-je}" type="file" property="bdb.jar.available"/> - </target> - - <!--echo that BDB is required if it isnt present, with associated licencing note--> - <target name="bdb-jar-required" depends="bdb-licence-note-optional" unless="bdb.jar.available"> - <echo>The BDB JE 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/bdbstore dir: ant download-bdb - - OR - - Adding -Ddownload-bdb=true to your regular build command.</echo> - <fail>The BDB JE library was not found</fail> - </target> - - <!--issue BDB licencing note if BDB isnt already present--> - <target name="bdb-licence-note-optional" depends="check-bdb-jar" unless="bdb.jar.available"> - <antcall target="bdb-licence-note"/> - </target> - - <!--issue BDB licencing note--> - <target name="bdb-licence-note"> - <echo>*NOTE* The BDB JE library required by this optional module is licensed under the Sleepycat Licence, which is not compatible with the Apache Licence v2.0. - -For a copy of the Sleepycat Licence, please see: -http://www.oracle.com/technetwork/database/berkeleydb/downloads/jeoslicense-086837.html</echo> - </target> - - <!--check if an inline BDB download was requested with the build--> - <target name="check-request-props" if="download.bdb.jar"> - <antcall target="download-bdb"/> - </target> - - <!--download BDB, with licencing note--> - <target name="download-bdb" depends="bdb-licence-note, load-ivy, configure-ivy" unless="${ivy.dont.retrieve}"> - <echo message="Resolving and retrieving dependencies..."/> - <ivy:resolve type="jar,bundle" file="${project.root}/ivy.retrieve.xml" conf="bdbje"/> - <ivy:retrieve type="jar,bundle" conf="bdbje" sync="true" - pattern="${project.root}/lib/bdbstore/[artifact]-[revision].[ext]" /> - </target> - - <target name="build" depends="check-request-props, bdb-jar-required, module.build" /> - - <!-- Overrides, target in module.xml --> - <target name="copy-broker-plugin-jars-deps" if="broker.plugin" description="copy broker plugins dependencies for use in release packaging"> - <!-- NO-OP, we explicitly do not want to copy the dependencies for this optional functionality as we can't distribute them --> - </target> - -</project> diff --git a/qpid/java/bdbstore/jmx/build.xml b/qpid/java/bdbstore/jmx/build.xml deleted file mode 100644 index 544cdef2fc..0000000000 --- a/qpid/java/bdbstore/jmx/build.xml +++ /dev/null @@ -1,36 +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="bdbstore-jmx" default="build"> - <property name="module.depends" value="common broker-core broker-plugins/management-jmx management/common bdbstore" /> - <property name="module.test.depends" value="broker-core/tests qpid-test-utils management/common client systests bdbstore/tests broker-plugins/memory-store" /> - - <property name="module.genpom" value="true"/> - <property name="module.genpom.args" value="-Sqpid-common=provided -Sqpid-broker-core=provided -Sqpid-broker-plugins-management-jmx=provided -Sqpid-management-common=provided -Sqpid-bdbstore=provided -Sje=provided"/> - - <property name="broker.plugin" value="true"/> - - <import file="../../module.xml" /> - - <target name="bundle" depends="bundle-tasks" /> - - <!-- Overrides target in module.xml --> - <target name="copy-broker-plugin-jars-deps" if="broker.plugin" description="copy broker plugins dependencies for use in release packaging"> - <!-- NO-OP, we explicitly do not want to copy the dependencies for this optional functionality as we can't distribute them --> - </target> -</project> diff --git a/qpid/java/bdbstore/systests/build.xml b/qpid/java/bdbstore/systests/build.xml deleted file mode 100644 index ca809ad0cb..0000000000 --- a/qpid/java/bdbstore/systests/build.xml +++ /dev/null @@ -1,28 +0,0 @@ -<!-- - - - - Licensed to the Apache Software Foundation (ASF) under one -nn - or more contributor license agreements. See the NOTICE file - -n 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="BDBStoreSystemTests" default="build"> - <property name="module.depends" value="qpid-test-utils systests client management/common broker-core broker-core/tests common amqp-1-0-common common/tests jca ra broker-plugins/access-control broker-plugins/management-http broker-plugins/management-jmx broker-plugins/memory-store broker-plugins/derby-store broker-plugins/amqp-0-8-protocol broker-plugins/amqp-0-10-protocol broker-plugins/amqp-1-0-protocol broker-plugins/amqp-msg-conv-0-8-to-0-10 broker-plugins/amqp-msg-conv-0-8-to-1-0 broker-plugins/amqp-msg-conv-0-10-to-1-0 bdbstore bdbstore/jmx"/> - <property name="module.test.src" location="src/main/java"/> - - <import file="../../module.xml"/> - - <property name="module.src.resources.extra" location="../src/test/resources"/> -</project> diff --git a/qpid/java/broker-codegen/build.xml b/qpid/java/broker-codegen/build.xml deleted file mode 100644 index e7b10848de..0000000000 --- a/qpid/java/broker-codegen/build.xml +++ /dev/null @@ -1,30 +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="Broker Codegen" default="build"> - <property name="broker-codegen.libs" value="" /> - - <import file="../module.xml"/> - - <property name="module.genpom" value="false"/> - - <target name="bundle" depends="bundle-tasks"/> - -</project> diff --git a/qpid/java/broker-core/build.xml b/qpid/java/broker-core/build.xml deleted file mode 100644 index 1fb18a750a..0000000000 --- a/qpid/java/broker-core/build.xml +++ /dev/null @@ -1,33 +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="AMQ Broker" default="build"> - <property name="module.depends" value="management/common common broker-codegen"/> - <property name="module.test.depends" value="qpid-test-utils" /> - <property name="module.genpom" value="true"/> - - <import file="../module.xml"/> - - <import file="${project.root}/broker-core/build-generate-sources.xml"/> - - <target name="precompile" depends="generate-logmessages"/> - - <target name="bundle" depends="bundle-tasks"/> -</project> diff --git a/qpid/java/broker-plugins/access-control/build.xml b/qpid/java/broker-plugins/access-control/build.xml deleted file mode 100644 index abb205f439..0000000000 --- a/qpid/java/broker-plugins/access-control/build.xml +++ /dev/null @@ -1,34 +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="Qpid Broker-Plugins Access Control" default="build"> - <property name="module.depends" value="common broker-core broker-codegen" /> - <property name="module.test.depends" value="qpid-test-utils broker-core/tests management/common" /> - - <property name="module.genpom" value="true"/> - <property name="module.genpom.args" value="-Sqpid-common=provided -Sqpid-broker-core=provided"/> - - <property name="broker.plugin" value="true"/> - - <property name="broker-plugins-access-control.libs" value=""/> - - <import file="../../module.xml" /> - - <target name="bundle" depends="bundle-tasks"/> - -</project> diff --git a/qpid/java/broker-plugins/amqp-0-10-protocol/build.xml b/qpid/java/broker-plugins/amqp-0-10-protocol/build.xml deleted file mode 100644 index d60861f847..0000000000 --- a/qpid/java/broker-plugins/amqp-0-10-protocol/build.xml +++ /dev/null @@ -1,33 +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="Qpid Broker-Plugins AMQP 0-10 Protocol" default="build"> - <property name="module.depends" value="common broker-core broker-codegen" /> - <property name="module.test.depends" value="qpid-test-utils broker-core/tests" /> - - <property name="module.genpom" value="true"/> - <property name="module.genpom.args" value="-Sqpid-common=provided -Sqpid-broker-core=provided"/> - <property name="broker-plugins-amqp-0-10-protocol.libs" value="" /> - - <property name="broker.plugin" value="true"/> - - <import file="../../module.xml" /> - - <target name="bundle" depends="bundle-tasks"/> - -</project> diff --git a/qpid/java/broker-plugins/amqp-0-8-protocol/build.xml b/qpid/java/broker-plugins/amqp-0-8-protocol/build.xml deleted file mode 100644 index 67c0b7ab4f..0000000000 --- a/qpid/java/broker-plugins/amqp-0-8-protocol/build.xml +++ /dev/null @@ -1,33 +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="Qpid Broker-Plugins AMQP 0-8 Protocol" default="build"> - <property name="module.depends" value="common broker-core broker-codegen" /> - <property name="module.test.depends" value="qpid-test-utils broker-core/tests" /> - - <property name="module.genpom" value="true"/> - <property name="module.genpom.args" value="-Sqpid-common=provided -Sqpid-broker-core=provided"/> - <property name="broker-plugins-amqp-0-8-protocol.libs" value="" /> - - <property name="broker.plugin" value="true"/> - - <import file="../../module.xml" /> - - <target name="bundle" depends="bundle-tasks"/> - -</project> diff --git a/qpid/java/broker-plugins/amqp-1-0-protocol/build.xml b/qpid/java/broker-plugins/amqp-1-0-protocol/build.xml deleted file mode 100644 index 2315ba557d..0000000000 --- a/qpid/java/broker-plugins/amqp-1-0-protocol/build.xml +++ /dev/null @@ -1,40 +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="Qpid Broker-Plugins AMQP 1.0 Protocol" default="build"> - <property name="module.depends" value="common broker-core amqp-1-0-common broker-codegen" /> - <property name="module.test.depends" value="qpid-test-utils broker-core/tests" /> - - <property name="module.genpom" value="true"/> - <property name="module.genpom.args" value="-Sqpid-common=provided -Sqpid-broker-core=provided"/> - <property name="broker-plugins-amqp-1-0-protocol.libs" value="" /> - - <property name="broker.plugin" value="true"/> - - <import file="../../module.xml" /> - - <target name="bundle" depends="bundle-tasks"/> - - <!-- Overrides, but depends on, target in module.xml --> - <target name="copy-broker-plugin-jars-deps" depends="module.copy-broker-plugin-jars-deps" if="broker.plugin" description="copy broker plugins dependencies for use in release packaging"> - <copy todir="${build.scratch.broker.plugins.lib}" failonerror="true" flatten="true"> - <fileset file="${build.lib}/${project.name}-amqp-1-0-common-${project.version}.jar"/> - </copy> - </target> - -</project> diff --git a/qpid/java/broker-plugins/amqp-msg-conv-0-10-to-1-0/build.xml b/qpid/java/broker-plugins/amqp-msg-conv-0-10-to-1-0/build.xml deleted file mode 100644 index 0e4a9f1120..0000000000 --- a/qpid/java/broker-plugins/amqp-msg-conv-0-10-to-1-0/build.xml +++ /dev/null @@ -1,33 +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="Qpid Broker-Plugins AMQP 0.8 to 1.0 MessageConversion" default="build"> - <property name="module.depends" value="common broker-core amqp-1-0-common broker-plugins/amqp-1-0-protocol broker-plugins/amqp-0-10-protocol broker-codegen" /> - <property name="module.test.depends" value="qpid-test-utils broker-core/tests" /> - - <property name="module.genpom" value="true"/> - <property name="module.genpom.args" value="-Sqpid-common=provided -Sqpid-broker-core=provided -Sqpid-amqp-1-0-common=provided -Sqpid-broker-plugins-amqp-0-10-protocol=provided -Sqpid-broker-plugins-amqp-1-0-protocol=provided"/> - <property name="broker-plugins-amqp-msg-conv-0-10-to-1-0.libs" value="" /> - - <property name="broker.plugin" value="true"/> - - <import file="../../module.xml" /> - - <target name="bundle" depends="bundle-tasks"/> - -</project> diff --git a/qpid/java/broker-plugins/amqp-msg-conv-0-8-to-0-10/build.xml b/qpid/java/broker-plugins/amqp-msg-conv-0-8-to-0-10/build.xml deleted file mode 100644 index d7f5898c4c..0000000000 --- a/qpid/java/broker-plugins/amqp-msg-conv-0-8-to-0-10/build.xml +++ /dev/null @@ -1,33 +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="Qpid Broker-Plugins AMQP 0.8 to 0.10 MessageConversion" default="build"> - <property name="module.depends" value="common broker-core broker-plugins/amqp-0-8-protocol broker-plugins/amqp-0-10-protocol broker-codegen" /> - <property name="module.test.depends" value="qpid-test-utils broker-core/tests" /> - - <property name="module.genpom" value="true"/> - <property name="module.genpom.args" value="-Sqpid-common=provided -Sqpid-broker-core=provided -Sqpid-broker-plugins-amqp-0-10-protocol=provided -Sqpid-broker-plugins-amqp-0-8-protocol=provided"/> - <property name="broker-plugins-amqp-msg-conv-0-8-to-0-10.libs" value="" /> - - <property name="broker.plugin" value="true"/> - - <import file="../../module.xml" /> - - <target name="bundle" depends="bundle-tasks"/> - -</project> diff --git a/qpid/java/broker-plugins/amqp-msg-conv-0-8-to-1-0/build.xml b/qpid/java/broker-plugins/amqp-msg-conv-0-8-to-1-0/build.xml deleted file mode 100644 index d14c9b0680..0000000000 --- a/qpid/java/broker-plugins/amqp-msg-conv-0-8-to-1-0/build.xml +++ /dev/null @@ -1,33 +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="Qpid Broker-Plugins AMQP 0.8 to 1.0 MessageConversion" default="build"> - <property name="module.depends" value="common broker-core amqp-1-0-common broker-plugins/amqp-0-8-protocol broker-plugins/amqp-1-0-protocol broker-codegen" /> - <property name="module.test.depends" value="qpid-test-utils broker-core/tests" /> - - <property name="module.genpom" value="true"/> - <property name="module.genpom.args" value="-Sqpid-common=provided -Sqpid-broker-core=provided -Sqpid-amqp-1-0-common=provided -Sqpid-broker-plugins-amqp-1-0-protocol=provided -Sqpid-broker-plugins-amqp-0-8-protocol=provided"/> - <property name="broker-plugins-amqp-msg-conv-0-8-to-1-0.libs" value="" /> - - <property name="broker.plugin" value="true"/> - - <import file="../../module.xml" /> - - <target name="bundle" depends="bundle-tasks"/> - -</project> diff --git a/qpid/java/broker-plugins/derby-store/build.xml b/qpid/java/broker-plugins/derby-store/build.xml deleted file mode 100644 index fb71bc46a4..0000000000 --- a/qpid/java/broker-plugins/derby-store/build.xml +++ /dev/null @@ -1,33 +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="Qpid Broker-Plugins Derby Store" default="build"> - <property name="module.depends" value="common broker-core broker-codegen" /> - <property name="module.test.depends" value="qpid-test-utils broker-core/tests" /> - - <property name="module.genpom" value="true"/> - <property name="module.genpom.args" value="-Sqpid-common=provided -Sqpid-broker-core=provided"/> - <property name="broker-plugins-derby-store.libs" value="" /> - - <property name="broker.plugin" value="true"/> - - <import file="../../module.xml" /> - - <target name="bundle" depends="bundle-tasks"/> - -</project> diff --git a/qpid/java/broker-plugins/jdbc-provider-bone/build.xml b/qpid/java/broker-plugins/jdbc-provider-bone/build.xml deleted file mode 100644 index 5cc1edcef1..0000000000 --- a/qpid/java/broker-plugins/jdbc-provider-bone/build.xml +++ /dev/null @@ -1,56 +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="jdbc-provider-bone" xmlns:ivy="antlib:org.apache.ivy.ant" default="build"> - <property name="module.depends" value="common broker-core broker-codegen" /> - <property name="module.genpom" value="true"/> - <property name="module.genpom.args" value="-Sqpid-common=provided -Sqpid-broker-core=provided"/> - - <property name="broker.plugin" value="true"/> - - <import file="../../module.xml" /> - - <condition property="download.bonecp.jar"> - <or> - <istrue value="${download-bonecp}"/> - <istrue value="${optional.dependencies}"/> - <istrue value="${optional}"/> - </or> - </condition> - - - <target name="check-bonecp-jar"> - <available file="${project.root}/${bonecp}" type="file" property="bonecp.jar.available"/> - </target> - - <target name="check-request-props" if="download.bonecp.jar"> - <antcall target="download-bone"/> - </target> - - - <target name="download-bone" depends="load-ivy, configure-ivy" unless="${ivy.dont.retrieve}"> - <echo message="Resolving and retrieving dependencies..."/> - <ivy:resolve type="jar,bundle" file="${project.root}/ivy.retrieve.xml" conf="bonecp"/> - <ivy:retrieve type="jar,bundle" conf="bonecp" sync="true" - pattern="${project.root}/lib/bonecp/[artifact]-[revision].[ext]" /> - </target> - - <target name="build" depends="check-request-props, module.build" /> - -</project> - diff --git a/qpid/java/broker-plugins/jdbc-store/build.xml b/qpid/java/broker-plugins/jdbc-store/build.xml deleted file mode 100644 index aa0f8aca94..0000000000 --- a/qpid/java/broker-plugins/jdbc-store/build.xml +++ /dev/null @@ -1,32 +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="Qpid Broker-Plugins JDBC Store" default="build"> - <property name="module.depends" value="common broker-core broker-codegen" /> - <property name="module.test.depends" value="qpid-test-utils broker-core/tests" /> - - <property name="module.genpom" value="true"/> - <property name="module.genpom.args" value="-Sqpid-common=provided -Sqpid-broker-core=provided"/> - <property name="broker-plugins-jdbc-store.libs" value="" /> - - <property name="broker.plugin" value="true"/> - - <import file="../../module.xml" /> - - <target name="bundle" depends="bundle-tasks"/> -</project> diff --git a/qpid/java/broker-plugins/management-amqp/build.xml b/qpid/java/broker-plugins/management-amqp/build.xml deleted file mode 100644 index 5ed0fa87f3..0000000000 --- a/qpid/java/broker-plugins/management-amqp/build.xml +++ /dev/null @@ -1,32 +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="Qpid Broker-Plugins AMQP Management" default="build"> - <property name="module.depends" value="common broker-core broker-codegen" /> - <property name="module.test.depends" value="qpid-test-utils broker-core/tests" /> - - <property name="module.genpom" value="true"/> - <property name="module.genpom.args" value="-Sqpid-common=provided -Sqpid-broker-core=provided"/> - - <property name="broker.plugin" value="true"/> - <property name="broker-plugins-management-amqp.libs" value="" /> - - <import file="../../module.xml" /> - - <target name="bundle" depends="bundle-tasks"/> -</project> diff --git a/qpid/java/broker-plugins/management-http/build.xml b/qpid/java/broker-plugins/management-http/build.xml deleted file mode 100644 index e4ad1d9e4b..0000000000 --- a/qpid/java/broker-plugins/management-http/build.xml +++ /dev/null @@ -1,53 +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="Qpid Broker-Plugins Management HTTP" default="build"> - - <property name="module.depends" value="common broker-core broker-codegen" /> - <property name="module.test.depends" value="broker-core/tests qpid-test-utils management/common client" /> - - <property name="module.genpom" value="true" /> - <property name="module.genpom.args" value="-Sqpid-common=provided -Sqpid-broker-core=provided" /> - - <property name="broker.plugin" value="true"/> - - <import file="../../module.xml" /> - - <property name="module.manifest" value="${module.build}/MANIFEST.MF" /> - <property name="dojo.config.file" value="${module.classes}/dojoconfig.properties" /> - - <target name="precompile" depends="generate-manifest, generate-dojo-config"/> - - <target name="generate-manifest"> - <!-- Echos exactly as shown, so leave no spaces before/after lines --> - <echo file="${module.manifest}" append="false">Manifest-Version: 1.0 -Class-Path: dojo-${dojo-version}.zip -</echo> - </target> - - <target name="generate-dojo-config"> - <!-- Echos exactly as shown, so leave no spaces before/after lines --> - <echo file="${dojo.config.file}" append="false">dojo-version=${dojo-version} -dojo-path=/dojo-${dojo-version}/dojo -dijit-path=/dojo-${dojo-version}/dijit -dojox-path=/dojo-${dojo-version}/dojox -</echo> - </target> - - <target name="bundle" depends="bundle-tasks" /> -</project> diff --git a/qpid/java/broker-plugins/management-jmx/build.xml b/qpid/java/broker-plugins/management-jmx/build.xml deleted file mode 100644 index ae7e410474..0000000000 --- a/qpid/java/broker-plugins/management-jmx/build.xml +++ /dev/null @@ -1,33 +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="Qpid Broker-Plugins Management JMX" default="build"> - <property name="module.depends" value="common broker-core management/common broker-codegen" /> - <property name="module.test.depends" value="broker-core/tests qpid-test-utils management/common client" /> - - <property name="module.genpom" value="true"/> - <property name="module.genpom.args" value="-Sqpid-common=provided -Sqpid-broker-core=provided -Sqpid-management-common=provided"/> - - <property name="broker.plugin" value="true"/> - - <property name="broker-plugins-management-jmx.libs" value=""/> - - <import file="../../module.xml" /> - - <target name="bundle" depends="bundle-tasks" /> -</project> diff --git a/qpid/java/broker-plugins/memory-store/build.xml b/qpid/java/broker-plugins/memory-store/build.xml deleted file mode 100644 index 5bbc79f9c6..0000000000 --- a/qpid/java/broker-plugins/memory-store/build.xml +++ /dev/null @@ -1,32 +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="Qpid Broker-Plugins Memory Store" default="build"> - <property name="module.depends" value="common broker-core broker-codegen" /> - <property name="module.test.depends" value="qpid-test-utils broker-core/tests" /> - - <property name="module.genpom" value="true"/> - <property name="module.genpom.args" value="-Sqpid-common=provided -Sqpid-broker-core=provided"/> - - <property name="broker.plugin" value="true"/> - <property name="broker-plugins-memory-store.libs" value="" /> - - <import file="../../module.xml" /> - - <target name="bundle" depends="bundle-tasks"/> -</project> diff --git a/qpid/java/broker-plugins/websocket/build.xml b/qpid/java/broker-plugins/websocket/build.xml deleted file mode 100644 index 05fb0f3286..0000000000 --- a/qpid/java/broker-plugins/websocket/build.xml +++ /dev/null @@ -1,32 +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="Qpid Broker-Plugins Websocket Transport" default="build"> - <property name="module.depends" value="common broker-core broker-codegen" /> - <property name="module.test.depends" value="qpid-test-utils broker-core/tests" /> - - <property name="module.genpom" value="true"/> - <property name="module.genpom.args" value="-Sqpid-common=provided -Sqpid-broker-core=provided"/> - - <property name="broker.plugin" value="true"/> - <property name="broker-plugins-websocket.libs" value="" /> - - <import file="../../module.xml" /> - - <target name="bundle" depends="bundle-tasks"/> -</project> diff --git a/qpid/java/broker/build.xml b/qpid/java/broker/build.xml deleted file mode 100644 index 91a020b41d..0000000000 --- a/qpid/java/broker/build.xml +++ /dev/null @@ -1,85 +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="Broker" default="build"> - <property name="module.depends" value="broker-core common management/common"/> - <property name="module.test.depends" value="qpid-test-utils" /> - <property name="module.main" value="org.apache.qpid.server.Main"/> - <property name="module.genpom" value="true"/> - - <!-- Add dependencies to the broker pom for the broker-core, broker-plugins and bdbstore modules --> - <property name="module.maven.depends" value="broker-core broker-plugins/access-control broker-plugins/amqp-0-8-protocol broker-plugins/amqp-0-10-protocol broker-plugins/amqp-1-0-protocol broker-plugins/amqp-msg-conv-0-8-to-0-10 broker-plugins/amqp-msg-conv-0-8-to-1-0 broker-plugins/amqp-msg-conv-0-10-to-1-0 broker-plugins/derby-store broker-plugins/jdbc-provider-bone broker-plugins/jdbc-store broker-plugins/management-http broker-plugins/management-jmx broker-plugins/memory-store bdbstore bdbstore/jmx"/> - <!-- Make the plugins runtime dependencies, make bdbstore modules optional --> - <property name="module.genpom.args" value="-Sqpid-broker-plugins-access-control=runtime -Sqpid-broker-plugins-amqp-0-8-protocol=runtime -Sqpid-broker-plugins-amqp-0-10-protocol=runtime -Sqpid-broker-plugins-amqp-1-0-protocol=runtime -Sqpid-broker-plugins-amqp-msg-conv-0-8-to-0-10=runtime -Sqpid-broker-plugins-amqp-msg-conv-0-8-to-1-0=runtime -Sqpid-broker-plugins-amqp-msg-conv-0-10-to-1-0=runtime -Sqpid-broker-plugins-derby-store=runtime -Sqpid-broker-plugins-jdbc-provider-bone=runtime -Sqpid-broker-plugins-jdbc-store=runtime -Sqpid-broker-plugins-management-http=runtime -Sqpid-broker-plugins-management-jmx=runtime -Sbroker-plugins-memory-store=runtime -Sqpid-bdbstore=runtime -Sqpid-bdbstore-jmx=runtime -Oqpid-bdbstore -Oqpid-bdbstore-jmx"/> - - <import file="../module.xml"/> - - - <target name="copy-etc-release" if="module.etc.exists" description="copy etc directory if it exists to build tree"> - <copy todir="${module.release}/etc" failonerror="false" flatten="true"> - <fileset dir="${module.etc}" excludes="*.conf,*.jpp"/> - </copy> - </target> - - <target name="copy-bin-release" description="copy dependencies into module release"> - <copy todir="${module.release}/bin" failonerror="true"> - <fileset dir="${module.bin}"/> - </copy> - <copy todir="${module.release}/bin" failonerror="true" flatten="true"> - <fileset dir="${basedir}/../common/bin"/> - </copy> - <chmod dir="${module.release}/bin" perm="ugo+rx" includes="**/*"/> - <fixcrlf srcdir="${module.release}/bin" fixlast="true" eol="unix"/> - <fixcrlf srcdir="${module.release}/bin" fixlast="true" eol="dos" includes="*.bat"/> - </target> - - <target name="release-bin-other" depends="release-bin-other-lib-opt,release-bin-other-bdbstore,release-bin-copy-broker-plugins"/> - - <target name="release-bin-other-lib-opt" depends="release-bin-other-bdbstore" description="make lib/opt dir in the module release"> - <mkdir dir="${module.release}/lib/opt"/> - </target> - - <target name="release-bin-copy-broker-plugins" description="copy broker-plugins into module release"> - <copy todir="${module.release}/lib/plugins" failonerror="true"> - <fileset dir="${build.scratch.broker.plugins.lib}"/> - </copy> - </target> - - <target name="release-bin-other-bdbstore" depends="check-bdbstore-requested" if="bdbstore-requested" - description="copy bdbstore items into module release"> - <copy todir="${module.release}/bin" failonerror="true" flatten="true"> - <fileset dir="${basedir}/../bdbstore/bin"/> - </copy> - </target> - - <target name="check-bdbstore-requested"> - <condition property="bdbstore-requested"> - <or> - <contains string="${modules.opt}" substring="bdbstore"/> - <istrue value="${optional}"/> - </or> - </condition> - </target> - - <target name="release-bin" depends="release-bin-tasks"/> - - <target name="bundle" depends="bundle-tasks"/> - -</project> diff --git a/qpid/java/build.deps b/qpid/java/build.deps deleted file mode 100644 index 3ccbf427e7..0000000000 --- a/qpid/java/build.deps +++ /dev/null @@ -1,144 +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. -# - -commons-beanutils-core=lib/required/commons-beanutils-core-1.8.3.jar -commons-cli=lib/required/commons-cli-1.2.jar -commons-codec=lib/required/commons-codec-1.6.jar -commons-collections=lib/required/commons-collections-3.2.1.jar -commons-lang=lib/required/commons-lang-2.6.jar -commons-logging=lib/required/commons-logging-1.1.1.jar - -bcel=lib/required/bcel-5.2.jar - -derby-db=lib/required/derby-10.8.2.2.jar - -geronimo-jms=lib/required/geronimo-jms_1.1_spec-1.1.1.jar -geronimo-j2ee=lib/required/geronimo-j2ee-connector_1.5_spec-2.0.0.jar -geronimo-jta=lib/required/geronimo-jta_1.1_spec-1.1.1.jar -geronimo-kernel=lib/required/geronimo-kernel-2.2.1.jar -geronimo-openejb=lib/required/geronimo-ejb_3.0_spec-1.0.1.jar -geronimo-servlet=lib/required/geronimo-servlet_3.0_spec-1.0.jar - -junit=lib/required/junit-4.11.jar -mockito-all=lib/required/mockito-all-1.9.0.jar - -gson-all=lib/required/gson-2.0.jar - -log4j=lib/required/log4j-1.2.16.jar - -slf4j-api=lib/required/slf4j-api-1.6.4.jar -slf4j-log4j=lib/required/slf4j-log4j12-1.6.4.jar - -jetty=lib/required/jetty-server-8.1.14.v20131031.jar -jetty-continuation=lib/required/jetty-continuation-8.1.14.v20131031.jar -jetty-security=lib/required/jetty-security-8.1.14.v20131031.jar -jetty-util=lib/required/jetty-util-8.1.14.v20131031.jar -jetty-io=lib/required/jetty-io-8.1.14.v20131031.jar -jetty-http=lib/required/jetty-http-8.1.14.v20131031.jar -jetty-servlet=lib/required/jetty-servlet-8.1.14.v20131031.jar -jetty-websocket=lib/required/jetty-websocket-8.1.14.v20131031.jar -servlet-api=${geronimo-servlet} - -cryptojs=lib/required/cryptojs-3.1.2.jar - -dojo-version=1.9.1 -dojo=lib/required/dojo-${dojo-version}.zip - -jackson-core=lib/required/jackson-core-asl-1.9.0.jar -jackson-mapper=lib/required/jackson-mapper-asl-1.9.0.jar - -commons.libs = ${commons-codec} ${commons-lang} - -common.libs=${slf4j-api} -client.libs=${geronimo-jms} -amqp-1-0-common.libs= -amqp-1-0-client.libs= -amqp-1-0-client-example.libs=${commons-cli} -amqp-1-0-client-jms.libs=${geronimo-jms} -amqp-1-0-client-websocket.libs = ${jetty} ${jetty-continuation} ${jetty-security} ${jetty-http} ${jetty-io} ${jetty-servlet} ${jetty-util} ${servlet-api} ${jetty-websocket} -tools.libs=${commons.libs} ${log4j} -broker-core.libs=${commons-cli} ${commons-logging} ${log4j} ${slf4j-log4j} \ - ${derby-db} ${commons.libs} \ - ${jackson-core} ${jackson-mapper} ${jetty} ${jetty-continuation} ${jetty-security} ${jetty-http} ${jetty-io} ${jetty-servlet} ${jetty-util} ${servlet-api} ${jetty-websocket} ${bcel} - -#Borrow the broker-core libs, hack for release binary generation -broker.libs=${broker-core.libs} - -broker-plugins-management-http.libs=${dojo} ${cryptojs} -broker-plugins.libs=${log4j} ${commons.libs} - -test.libs=${slf4j-log4j} ${log4j} ${junit} ${slf4j-api} ${mockito-all} - -perftests.libs=${geronimo-jms} ${slf4j-api} ${log4j} ${slf4j-log4j} ${commons-logging} ${commons-beanutils-core} ${commons-lang} ${commons-collections} ${gson-all} ${derby-db} - -management-common.libs= - -common.test.libs=${test.libs} -broker.test.libs=${test.libs} -broker-core.test.libs=${test.libs} -client.test.libs=${test.libs} -client-example.test.libs=${test.libs} -tools.test.libs= -systests.libs=${test.libs} -perftests.test.libs=${test.libs} -qpid-test-utils.libs = ${test.libs} ${geronimo-jms} - -broker-plugins-access-control.test.libs=${test.libs} -broker-plugins-management-amqp.test.libs=${test.libs} -broker-plugins-management-http.test.libs=${test.libs} -broker-plugins-management-jmx.test.libs=${commons-beanutils-core} ${test.libs} -broker-plugins-jdbc-store.test.libs=${test.libs} -broker-plugins-derby-store.test.libs=${test.libs} -broker-plugins-memory-store.test.libs=${test.libs} -broker-plugins-amqp-0-8-protocol.test.libs=${test.libs} -broker-plugins-amqp-0-10-protocol.test.libs=${test.libs} -broker-plugins-amqp-1-0-protocol.test.libs=${test.libs} - -management-common.test.libs=${test.libs} - -# JCA Resource adapter -jca.libs=${geronimo-j2ee} ${geronimo-jta} ${geronimo-jms} ${geronimo-openejb} ${geronimo-servlet} ${geronimo-kernel} -jca.test.libs=${test.libs} - -# optional bdbstore module deps -bdb-je=lib/bdbstore/je-5.0.97.jar -bdbstore.libs=${bdb-je} -bdbstore.test.libs=${test.libs} - -bdbstore-jmx.libs=${bdb-je} -bdbstore-jmx.test.libs=${test.libs} - -# optional perftests-visualisation-jfc module deps -jfreechart.jar=lib/jfree/jfreechart-1.0.13.jar -jcommon.jar=lib/jfree/jcommon-1.0.16.jar -csvjdbc.jar=lib/csvjdbc/csvjdbc-1.0.8.jar -perftests-visualisation-jfc.libs=${jfreechart.jar} ${jcommon.jar} ${csvjdbc.jar} ${derby-db} -perftests-visualisation-jfc.test.libs=${test.libs} - -# optional libs for the boneCP jdbc connection pool -bonecp=lib/bonecp/bonecp-0.7.1.RELEASE.jar -guava=lib/bonecp/guava-14.0.1.jar -broker-plugins-jdbc-provider-bone.libs=${bonecp} ${guava} - -# Libraries used only within the build -bnd=lib/required/bnd-0.0.384.jar -jython=lib/required/jython-standalone-2.5.2.jar -maven-ant-tasks=lib/required/maven-ant-tasks-2.1.1.jar -velocity.jar=lib/required/velocity-1.4.jar -velocity-dep.jar=lib/required/velocity-dep-1.4.jar diff --git a/qpid/java/build.xml b/qpid/java/build.xml deleted file mode 100644 index 5cd0332ba7..0000000000 --- a/qpid/java/build.xml +++ /dev/null @@ -1,361 +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="AMQ Java" xmlns:ivy="antlib:org.apache.ivy.ant" default="build"> - - <import file="common.xml"/> - - <property name="optional" value="false"/> - <property name="modules.opt.default" value="bdbstore bdbstore/jmx bdbstore/systests perftests/visualisation-jfc"/> - <condition property="modules.opt" value="" else="${modules.opt.default}"> - <isfalse value="${optional}"/> - </condition> - <condition property="broker-plugins-exclude" value="jdbc-provider-bone" else=""> - <isfalse value="${optional}"/> - </condition> - - <findSubProjects name="broker-plugins" dir="broker-plugins" excludes="${broker-plugins-exclude}"/> - <findSubProjects name="client-plugins" dir="client-plugins"/> - - <property name="modules.core" value="qpid-test-utils common management/common amqp-1-0-common broker-codegen broker-core broker client amqp-1-0-client amqp-1-0-client-jms amqp-1-0-client-websocket tools"/> - <property name="modules.examples" value="client/example management/example amqp-1-0-client/example amqp-1-0-client-jms/example"/> - <property name="modules.tests" value="systests perftests qpid-perftests-systests"/> - <property name="modules.plugin" value="${broker-plugins} ${client-plugins}"/> - <property name="modules.jca" value="jca"/> - <property name="modules" value="${modules.core} ${modules.examples} - ${modules.jca} ${modules.plugin} ${modules.tests} ${modules.opt}"/> - - <property name="qpid.jar" location="${build.lib}/qpid-all.jar"/> - <basename property="qpid.jar.name" file="${qpid.jar}"/> - - <property name="resources" value="${project.root}/resources"/> - - <!-- Modules for which coverage will be created by the cover-test target --> - <property name="coverage.modules" value="${modules}"/> - - <map property="release.excludes" value="${modules}"> - <globmapper from="*" to="*/\*\*"/> - </map> - - - <property name="release.zip" location="${release}/${project.namever}-java.zip"/> - <property name="release.tar" location="${release}/${project.namever}-java.tar"/> - <property name="release.tgz" location="${release}/${project.namever}-java.tar.gz"/> - <property name="release.bz2" location="${release}/${project.namever}-java.tar.bz2"/> - - <macrodef name="iterate"> - <attribute name="target"/> - <attribute name="modules" default="${modules}"/> - <element name="elements" implicit="true" optional="true"/> - <sequential> - <subant target="@{target}" antfile="build.xml"> - <filelist dir="." files="@{modules}"/> - <elements/> - </subant> - </sequential> - </macrodef> - - <target name="pom" description="generate poms"> - <iterate target="pom"/> - </target> - - <target name="release-mvn" description="Install the artifacts into the local repository"> - <iterate target="release-mvn"/> - </target> - - <target name="deploy-snapshot" description="deploy snapshot artifacts to nexus"> - <iterate target="deploy-snapshot"/> - </target> - - <target name="compile" description="compile sources"> - <iterate target="compile"/> - </target> - - <target name="compile-tests" description="compile unit tests"> - <iterate target="compile-tests"/> - </target> - - <target name="test" description="execute tests" depends="manifest"> - - <delete file="${build.failed}"/> - - <iterate target="test"> - <property name="test.failures.ignore" value="true"/> - </iterate> - - <condition property="failed"> - <available file="${build.failed}"/> - </condition> - - <echo> - ----------------------- NOTE --------------------------- - The Java components are transitioning to using a Maven based - build process, this build process will be removed in the 0.30 - release. A preview of the new Maven build is available - alongside this one. - --------------------------------------------------------------- - </echo> - - <fail if="failed" message="TEST SUITE FAILED"/> - - </target> - - <target name="report-module" description="generate junitreport for modules"> - <iterate target="report-module"/> - </target> - - <target name="jar" description="create module jars"> - <iterate target="jar"/> - </target> - - <target name="jar-tests" description="create unit test jars"> - <iterate target="jar-tests"/> - </target> - - <target name="libs" description="copy dependencies into build tree"> - <iterate target="libs"/> - </target> - - <target name="doc" description="generate api-doc"> - <iterate target="doc"/> - </target> - - <target name="test-doc" description="generate api-doc"> - <iterate target="test-doc"/> - </target> - - <target name="bundle" description="create OSGi bundles"> - <iterate target="bundle"/> - </target> - - <target name="release-bin" description="build a binary release artifact" depends="build,bundle"> - <iterate target="release-bin"/> - </target> - - - <target name="check-manifest"> - <uptodate property="manifest.done" targetfile="${qpid.jar}"> - <srcfiles dir="${build.lib}" includes="**/*.jar" excludes="**/${qpid.jar.name}"/> - </uptodate> - </target> - - <target name="manifest" depends="check-manifest" unless="manifest.done"> - <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="${qpid.jar}"> - <manifest> - <attribute name="Class-Path" value="${qpid.jar.classpath}"/> - </manifest> - <metainf dir="${project.root}/resources/jar"/> - </jar> - - <touch file="${qpid.jar}"/> - </target> - - <target name="build" depends="retrieve-dependencies" description="build the project"> - <iterate target="build"/> - <antcall target="manifest"/> - <echo> - ----------------------- NOTE --------------------------- - The Java components are transitioning to using a Maven based - build process, this build process will be removed in the 0.30 - release. A preview of the new Maven build is available - alongside this one. - --------------------------------------------------------------- - </echo> - </target> - - <target name="prepare"> - <mkdir dir="${release}"/> - </target> - - <target name="zip" depends="build,prepare" description="build release archive"> - <zip destfile="${release.zip}"> - <zipfileset dir="${build}" prefix="${project.namever}" filemode="755"> - <include name="bin/*"/> - <exclude name="bin/*.txt"/> - </zipfileset> - - <zipfileset dir="${build}" prefix="${project.namever}" filemode="644"> - <include name="bin/*.txt"/> - </zipfileset> - - <zipfileset dir="${build}" prefix="${project.namever}" excludes="${release.excludes}" filemode="644" dirmode="755"> - <exclude name="bin/**"/> - <exclude name="scratch/**"/> - <exclude name="results/**"/> - <exclude name="work/**"/> - </zipfileset> - - <zipfileset dir="${resources}" prefix="${project.namever}" filemode="644"> - <include name="README.txt"/> - </zipfileset> - - <zipfileset dir="${resources}/java-binary-release" prefix="${project.namever}" filemode="644"/> - </zip> - </target> - - <target name="tar" depends="zip" description="build release archive"> - <tar destfile="${release.tar}" longfile="gnu" > - <zipfileset src="${release.zip}"/> - </tar> - </target> - - <target name="gzip" depends="tar" description="build release archive"> - <gzip src="${release.tar}" destfile="${release.tgz}"/> - </target> - - <target name="bzip2" depends="tar" description="build release archive"> - <bzip2 src="${release.tar}" destfile="${release.bz2}"/> - </target> - - <target name="release" depends="zip,gzip" description="build all release archives except .bz2"/> - - <target name="release-all" depends="zip,gzip,bzip2" description="build all release archives"/> - - - <target name="clean" description="remove build and release artifacts"> - <iterate target="clean"/> - <delete dir="${build}"/> - <delete dir="${release}"/> - <delete dir="${tasks.classes}"/> - </target> - - <target name="coverage-report" description="generate coverage report" depends="cobertura-init"> - <mkdir dir="${build.coverage.report}" /> - <mkdir dir="${build.coverage.src}" /> - - <cobertura-merge datafile="${build.coverage.report}/cobertura.ser"> - <!-- merge all module coverage reports --> - <fileset dir="${build}"> - <include name="**/*.ser"/> - </fileset> - </cobertura-merge> - - <!-- Copy all covered sources to single directory for cobertura report --> - - <foreach property="module" list="${coverage.modules}"> - - <copy todir="${build.coverage.src}"> - <fileset dir="${module}/src/main/java" includes="**/*.java"/> - </copy> - - <copy todir="${build.coverage.src}"> - <fileset dir="build/scratch/${module}/src" includes="**/*.java"/> - </copy> - </foreach> - - <cobertura-report format="xml" - destdir="${build.coverage.report}" - datafile="${build.coverage.report}/cobertura.ser"> - <fileset dir="${build.coverage.src}" includes="**/*.java" /> - </cobertura-report> - - <cobertura-report format="html" - destdir="${build.coverage.report}" - datafile="${build.coverage.report}/cobertura.ser"> - <fileset dir="${build.coverage.src}" includes="**/*.java" /> - </cobertura-report> - </target> - - <target name="instrument" description="instrument for artifacts"> - <iterate target="instrument"/> - </target> - - <target name="cover-test" description="run tests and generate coverage information" depends="build"> - <iterate target="cover-test" modules="${coverage.modules}"/> - </target> - - <target name="test-interop" depends="build,compile-tests" - description="run JMS examples against the corresponding c++ and python examples"> - <property name="qpid.src.home" location=".."/> - <echo-prop name="qpid.src.home"/> - <exec executable="/bin/sh" failonerror="true"> - <env key="QPID_SRC_HOME" value="${qpid.src.home}"/> - <arg value="-c"/> - <arg value="${project.root}/client/example/bin/verify_all"/> - </exec> - </target> - - <target name="testkit" depends="build,compile-tests"> - <jython path="${mllib.dir}"> - <args> - <arg value="${mllib.dir}/qpid-python-test"/> - <arg value="-m ${basedir}/testkit/testkit"/> - </args> - </jython> - </target> - - <target name="findbugs" depends="build,findbugs-init"> - - <mkdir dir="${build.findbugs}"/> - - <findbugs home="${findbugs.dir}" - output="html" - outputFile="${build.findbugs}/report.html" - stylesheet="fancy-hist.xsl" - jvmargs="-Xmx512m" - projectName="Qpid"> - <!-- The classes for analysis --> - <fileset dir="${build.lib}" includes="qpid*.jar" excludes="*test*.jar *-sources*.jar *example*.jar qpid-all.jar"/> - - <!--Additional classes, not for analysis --> - <auxClassPath> - <fileset dir="${basedir}/lib" includes="**/*.jar"/> - </auxClassPath> - - <!-- Source, used for improved reporting --> - <sourcePath> - <fileset dir="${basedir}" includes="**/src/**/org/.." /> - </sourcePath> - </findbugs> - </target> - - <target name="eclipse" description="build eclipse project and classpath files"> - <iterate target="eclipse"/> - </target> - - <!-- check the following properties which must be specified by the user--> - <target name="check-upload-props-exist" description="check that the required properties have been set"> - <fail unless="nexus.user" message="You must supply the 'nexus.user' property"/> - <fail unless="nexus.password" message="You must supply the 'nexus.password' property"/> - <fail unless="maven.artifact.dir" message="You must supply the 'maven.artifact.dir' property"/> - </target> - - <target name="perform-nexus-upload"> - <ivy:configure file="ivysettings.nexus.xml"/> - <ivy:resolve file="ivy.nexus.xml"/> - <ivy:deliver/> - <ivy:publish publishivy="false" resolver="nexus" - artifactspattern="${maven.artifact.dir}/[organisation]/[module]/[artifact]/[revision]/[artifact]-[revision](-[classifier]).[ext]"/> - </target> - - <target name="upload" depends="load-ivy, check-upload-props-exist, perform-nexus-upload"/> - -</project> diff --git a/qpid/java/client/build.xml b/qpid/java/client/build.xml deleted file mode 100644 index 0375b83c65..0000000000 --- a/qpid/java/client/build.xml +++ /dev/null @@ -1,65 +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="AMQ Client" default="build"> - - <property name="module.depends" value="common"/> - <property name="module.test.depends" value="qpid-test-utils" /> - <property name="module.genpom" value="true"/> - <property name="module.genpom.args" value="-Sgeronimo-jms_1.1_spec=provided"/> - - <import file="../module.xml"/> - - <property name="example.src.dir" value="${project.root}/client/example/src/main/java" /> - <property name="example.jar.file" value="${build.lib}/qpid-client-example-${project.version}.jar" /> - - <property name="output.dir" value="${module.precompiled}/org/apache/qpid/filter/selector"/> - - <uptodate property="doc-release.done" targetfile="${module.release}/api/index.html"> - <srcfiles dir="${module.src}" includes="**/*.java"/> - </uptodate> - - <target name="doc-release" depends="build" unless="doc-release.done"> - <javadoc destdir="${module.release}/api" sourcepathref="module.src.path" - classpathref="module.class.path" packagenames="org.apache.qpid.jms"/> - </target> - - <target name="release-bin-copy-examples"> - <copy todir="${module.release}/example/src" failonerror="true"> - <fileset dir="${example.src.dir}" excludes="runSample.sh README.txt" /> - </copy> - <copy todir="${module.release}/example/lib" failonerror="true"> - <fileset file="${example.jar.file}"/> - </copy> - </target> - - <target name="release-bin-copy-readme"> - <copy todir="${module.release}" overwrite="true" failonerror="true"> - <fileset file="${basedir}/README.txt" /> - </copy> - </target> - - <target name="release-bin-other" depends="release-bin-copy-examples,release-bin-copy-readme"/> - - <target name="release-bin" depends="release-bin-tasks"/> - - <target name="bundle" depends="bundle-tasks"/> - -</project> diff --git a/qpid/java/client/example/build.xml b/qpid/java/client/example/build.xml deleted file mode 100644 index 8b0d59bd8a..0000000000 --- a/qpid/java/client/example/build.xml +++ /dev/null @@ -1,28 +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="AMQ Client" default="build"> - - <property name="module.depends" value="client common"/> - <property name="module.test.depends" value=""/> - - <import file="../../module.xml"/> - -</project> diff --git a/qpid/java/common.xml b/qpid/java/common.xml deleted file mode 100644 index bdb1b6097f..0000000000 --- a/qpid/java/common.xml +++ /dev/null @@ -1,475 +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 xmlns:ivy="antlib:org.apache.ivy.ant" name="common"> - - <dirname property="project.root" file="${ant.file.common}"/> - - <property name="project.name" value="qpid"/> - <!-- Version used for standard build output --> - <property name="project.version" value="0.29"/> - <!-- The release version used for maven output. SNAPSHOT added via maven.version.suffix --> - <property name="project.version.maven" value="0.30"/> - <property name="project.url" value="http://qpid.apache.org"/> - <property name="project.groupid" value="org.apache.qpid"/> - <property name="project.namever" value="${project.name}-${project.version}"/> - - <property name="resources" location="${project.root}/resources"/> - <property name="test.profiles" location="${project.root}/test-profiles"/> - <property name="build" location="${project.root}/build"/> - <property name="build.scratch" location="${build}/scratch"/> - <property name="build.bin" location="${build}/bin"/> - <property name="build.etc" location="${build}/etc"/> - <property name="build.lib" location="${build}/lib"/> - <property name="build.api" location="${build}/api"/> - <property name="build.test.api" location="${build}/test-api"/> - <property name="build.results" location="${build}/results"/> - <property name="build.failed" location="${build.results}/FAILED"/> - <property name="build.report" location="${build}/report"/> - <property name="build.release" location="${build}/release"/> - <property name="build.release.prepare" location="${build.release}/prepare"/> - <property name="build.scratch.broker.plugins.lib" location="${build.scratch}/broker-plugins/lib"/> - <property name="build.coverage.report" location="${build}/coverage/report"/> - <property name="build.coverage.src" location="${build}/coverage/src"/> - <property name="build.findbugs" location="${build}/findbugs"/> - - <property name="java.target" value="1.7"/> - <property name="java.source" value="1.7"/> - - <property name="release" location="${project.root}/release"/> - - <property name="tasks" location="${project.root}/tasks"/> - <property name="tasks.classes" location="${tasks}/classes"/> - <property name="tasks.src" location="${tasks}/src"/> - - <property name="qpid.home" location="${project.root}/build"/> - <property name="qpid.work" location="${qpid.home}/work"/> - - <property name="javac.compiler.args" value=""/> - - <property name="cobertura.dir" value="${project.root}/lib/cobertura" /> - <property name="cobertura.version" value="1.9.4.1" /> - - <path id="cobertura.classpath"> - <fileset dir="${cobertura.dir}"> - <include name="**/*.jar" /> - </fileset> - </path> - - <property name="mllib.dir" value="${project.root}/../python" /> - <property name="findbugs.dir" value="${project.root}/lib/findbugs" /> - - <!-- properties used to control Ant Eclipse for Eclipse classpath/project files etc --> - <property name="eclipse.updatealways" value="false"/> - <property name="eclipse.compilercompliance" value="5.0"/> - <property name="eclipse.container" value="JVM 1.5"/> - - <!-- properties for generating the maven artifacts --> - <property name="maven.local.repo" value="${build.scratch}/maven-local-repo"/> - <property name="maven.settings.xml" value="${project.root}/maven-settings.xml"/> - <property name="maven.unique.version" value="false"/> - <property name="maven.snapshot" value="true"/> - <condition property="maven.version.suffix" value="" else="-SNAPSHOT"> - <isfalse value="${maven.snapshot}"/> - </condition> - - <!-- properties for uploading our Maven artifacts to Nexus using Ivy --> - <property name="ivy.organisation" value="org/apache"/> - <property name="nexus.organisation" value="org.apache"/> - <property name="nexus.host" value="repository.apache.org"/> - <property name="nexus.upload.url" value="https://${nexus.host}/service/local/staging/deploy/maven2"/> - - <!-- properties for deplying snapshot artifacts --> - <property name="maven.snapshots.repo.id" value="apache.snapshots.https"/> - <property name="maven.snapshots.repo.url" value="https://${nexus.host}/content/repositories/snapshots"/> - - <!-- properties for downloading ivy, and then our dependencies --> - <property name="ivy.jar.dir" value="${project.root}/lib/ivy" /> - <property name="ivy.install.version" value="2.2.0" /> - <property name="ivy.jar.file" value="${ivy.jar.dir}/ivy-${ivy.install.version}.jar" /> - <property name="ivy.m2repo.url" value="http://repo1.maven.org/maven2"/> - <property name="ivy.repo.url" value="${ivy.m2repo.url}/org/apache/ivy/ivy"/> - <property name="ivy.jar.url" value="${ivy.repo.url}/${ivy.install.version}/ivy-${ivy.install.version}.jar"/> - - <available property="ivy.jar.file.exists" file="${ivy.jar.file}"/> - <property name="retrieve.dependencies" value="true" /> - <property name="optional.dependencies" value="false" /> - - <condition property="dont.download.ivy"> - <!-- Set prop to stop Ivy download if asked not to retrieve - the dependencies, or the ivy jar is already present --> - <or> - <isfalse value="${retrieve.dependencies}"/> - <and> - <isset property="ivy.jar.file.exists"/> - <istrue value="${ivy.jar.file.exists}"/> - </and> - </or> - </condition> - - <condition property="ivy.dont.retrieve"> - <isfalse value="${retrieve.dependencies}"/> - </condition> - <condition property="ivy.configured"> - <isfalse value="${retrieve.dependencies}"/> - </condition> - <condition property="ivy.retrieve.optional"> - <and> - <istrue value="${retrieve.dependencies}"/> - <or> - <istrue value="${optional.dependencies}"/> - <istrue value="${optional}"/> - </or> - </and> - </condition> - - - <macrodef name="indirect"> - <attribute name="name"/> - <attribute name="variable"/> - <sequential> - <property name="@{name}" value="${@{variable}}"/> - </sequential> - </macrodef> - - <macrodef name="echo-path"> - <attribute name="refid"/> - <sequential> - <property name="@{refid}" refid="@{refid}"/> - <echo message="@{refid} = ${@{refid}}"/> - <pathconvert property="@{refid}.pretty" - refid="@{refid}" - pathsep="${line.separator} |-- "/> - <echo message="@{refid}.pretty =${line.separator} |-- ${@{refid}.pretty}"/> - </sequential> - </macrodef> - - <macrodef name="echo-prop"> - <attribute name="name"/> - <sequential> - <echo message="@{name} = ${@{name}}"/> - </sequential> - </macrodef> - - <macrodef name="findSubProjects"> - <attribute name="dir"/> - <attribute name="name"/> - <attribute name="excludes" default=""/> - - <sequential> - <dirset id="@{dir}.refid" dir="@{dir}" excludes="@{excludes}"> - <present targetdir="@{dir}"> - <mapper type="glob" from="*" to="*/build.xml" /> - </present> - </dirset> - - <pathconvert property="@{name}" - refid="@{dir}.refid" - pathsep=" "> - <map from="${project.root}/" to=""/> - </pathconvert> - </sequential> - </macrodef> - - <macrodef name="jython"> - <attribute name="path"/> - <element name="args"/> - <sequential> - <java jar="${project.root}/${jython}" fork="true" failonerror="true"> - <arg value="-Dpython.path=@{path}"/> - <args/> - </java> - </sequential> - </macrodef> - - <mkdir dir="${tasks.classes}"/> - <javac source="${java.source}" target="${java.target}" srcdir="${tasks.src}" destdir="${tasks.classes}" classpath="${java.class.path}" includeantruntime="false"> - <compilerarg line="${javac.compiler.args}"/> - </javac> - - - <typedef name="propertymapper" classname="org.apache.qpid.tasks.PropertyMapper" - classpath="${tasks.classes}"/> - - <taskdef name="map" classname="org.apache.qpid.tasks.Map" - classpath="${tasks.classes}"/> - <taskdef name="foreach" classname="org.apache.qpid.tasks.Foreach" - classpath="${tasks.classes}"/> - - <macrodef name="copylist"> - <attribute name="todir"/> - <attribute name="dir"/> - <attribute name="files"/> - <sequential> - <foreach property="file" list="@{files}"> - <copy todir="@{todir}" flatten="true"> - <fileset dir="@{dir}" includes="${file}"/> - </copy> - </foreach> - </sequential> - </macrodef> - - <macrodef name="copytofile"> - <attribute name="tofile"/> - <attribute name="dir"/> - <attribute name="include"/> - <attribute name="failOnError" default="false"/> - <sequential> - <copy tofile="@{tofile}" failOnError="@{failOnError}"> - <fileset dir="@{dir}"> - <include name="@{include}"/> - </fileset> - </copy> - </sequential> - </macrodef> - - - <target name="clean-tasks"> - <delete dir="${tasks.classes}"/> - </target> - - <target name="clean-results"> - <delete dir="${build.results}"/> - </target> - - <target name="report" description="generate test report"> - <delete dir="${build.report}"/> - <mkdir dir="${build.report}"/> - <junitreport todir="${build.report}"> - <fileset dir="${build.results}"> - <include name="**/TEST-*.xml"/> - </fileset> - <report todir="${build.report}"/> - </junitreport> - </target> - - <target name="cobertura-init"> - <taskdef classpathref="cobertura.classpath" resource="tasks.properties" /> - </target> - - <target name="findbugs-init"> - - <mkdir dir="${findbugs.dir}"/> - <!-- Hack to make the FindBugs jars retrieved using Ivy work with the Ant Task, - because it expects certain jar names without versions like in the .zip release --> - <copytofile tofile="${findbugs.dir}/findbugs.jar" dir="${findbugs.dir}" include="findbugs-?.*.*.jar"/> - <copytofile tofile="${findbugs.dir}/findbugs-ant.jar" dir="${findbugs.dir}" include="findbugs-ant-?.*.*.jar"/> - <copytofile tofile="${findbugs.dir}/bcel.jar" dir="${findbugs.dir}" include="bcel-*.jar"/> - <copytofile tofile="${findbugs.dir}/annotations.jar" dir="${findbugs.dir}" include="annotations-?.*.*.jar"/> - <copytofile tofile="${findbugs.dir}/jsr305.jar" dir="${findbugs.dir}" include="jsr305-*.jar"/> - <copytofile tofile="${findbugs.dir}/jFormatString.jar" dir="${findbugs.dir}" include="jFormatString-*.jar"/> - - <available file="${findbugs.dir}/findbugs-ant.jar" property="findbugs-ant.jar.present"/> - <fail unless="findbugs-ant.jar.present" message="FindBugs was not found. Please add -Doptional.dependencies=true to your build command to retrieve FindBugs"/> - - <taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${findbugs.dir}/findbugs-ant.jar"/> - </target> - - - <!-- targets for downloading ivy and retrieving dependencies --> - <target name="retrieve-dependencies" depends="load-ivy, configure-ivy, retrieve-optional-dependencies" unless="${ivy.dont.retrieve}"> - <echo message="Resolving and retrieving dependencies..."/> - <ivy:resolve type="jar,bundle,zip" file="${project.root}/ivy.retrieve.xml" conf="required"/> - <ivy:retrieve type="jar,bundle,zip" conf="required" sync="true" - pattern="${project.root}/lib/required/[artifact]-[revision].[ext]" /> - </target> - - <target name="retrieve-optional-dependencies" if="${ivy.retrieve.optional}"> - <echo message="Resolving and retrieving optional dependencies..."/> - <ivy:resolve type="jar" file="${project.root}/ivy.retrieve.xml" conf="findbugs"/> - <ivy:retrieve type="jar" conf="findbugs" sync="true" - pattern="${findbugs.dir}/[artifact]-[revision].[ext]" /> - - <ivy:resolve type="jar" file="${project.root}/ivy.retrieve.xml" conf="cobertura"/> - <ivy:retrieve type="jar" conf="cobertura" sync="true" - pattern="${cobertura.dir}/[artifact]-[revision].[ext]" /> - </target> - - - <target name="configure-ivy" unless="${ivy.configured}"> - <ivy:configure file="${project.root}/ivysettings.retrieve.xml" override="true"/> - <property name="ivy.configured" value="true" /> - </target> - - <target name="load-ivy" depends="download-ivy" unless="${ivy.dont.retrieve}"> - <!-- Try to load Ivy from local ivy dir, in case the user has not already dropped it into - Ant's lib dir (note that the latter copy will always take precedence). Won't - fail so long as Ivy is in at least one of the locations. --> - <mkdir dir="${ivy.jar.dir}"/> - <path id="ivy.lib.path"> - <fileset dir="${ivy.jar.dir}" includes="*${ivy.install.version}*.jar"/> - </path> - <taskdef resource="org/apache/ivy/ant/antlib.xml" - uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/> - </target> - - <target name="download-ivy" unless="${dont.download.ivy}"> - <mkdir dir="${ivy.jar.dir}"/> - <echo message="Downloading ivy..."/> - <get src="${ivy.jar.url}" dest="${ivy.jar.file}" usetimestamp="true"/> - </target> - - - <target name="help" description="display detailed build documentation"> - <echo> - ant build - - This target compiles all sources, creates java archives, and - copies scripts and configurations into the build directory: - - ${build} - - The build directory is treated as a live distro which this target - will incrementally update. Developers can put the build/bin - directory into their path in order to run any scripts or code - directly out of the live build: - - ${build.bin} - - ant test [ -Dtest=<pattern> ] [-Dprofile=<profile>] [ report ] - - Execute unit tests and place the output in the build results - directory: - - ${build.results} - - All test output will be redirected to a file of the form: - - TEST-<class>.txt - - The same output is available using an xml file format: - - TEST-<class>.xml - - The test system property may be used to restrict the number of - tests run by a given invocation of the ant test target. The - following command will run just the MongooseTest test case: - - ant test -Dtest=MongooseTest - - In addition, patterns may be used to specify more than one test. - The following command will run both the MongooseTest and GooseTest - test cases: - - ant test -Dtest=*ooseTest - - If no test property is specified, the "ant test" target will - default to running all available tests for the project or module - depending on the current working directory. - - Test Reports - - It can be useful to append the report target in order to - generate an html summary of the tests that were just run. The - following command will run both the MongooseTest and GooseTest - test cases and generate an html summary of the results: - - ant test -Dtest=*ooseTest report - - See the documentation for the "ant report" target for more details - on the generated report. - - Test Profiles - - There are a number of profiles defined for running the test suite. - These test profiles define how the test should be run. If the test - profile is not specified then 'default.testprofile' is utilised. - This runs the system tests against the Java InVM broker. Additional - test profiles exists as follows: - - cpp : Runs against the built cpp tree broker. - - ant report - - The report target will generate an html summary of the current - test results into the report directory: - - ${build.report} - - The report target will operate on all results currently in the - build results directory. Results are not cleared unless the clean - target is used. This means that several consecutive test runs can - be summarized into a single report. The following commands will - produce a report summarizing both the MongooseTest and GooseTest - test cases: - - ant test -Dtest=MongooseTest - ... - ant test -Dtest=GooseTest - ... - ant report - - ant release - - The release target generates binary distribution archives and - places them into the release directory: - - ${release} - - ant release-bin - - The release-bin target generates binary distribution archives for - modules that have a specific binary package configured. - To enable for other modules create a target "release-bin" that - depends on target "release-bin-tasks". The output is placed in: - - ${module.release} - - ant clean - - The clean target removes build artifacts. When invoked from the - project root this target will remove the entire project build and - release directories: - - ${build} - and - ${release} - and - ${module.release} - - When invoked from a specific module, the clean target will delete - that modules build root from underneath the project build root: - - ${build}/<module> - - ant clean-results - - The clean-results target removes all test output from the test - results directory: - - ${build.results} - - ant eclipse - - Generates project and classpath files for the Eclispe IDE. Requires that - the Ant Eclipse task (http://ant-eclipse.sourceforge.net/) has been installed - in $ANT_HOME/lib. - - The following system properties will be passed to the task. These can be usefully - overridden from the command line. - - eclipse.updatealways - forces Eclipse files to be regenerated even if they are newer then the build.xml (default ${eclipse.updatealways}). - eclipse.container - controls the Eclipse container (default ${eclipse.container}). - eclipse.compilercompliance" - controls the Eclipse compiler compliance (default ${eclipse.compilercompliance}). - - </echo> - </target> - -</project> diff --git a/qpid/java/common/build.xml b/qpid/java/common/build.xml deleted file mode 100644 index c2f777b18b..0000000000 --- a/qpid/java/common/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="AMQ Common" default="build"> - - <property name="module.test.depends" value="qpid-test-utils" /> - <property name="module.genpom" value="true"/> - - <import file="../module.xml"/> - - <property name="selector.output.dir" value="${module.src}/org/apache/qpid/filter/selector"/> - - <condition property="generate.selector.sources" value="true"> - <istrue value="${generate}"/> - </condition> - - <path id="common.source.generation.classpathref"> - <pathelement path="${project.root}/${jython}" /> - <pathelement path="${project.root}/${velocity.jar}" /> - <pathelement path="${project.root}/${velocity-dep.jar}" /> - </path> - - <target name="generate-sources"> - <ant antfile="build-generate-sources.xml"> - <reference torefid="source.generation.classpathref" refid="common.source.generation.classpathref" /> - <property name="generated-amqp-0-8-dir" value="${module.src}"/> - <property name="generated-amqp-0-10-dir" value="${module.src}"/> - <property name="gentools.classes" value="${build.scratch}/common/gentools/classes"/> - <property name="version.file" location="${module.classes}/qpidversion.properties"/> - </ant> - </target> - - <target name="jms-selector" if="generate.selector.sources"> - <echo>Generating JMS selector sources</echo> - <copy tofile="${module.build}/javacc.jar" failonerror="true"> - <fileset dir="${project.root}/lib/required"> - <include name="javacc-*.jar"/> - </fileset> - </copy> - <mkdir dir="${selector.output.dir}"/> - <javacc target="src/main/grammar/SelectorParser.jj" - outputdirectory="${selector.output.dir}" - javacchome="${module.build}"/> - </target> - - <target name="precompile" depends="generate-sources,jms-selector"/> - - <target name="bundle" depends="bundle-tasks"/> - -</project> diff --git a/qpid/java/genpom b/qpid/java/genpom deleted file mode 100755 index 243985dd7b..0000000000 --- a/qpid/java/genpom +++ /dev/null @@ -1,214 +0,0 @@ -#!/usr/bin/env python -# -# 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. -# - -import sys, re, os, mllib, optparse - -def die(msg): - print >> sys.stderr, msg - sys.exit(1) - -parser = optparse.OptionParser(usage="usage: %prog [options] JARs ...", - description="Generates a pom.") -parser.add_option("-n", "--name") -parser.add_option("-g", "--group") -parser.add_option("-a", "--artifact") -parser.add_option("-v", "--version") -parser.add_option("-d", "--description", default="") -parser.add_option("-u", "--url", default="") -parser.add_option("-m", "--modules", help="modules dependencies") -parser.add_option("-p", "--prefix", help="prefix of the project's artifacts names") -parser.add_option("-i", "--ignore", action="store_true", help="ignore missing deps") -parser.add_option("-s", "--search-path", action="append", - help="the path to search for deps") -parser.add_option("-S", "--scope", metavar="ARTIFACT=SCOPE", action="append", - default=[], - help="specify scope for an artifact") -parser.add_option("-O", "--optional", action="append", default=[], - help="specify dependencies that are optional") -parser.add_option("-o", "--output") -parser.add_option("-t", "--type", default="jar", help="packaging type") - -opts, jars = parser.parse_args() - -if opts.search_path is None: - path=["%s/.m2" % os.environ["HOME"]] -else: - path = [] - for p in opts.search_path: - path.extend(p.split(os.pathsep)) - -expanded_path = [] -for p in path: - os.path.walk(p, lambda a, d, fs: expanded_path.append(d), None) - -if opts.group is None: - die("the group option is required") - -if opts.version is None: - die("the version option is required") - -if opts.name is None and opts.artifact is None: - die("one of name or artifact must be supplied") - -if opts.prefix is not None: - opts.artifact = opts.prefix + "-" + opts.artifact - -if opts.name is None: - opts.name = opts.artifact - -if opts.artifact is None: - opts.artifact = opts.name - -def lookup(doc, attr): - nd = doc[attr] - if nd is None: - return None - return nd.text() - -def lookupElement(doc, attr): - return doc[attr] - -def search(path, file): - for d in path: - f = os.path.join(d, file) - if os.path.exists(f): - return mllib.xml_parse(f) - -scopes = {} -for s in opts.scope: - m = re.match(r"(.*)=(.*)", s) - if not m: - die("bad scope specifier: %s" % s) - scopes[m.group(1)] = m.group(2) - -deps = [] -module_depends = [] -if opts.modules is not None: - module_depends = opts.modules.replace("/", "-").split(); - -for module in module_depends: - if opts.prefix is None: - artifactId = module - else: - artifactId = opts.prefix + "-" + module - - deps.append(""" - <dependency> - <groupId>%s</groupId> - <artifactId>%s</artifactId> - <version>%s</version> - <scope>%s</scope> -""" % (opts.group, artifactId, opts.version, - scopes.get(artifactId, "compile"))) - if artifactId in opts.optional: - deps.append(""" <optional>true</optional> -""") - - deps.append(""" </dependency> -""") - - -for jar in jars: - base, ext = os.path.splitext(os.path.basename(jar)) - dep = search(expanded_path, "%s.xml" % base) - if dep is None: - if opts.ignore: - continue - else: - die("unable to locate xml for %s" % jar) - dep = dep["dep"] - group = lookup(dep, "groupId") - artifactId = lookup(dep, "artifactId") - version = lookup(dep, "version") - deps.append(""" - <dependency> - <groupId>%s</groupId> - <artifactId>%s</artifactId> - <version>%s</version> - <scope>%s</scope>""" % (group, artifactId, version, - scopes.get(artifactId, "compile"))) - - deptype = lookup(dep, "deptype") - if deptype is not None: - deps.append(""" - <type>%s</type>""" % deptype) - - exclusions = lookupElement(dep, "exclusions") - if exclusions is not None: - deps.append(""" - <exclusions>""") - for exclusion in list(exclusions.query["exclusion"]): - group = lookup(exclusion, "groupId") - artifactId = lookup(exclusion, "artifactId") - deps.append(""" - <exclusion> - <groupId>%s</groupId> - <artifactId>%s</artifactId> - </exclusion>""" % (group, artifactId)) - deps.append(""" - </exclusions>""") - - deps.append(""" - </dependency> -""") - -TEMPLATE = """<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd "> - <modelVersion>4.0.0</modelVersion> - <packaging>%(type)s</packaging> - <groupId>%(group)s</groupId> - <artifactId>%(artifact)s</artifactId> - <version>%(version)s</version> - - <name>%(name)s</name> - <url>%(url)s</url> - <description>%(description)s</description> - - <organization> - <name>The Apache Software Foundation</name> - <url>http://www.apache.org</url> - </organization> - - <licenses> - <license> - <name>The Apache Software License, Version 2.0</name> - <url>http://www.apache.org/licenses/LICENSE-2.0.html</url> - </license> - </licenses> - - <dependencies> - %(dependencies)s - </dependencies> - -</project> -""" - -vars = {} -vars.update(opts.__dict__) -vars["dependencies"] = "".join(deps) - -if opts.output is None: - out = sys.stdout -else: - out = open(opts.output, "w") -out.write(TEMPLATE % vars) -out.close() diff --git a/qpid/java/ivy.nexus.xml b/qpid/java/ivy.nexus.xml deleted file mode 100644 index 8683062288..0000000000 --- a/qpid/java/ivy.nexus.xml +++ /dev/null @@ -1,193 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - 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. ---> -<ivy-module version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd"> - - <info organisation="${ivy.organisation}" module="${project.name}" revision="${project.version}"/> - - <publications xmlns:e="urn:ant.apache.org:ivy-extras"> - <artifact name="qpid-client" type="pom" ext="pom"/> - <artifact name="qpid-client" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-client" type="jar" ext="jar"/> - <artifact name="qpid-client" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-client" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-client" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-common" type="pom" ext="pom"/> - <artifact name="qpid-common" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-common" type="jar" ext="jar"/> - <artifact name="qpid-common" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-common" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-common" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-broker" type="pom" ext="pom"/> - <artifact name="qpid-broker" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-broker" type="jar" ext="jar"/> - <artifact name="qpid-broker" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-broker" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-broker" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-broker-core" type="pom" ext="pom"/> - <artifact name="qpid-broker-core" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-broker-core" type="jar" ext="jar"/> - <artifact name="qpid-broker-core" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-broker-core" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-broker-core" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-access-control" type="pom" ext="pom"/> - <artifact name="qpid-broker-plugins-access-control" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-broker-plugins-access-control" type="jar" ext="jar"/> - <artifact name="qpid-broker-plugins-access-control" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-broker-plugins-access-control" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-access-control" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-management-amqp" type="pom" ext="pom"/> - <artifact name="qpid-broker-plugins-management-amqp" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-broker-plugins-management-amqp" type="jar" ext="jar"/> - <artifact name="qpid-broker-plugins-management-amqp" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-broker-plugins-management-amqp" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-management-amqp" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-management-http" type="pom" ext="pom"/> - <artifact name="qpid-broker-plugins-management-http" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-broker-plugins-management-http" type="jar" ext="jar"/> - <artifact name="qpid-broker-plugins-management-http" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-broker-plugins-management-http" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-management-http" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-management-jmx" type="pom" ext="pom"/> - <artifact name="qpid-broker-plugins-management-jmx" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-broker-plugins-management-jmx" type="jar" ext="jar"/> - <artifact name="qpid-broker-plugins-management-jmx" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-broker-plugins-management-jmx" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-management-jmx" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-amqp-0-10-protocol" type="pom" ext="pom"/> - <artifact name="qpid-broker-plugins-amqp-0-10-protocol" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-broker-plugins-amqp-0-10-protocol" type="jar" ext="jar"/> - <artifact name="qpid-broker-plugins-amqp-0-10-protocol" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-broker-plugins-amqp-0-10-protocol" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-amqp-0-10-protocol" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-amqp-0-8-protocol" type="pom" ext="pom"/> - <artifact name="qpid-broker-plugins-amqp-0-8-protocol" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-broker-plugins-amqp-0-8-protocol" type="jar" ext="jar"/> - <artifact name="qpid-broker-plugins-amqp-0-8-protocol" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-broker-plugins-amqp-0-8-protocol" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-amqp-0-8-protocol" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-amqp-1-0-protocol" type="pom" ext="pom"/> - <artifact name="qpid-broker-plugins-amqp-1-0-protocol" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-broker-plugins-amqp-1-0-protocol" type="jar" ext="jar"/> - <artifact name="qpid-broker-plugins-amqp-1-0-protocol" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-broker-plugins-amqp-1-0-protocol" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-amqp-1-0-protocol" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-amqp-msg-conv-0-10-to-1-0" type="pom" ext="pom"/> - <artifact name="qpid-broker-plugins-amqp-msg-conv-0-10-to-1-0" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-broker-plugins-amqp-msg-conv-0-10-to-1-0" type="jar" ext="jar"/> - <artifact name="qpid-broker-plugins-amqp-msg-conv-0-10-to-1-0" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-broker-plugins-amqp-msg-conv-0-10-to-1-0" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-amqp-msg-conv-0-10-to-1-0" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-amqp-msg-conv-0-8-to-0-10" type="pom" ext="pom"/> - <artifact name="qpid-broker-plugins-amqp-msg-conv-0-8-to-0-10" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-broker-plugins-amqp-msg-conv-0-8-to-0-10" type="jar" ext="jar"/> - <artifact name="qpid-broker-plugins-amqp-msg-conv-0-8-to-0-10" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-broker-plugins-amqp-msg-conv-0-8-to-0-10" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-amqp-msg-conv-0-8-to-0-10" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-amqp-msg-conv-0-8-to-1-0" type="pom" ext="pom"/> - <artifact name="qpid-broker-plugins-amqp-msg-conv-0-8-to-1-0" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-broker-plugins-amqp-msg-conv-0-8-to-1-0" type="jar" ext="jar"/> - <artifact name="qpid-broker-plugins-amqp-msg-conv-0-8-to-1-0" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-broker-plugins-amqp-msg-conv-0-8-to-1-0" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-amqp-msg-conv-0-8-to-1-0" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-derby-store" type="pom" ext="pom"/> - <artifact name="qpid-broker-plugins-derby-store" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-broker-plugins-derby-store" type="jar" ext="jar"/> - <artifact name="qpid-broker-plugins-derby-store" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-broker-plugins-derby-store" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-derby-store" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-jdbc-store" type="pom" ext="pom"/> - <artifact name="qpid-broker-plugins-jdbc-store" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-broker-plugins-jdbc-store" type="jar" ext="jar"/> - <artifact name="qpid-broker-plugins-jdbc-store" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-broker-plugins-jdbc-store" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-jdbc-store" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-memory-store" type="pom" ext="pom"/> - <artifact name="qpid-broker-plugins-memory-store" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-broker-plugins-memory-store" type="jar" ext="jar"/> - <artifact name="qpid-broker-plugins-memory-store" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-broker-plugins-memory-store" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-memory-store" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-jdbc-provider-bone" type="pom" ext="pom"/> - <artifact name="qpid-broker-plugins-jdbc-provider-bone" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-broker-plugins-jdbc-provider-bone" type="jar" ext="jar"/> - <artifact name="qpid-broker-plugins-jdbc-provider-bone" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-broker-plugins-jdbc-provider-bone" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-jdbc-provider-bone" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-websocket" type="pom" ext="pom"/> - <artifact name="qpid-broker-plugins-websocket" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-broker-plugins-websocket" type="jar" ext="jar"/> - <artifact name="qpid-broker-plugins-websocket" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-broker-plugins-websocket" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-broker-plugins-websocket" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-amqp-1-0-common" type="pom" ext="pom"/> - <artifact name="qpid-amqp-1-0-common" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-amqp-1-0-common" type="jar" ext="jar"/> - <artifact name="qpid-amqp-1-0-common" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-amqp-1-0-common" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-amqp-1-0-common" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-amqp-1-0-client" type="pom" ext="pom"/> - <artifact name="qpid-amqp-1-0-client" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-amqp-1-0-client" type="jar" ext="jar"/> - <artifact name="qpid-amqp-1-0-client" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-amqp-1-0-client" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-amqp-1-0-client" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-amqp-1-0-client-jms" type="pom" ext="pom"/> - <artifact name="qpid-amqp-1-0-client-jms" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-amqp-1-0-client-jms" type="jar" ext="jar"/> - <artifact name="qpid-amqp-1-0-client-jms" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-amqp-1-0-client-jms" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-amqp-1-0-client-jms" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-amqp-1-0-client-websocket" type="pom" ext="pom"/> - <artifact name="qpid-amqp-1-0-client-websocket" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-amqp-1-0-client-websocket" type="jar" ext="jar"/> - <artifact name="qpid-amqp-1-0-client-websocket" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-amqp-1-0-client-websocket" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-amqp-1-0-client-websocket" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-management-common" type="pom" ext="pom"/> - <artifact name="qpid-management-common" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-management-common" type="jar" ext="jar"/> - <artifact name="qpid-management-common" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-management-common" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-management-common" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-bdbstore" type="pom" ext="pom"/> - <artifact name="qpid-bdbstore" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-bdbstore" type="jar" ext="jar"/> - <artifact name="qpid-bdbstore" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-bdbstore" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-bdbstore" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-bdbstore-jmx" type="pom" ext="pom"/> - <artifact name="qpid-bdbstore-jmx" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-bdbstore-jmx" type="jar" ext="jar"/> - <artifact name="qpid-bdbstore-jmx" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-bdbstore-jmx" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-bdbstore-jmx" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-jca" type="pom" ext="pom"/> - <artifact name="qpid-jca" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-jca" type="jar" ext="jar"/> - <artifact name="qpid-jca" type="jar.asc" ext="jar.asc"/> - <artifact name="qpid-jca" type="source" ext="jar" e:classifier="sources"/> - <artifact name="qpid-jca" type="source.asc" ext="jar.asc" e:classifier="sources"/> - <artifact name="qpid-ra" type="pom" ext="pom"/> - <artifact name="qpid-ra" type="pom.asc" ext="pom.asc"/> - <artifact name="qpid-ra" type="rar" ext="rar"/> - <artifact name="qpid-ra" type="rar.asc" ext="rar.asc"/> - </publications> - - <dependencies/> -</ivy-module> diff --git a/qpid/java/ivy.retrieve.xml b/qpid/java/ivy.retrieve.xml deleted file mode 100644 index 6aba6b0180..0000000000 --- a/qpid/java/ivy.retrieve.xml +++ /dev/null @@ -1,91 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - 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. ---> -<ivy-module version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd"> - - <info organisation="${ivy.organisation}" module="${project.name}" revision="${project.version}"/> - - <configurations defaultconf="required" defaultconfmapping="*->default"> - <conf name="required"/> - <conf name="bdbje"/> - <conf name="jfree"/> - <conf name="csvjdbc"/> - <conf name="findbugs"/> - <conf name="cobertura"/> - <conf name="bonecp"/> - </configurations> - - <publications xmlns:e="urn:ant.apache.org:ivy-extras"/> - - <dependencies> - <dependency org="biz.aQute" name="bnd" rev="0.0.384" transitive="false"/> - <dependency org="commons-beanutils" name="commons-beanutils-core" rev="1.8.3" transitive="false"/> - <dependency org="commons-cli" name="commons-cli" rev="1.2" transitive="false"/> - <dependency org="commons-codec" name="commons-codec" rev="1.6" transitive="false"/> - <dependency org="commons-collections" name="commons-collections" rev="3.2.1" transitive="false"/> - <dependency org="commons-lang" name="commons-lang" rev="2.6" transitive="false"/> - <dependency org="commons-logging" name="commons-logging" rev="1.1.1" transitive="false"/> - <dependency org="org.apache.bcel" name="bcel" rev="5.2" transitive="false"/> - <dependency org="org.apache.derby" name="derby" rev="10.8.2.2" transitive="false"/> - <dependency org="org.apache.geronimo.framework" name="geronimo-kernel" rev="2.2.1" transitive="false"/> - <dependency org="org.apache.geronimo.specs" name="geronimo-ejb_3.0_spec" rev="1.0.1" transitive="false"/> - <dependency org="org.apache.geronimo.specs" name="geronimo-j2ee-connector_1.5_spec" rev="2.0.0" transitive="false"/> - <dependency org="org.apache.geronimo.specs" name="geronimo-jms_1.1_spec" rev="1.1.1" transitive="false"/> - <dependency org="org.apache.geronimo.specs" name="geronimo-jta_1.1_spec" rev="1.1.1" transitive="false"/> - <dependency org="org.apache.geronimo.specs" name="geronimo-servlet_3.0_spec" rev="1.0" transitive="false"/> - <dependency org="com.google.code.gson" name="gson" rev="2.0" transitive="false"/> - <dependency org="org.codehaus.jackson" name="jackson-core-asl" rev="1.9.0" transitive="false"/> - <dependency org="org.codehaus.jackson" name="jackson-mapper-asl" rev="1.9.0" transitive="false"/> - <dependency org="net.java.dev.javacc" name="javacc" rev="5.0" transitive="false"/> - <dependency org="junit" name="junit" rev="4.11" transitive="false"/> - <dependency org="org.python" name="jython-standalone" rev="2.5.2" transitive="false"/> - <dependency org="log4j" name="log4j" rev="1.2.16" transitive="false"/> - <dependency org="org.apache.maven" name="maven-ant-tasks" rev="2.1.1" transitive="false"/> - <dependency org="org.mockito" name="mockito-all" rev="1.9.0" transitive="false"/> - <dependency org="org.slf4j" name="slf4j-api" rev="1.6.4" transitive="false"/> - <dependency org="org.slf4j" name="slf4j-log4j12" rev="1.6.4" transitive="false"/> - <dependency org="org.eclipse.jetty" name="jetty-server" rev="8.1.14.v20131031" transitive="false"/> - <dependency org="org.eclipse.jetty" name="jetty-websocket" rev="8.1.14.v20131031" transitive="false"/> - <dependency org="org.eclipse.jetty" name="jetty-continuation" rev="8.1.14.v20131031" transitive="false"/> - <dependency org="org.eclipse.jetty" name="jetty-io" rev="8.1.14.v20131031" transitive="false"/> - <dependency org="org.eclipse.jetty" name="jetty-http" rev="8.1.14.v20131031" transitive="false"/> - <dependency org="org.eclipse.jetty" name="jetty-security" rev="8.1.14.v20131031" transitive="false"/> - <dependency org="org.eclipse.jetty" name="jetty-servlet" rev="8.1.14.v20131031" transitive="false"/> - <dependency org="org.eclipse.jetty" name="jetty-util" rev="8.1.14.v20131031" transitive="false"/> - <dependency org="velocity" name="velocity" rev="1.4" transitive="false"/> - <dependency org="velocity" name="velocity-dep" rev="1.4" transitive="false"/> - <dependency org="org.webjars" name="cryptojs" rev="3.1.2" transitive="false"/> - <dependency org="org.dojotoolkit" name="dojo" rev="1.9.1" transitive="false"> - <artifact name="dojo" type="zip"/> - </dependency> - - <!-- The following are optional dependencies, for modules providing optional functionlity or - for use in optional build/test steps. Their optional status is usually indicative of licences - which are not compatible with the Apache Licence --> - <dependency org="com.sleepycat" name="je" rev="5.0.97" transitive="false" conf="bdbje"/> - <dependency org="jfree" name="jfreechart" rev="1.0.13" transitive="false" conf="jfree"/> - <dependency org="jfree" name="jcommon" rev="1.0.16" transitive="false" conf="jfree"/> - <dependency org="com.jolbox" name="bonecp" rev="0.7.1.RELEASE" transitive="false" conf="bonecp"/> - <dependency org="com.google.guava" name="guava" rev="14.0.1" transitive="false" conf="bonecp"/> - <dependency org="net.sourceforge.csvjdbc" name="csvjdbc" rev="1.0.8" transitive="false" conf="csvjdbc"/> - <dependency org="com.google.code.findbugs" name="findbugs-ant" rev="2.0.0" conf="findbugs"/> - <dependency org="net.sourceforge.cobertura" name="cobertura" rev="1.9.4.1" conf="cobertura"> - <exclude org="org.apache.ant"/> - </dependency> - </dependencies> -</ivy-module> diff --git a/qpid/java/ivysettings.nexus.xml b/qpid/java/ivysettings.nexus.xml deleted file mode 100644 index 03f84f9f7c..0000000000 --- a/qpid/java/ivysettings.nexus.xml +++ /dev/null @@ -1,29 +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. ---> -<ivysettings> - <credentials host="${nexus.host}" realm="Sonatype Nexus Repository Manager" username="${nexus.user}" passwd="${nexus.password}"/> - <caches defaultCacheDir="${user.home}/.ivy2/cache"/> - <resolvers> - <url name="nexus"> - <artifact pattern="${nexus.upload.url}/[organisation]/[module]/[artifact]/[revision]/[artifact]-[revision](-[classifier]).[ext]" /> - </url> - </resolvers> - <modules> - <module organisation="${nexus.organisation}" name="qpid" resolver="nexus"/> - </modules> - <settings defaultResolver="nexus"/> -</ivysettings> diff --git a/qpid/java/ivysettings.retrieve.xml b/qpid/java/ivysettings.retrieve.xml deleted file mode 100644 index cc50121821..0000000000 --- a/qpid/java/ivysettings.retrieve.xml +++ /dev/null @@ -1,47 +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. ---> -<ivysettings> - <property name="ivy.default.resolver" value="chain" override="false"/> - <property name="ivy.localfs.root" value="${project.root}/lib/localfs_repo" override="false"/> - <property name="ivy.localfs.pattern" value="[artifact]-[revision](-[classifier]).[ext]" override="false"/> - - <settings defaultResolver="${ivy.default.resolver}"/> - <resolvers> - <filesystem name="localfs"> - <artifact pattern="${ivy.localfs.root}/${ivy.localfs.pattern}" /> - </filesystem> - - <ibiblio name="m2repo" m2compatible="true" root="${ivy.m2repo.url}"/> - - <url name="csvjdbc" m2compatible="true"> - <artifact pattern="http://csvjdbc.sourceforge.net/maven2/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/> - </url> - - <url name="oracle" m2compatible="true"> - <artifact pattern="http://download.oracle.com/maven/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/> - </url> - - <ibiblio name="public" m2compatible="true"/> - - <chain name="chain" returnFirst="true"> - <resolver ref="m2repo"/> - <resolver ref="csvjdbc"/> - <resolver ref="oracle"/> - <resolver ref="public"/> - </chain> - </resolvers> -</ivysettings> diff --git a/qpid/java/jca/build.xml b/qpid/java/jca/build.xml deleted file mode 100644 index 83cc781ba9..0000000000 --- a/qpid/java/jca/build.xml +++ /dev/null @@ -1,133 +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="jca" xmlns:artifact="antlib:org.apache.maven.artifact.ant" default="build"> - - <property name="module.depends" value="common client"/> - <property name="module.name" value="jca"/> - - <property name="module.genpom" value="true"/> - <property name="module.genpom.args" value="-Sgeronimo-j2ee-connector_1.5_spec=provided -Sgeronimo-jta_1.1_spec=provided -Sgeronimo-jms_1.1_spec=provided -Sgeronimo-ejb_3.0_spec=provided -Sgeronimo-servlet_3.0_spec=provided -Sgeronimo-kernel=provided"/> - - <import file="../module.xml"/> - - <property name="rar.name.prefix" value="${project.name}-ra"/> - <property name="module.rar" value="${build.lib}/${rar.name.prefix}-${project.version}.rar"/> - <property name="rar.resources" value="rar/src/main/resources"/> - <property name="rar.scratch.pom" value="${build.scratch}/${rar.name.prefix}-${project.version}.pom"/> - - - <target name="rar" depends="jar" description="creates a rar file containing the module jar, client jars, etc"> - <jar destfile="${module.rar}"> - <fileset dir="${rar.resources}"> - <include name="**/*.xml"/> - </fileset> - <fileset dir="${build.lib}"> - <include name="${project.name}-jca-${project.version}.jar"/> - <include name="${project.name}-client-${project.version}.jar"/> - <include name="${project.name}-common-${project.version}.jar"/> - </fileset> - </jar> - </target> - - <!-- Create properties file for examples --> - <target name="example-properties-file"> - <copy file="example/build-properties.xml.temp" tofile="example/build-properties.xml" overwrite="true"> - <filterset> - <filter token="project.version" value="${project.version}"/> - </filterset> - </copy> - </target> - - <!-- Copy jars for standalone examples --> - <target name="example-jars"> - <mkdir dir="example/lib"/> - <copy todir="example/lib"> - <fileset dir="${build.lib}"> - <include name="${project.name}-jca-${project.version}.jar"/> - <include name="${project.name}-client-${project.version}.jar"/> - <include name="${project.name}-common-${project.version}.jar"/> - </fileset> - </copy> - </target> - - <target name="examples" depends="example-properties-file, example-jars"/> - - <target name="postbuild" depends="rar, examples"/> - - <!-- Override module.xml 'libs' target to avoid copying the jar files dependencies - into the 'build/lib' dir, since they will be supplied by the app server --> - <target name="libs"/> - - <!--Overrides, but depends on, [module.]pom target in module.xml --> - <target name="pom" depends="module.pom" if="module.genpom"> - <jython path="${mllib.dir}"> - <args> - <arg line='"${project.root}/genpom"'/> - <arg line='-s "${project.root}/lib/poms"'/> - <arg line='-o "${rar.scratch.pom}"'/> - <arg line="-u ${project.url}"/> - <arg line="-g ${project.groupid}"/> - <arg line="-v ${project.version.maven}${maven.version.suffix}"/> - <arg line="-a ${rar.name.prefix}"/> - <arg line="-t rar"/> - </args> - </jython> - </target> - - <!--Overrides, but depends on, [module.]release-mvn target in module.xml --> - <target name="release-mvn" depends="module.release-mvn" if="module.genpom" description="Install the artifacts into the local repository and prepare the release artifacts"> - <artifact:pom id="rar.pom" file="${rar.scratch.pom}"/> - - <artifact:install file="${module.rar}" pomRefId="rar.pom" settingsFile="${maven.settings.xml}"> - <localRepository path="${maven.local.repo}"/> - </artifact:install> - - <artifact:deploy file="${module.rar}" pomRefId="rar.pom" uniqueVersion="${maven.unique.version}" settingsFile="${maven.settings.xml}"> - <localRepository path="${maven.local.repo}"/> - <remoteRepository url="${maven.remote.repo}"/> - </artifact:deploy> - </target> - - <!--Overrides, but depends on, [module.]deploy-snapshot target in module.xml --> - <target name="deploy-snapshot" depends="module.deploy-snapshot" if="module.genpom" description="deploy a snapshot build to nexus"> - <!-- In order to use this target you need to have predefined a username and password for the - server with id ${maven.snapshots.repo.id} in your m2 settings file, e.g ~/.m2/settings.xml --> - <artifact:pom id="rar.pom" file="${rar.scratch.pom}"/> - - <fail message="The pom version must include -SNAPSHOT. Version found was: ${rar.pom.version}"> - <condition> - <not> - <contains substring="-SNAPSHOT" string="${rar.pom.version}" /> - </not> - </condition> - </fail> - - <artifact:install file="${module.rar}" pomRefId="rar.pom" settingsFile="${maven.settings.xml}"> - <localRepository path="${maven.local.repo}"/> - </artifact:install> - - <artifact:deploy file="${module.rar}" pomRefId="rar.pom"> - <localRepository path="${maven.local.repo}"/> - <remoteRepository id="${maven.snapshots.repo.id}" url="${maven.snapshots.repo.url}"/> - </artifact:deploy> - </target> - -</project> diff --git a/qpid/java/management/common/build.xml b/qpid/java/management/common/build.xml deleted file mode 100644 index 2315027b14..0000000000 --- a/qpid/java/management/common/build.xml +++ /dev/null @@ -1,28 +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="Management Common" default="build"> - <import file="../../module.xml"/> - - <property name="module.genpom" value="true"/> - - <target name="bundle" depends="bundle-tasks"/> - -</project> diff --git a/qpid/java/management/example/build.xml b/qpid/java/management/example/build.xml deleted file mode 100644 index e195d4bd47..0000000000 --- a/qpid/java/management/example/build.xml +++ /dev/null @@ -1,26 +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="Management Examples" default="build"> - <property name="module.depends" value="management/common"/> - - <import file="../../module.xml"/> - -</project> diff --git a/qpid/java/maven-settings.xml b/qpid/java/maven-settings.xml deleted file mode 100644 index 0f2e3e6156..0000000000 --- a/qpid/java/maven-settings.xml +++ /dev/null @@ -1,22 +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. - - - --> -<settings> -</settings> diff --git a/qpid/java/module.xml b/qpid/java/module.xml deleted file mode 100644 index 94063765b7..0000000000 --- a/qpid/java/module.xml +++ /dev/null @@ -1,897 +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="module" xmlns:artifact="antlib:org.apache.maven.artifact.ant"> - - <import file="common.xml"/> - - <property file="${project.root}/build.deps"/> - - <path id="maven-ant-tasks.classpath" path="${project.root}/${maven-ant-tasks}" /> - <typedef resource="org/apache/maven/artifact/ant/antlib.xml" - uri="antlib:org.apache.maven.artifact.ant" - classpathref="maven-ant-tasks.classpath" /> - - <map property="module" value="${basedir}" split="${path.separator}"> - <globmapper from="${project.root}${file.separator}*" to="*"/> - </map> - - <map property="module.name" value="${module}"> - <filtermapper> - <replacestring from="${file.separator}" to="-"/> - </filtermapper> - </map> - - <echo message="Running ant for module : ${module}" level="info"/> - - <property name="module.build" location="${build.scratch}/${module}"/> - <property name="module.classes" location="${module.build}/classes"/> - <property name="module.instrumented" location="${module.build}/classes-instrumented"/> - <property name="module.precompiled" location="${module.build}/src"/> - <property name="module.api" location="${build.api}/${module}/"/> - <property name="module.test.api" location="${build.test.api}/${module}"/> - <property name="module.test.classes" location="${module.build}/test/classes"/> - <property name="module.test.resources" location="src/test/resources"/> - <property name="module.results" location="${build.results}/${module}"/> - <property name="module.failed" location="${module.results}/FAILED"/> - <property name="module.src" location="src/main/java"/> - <property name="module.test.src" location="src/test/java"/> - <property name="module.bin" location="bin"/> - <property name="module.etc" location="etc"/> - - <property name="module.src.resources" location="src/main/resources"/> - <property name="module.src.resources.metainf" location="${module.src.resources}/META-INF"/> - <property name="module.resources.dir" location="resources/"/> - <property name="module.metainf" location="${module.build}/classes/META-INF"/> - - <property name="module.namever" value="${project.name}-${module.name}-${project.version}"/> - <property name="module.namever.osgi" value="${project.name}-${module.name}_${project.version}.0.osgi"/> - <property name="module.release.base" value="${basedir}/release"/> - <property name="module.release" value="${module.release.base}/${module.namever}"/> - <property name="module.release.lib" value="${module.release}/lib"/> - <property name="module.release.zip" location="${module.release.base}/${module.namever}.zip"/> - <property name="module.release.tar" location="${module.release.base}/${module.namever}.tar"/> - <property name="module.release.tgz" location="${module.release.base}/${module.namever}.tar.gz"/> - <property name="module.release.bz2" location="${module.release}/${module.namever}.tar.bz2"/> - - <property name="module.genpom.args" value=""/> - <property name="module.maven.depends" value=""/> - <property name="maven.remote.repo" value="file://${module.release.base}/maven"/> - <property name="eclipse.project.suffix" value=""/> - - <property name="broker.log.prefix" value="BROKER: "/> - <property name="broker.log.interleave" value="true"/> - - <property name="module.jar" location="${build.lib}/${project.name}-${module.name}-${project.version}.jar"/> - <property name="module.qpid.jar" location="${module.release.lib}/qpid-all.jar"/> - <basename property="qpid.jar.name" file="${module.qpid.jar}"/> - - <property name="module.coverage" location="${module.build}/coverage"/> - <property name="cobertura.datafile" location="${module.instrumented}/cobetura.ser"/> - - - <available property="module.test.src.exists" file="${module.test.src}"/> - <available property="module.etc.exists" file="${module.etc}"/> - <available property="module.bin.exists" file="${module.bin}"/> - <available property="module.src.resources.exists" file="${module.src.resources}"/> - <available property="module.test.src.resources.exists" file="${module.test.resources}"/> - <available property="module.src.resources.metainf.exists" file="${module.src.resources.metainf}"/> - <available property="module.resources.dir.exists" file="${module.resources.dir}"/> - - <property name="module.source.jar" - location="${build.lib}/${project.name}-${module.name}-${project.version}-sources.jar"/> - - <!-- module.depends and module.test.depends are supplied by the importing file --> - <property name="module.depends" value=""/> - <property name="module.test.depends" value=""/> - <property name="module.test.excludes" value=""/> - - <!-- Add depenencies dependencies to path --> - <map property="module.depends.libs" value="${module.depends}" join=" "> - <chainedmapper> - <filtermapper> - <replacestring from="${file.separator}" to="-"/> - </filtermapper> - <propertymapper from="*" to="*.libs"/> - </chainedmapper> - </map> - <condition property="module.depends.libs.includes" value="__EMPTY__" else="${module.depends.libs}"> - <equals trim="true" arg1="${module.depends.libs}" arg2=""/> - </condition> - - - <!-- Add depenencies test dependencies to path --> - <map property="module.test.depends.libs" value="${module.test.depends}" join=" "> - <chainedmapper> - <filtermapper> - <replacestring from="${file.separator}" to="-"/> - </filtermapper> - <propertymapper from="*" to="*.libs"/> - </chainedmapper> - </map> - <condition property="module.test.depends.libs.includes" value="__EMPTY__" else="${module.test.depends.libs}"> - <equals trim="true" arg1="${module.test.depends.libs}" arg2=""/> - </condition> - - - <indirect name="module.libs" variable="${module.name}.libs"/> - <condition property="module.libs.includes" value="__EMPTY__" else="${module.libs}"> - <equals trim="true" arg1="${module.libs}" arg2=""/> - </condition> - - <indirect name="module.test.libs" variable="${module.name}.test.libs"/> - <condition property="module.test.libs.includes" value="__EMPTY__" else="${module.test.libs}"> - <equals trim="true" arg1="${module.test.libs}" arg2=""/> - </condition> - - <path id="module.libs"> - <fileset dir="${project.root}" includes="${module.libs.includes}"/> - <fileset dir="${project.root}" includes="${module.depends.libs.includes}"/> - </path> - - <path id="module.test.libs"> - <fileset dir="${project.root}" includes="${module.test.libs.includes}"/> - <fileset dir="${project.root}" includes="${module.test.depends.libs.includes}"/> - </path> - - <path id="module.src.path"> - <pathelement location="${module.src}"/> - <pathelement location="${module.precompiled}"/> - </path> - - <path id="module.test.src.path"> - <pathelement location="${module.test.src}"/> - </path> - - <property name="module.test.jar" - location="${build.lib}/${project.name}-${module.name}-tests-${project.version}.jar"/> - - <map property="module.depends.jars" value="${module.depends}" join=","> - <globmapper from="*" to="${project.name}-*-${project.version}.jar"/> - <filtermapper> - <replacestring from="/" to="-"/> - </filtermapper> - </map> - - <map property="module.depends.jars.path" value="${module.depends}" join="${path.separator}"> - <filtermapper> - <replacestring from="/" to="-"/> - </filtermapper> - - <globmapper from="*" to="${build.lib}/${project.name}-*-${project.version}.jar"/> - </map> - - <map property="module.test.depends.jars.path" value="${module.test.depends}" join="${path.separator}"> - <filtermapper> - <replacestring from="/" to="-"/> - </filtermapper> - <globmapper from="*" to="${build.lib}/${project.name}-*-${project.version}.jar"/> - </map> - - <!-- used for building the module --> - <path id="module.class.path"> - <pathelement path="${module.depends.jars.path}"/> - <path refid="module.libs"/> - </path> - - <!-- used at runtime --> - <path id="module.runtime.class.path"> - <pathelement location="${module.jar}"/> - <pathelement path="${module.depends.jars.path}"/> - <path refid="module.libs"/> - </path> - - <!-- used to build the tests --> - <path id="module.test.path"> - <path refid="module.runtime.class.path"/> - <pathelement path="${module.test.depends.jars.path}"/> - <path refid="module.test.libs"/> - </path> - - <!-- used to run the tests --> - <path id="module.test.runtime.path"> - <pathelement path="${module.test.jar}"/> - <path refid="module.runtime.class.path"/> - <pathelement path="${module.test.depends.jars.path}"/> - <path refid="module.test.libs"/> - </path> - - <property name="javac.deprecation" value="off"/> - - <target name="debug"> - <echo-prop name="basedir"/> - <echo-prop name="project.root"/> - <echo-prop name="module"/> - <echo-prop name="module.libs"/> - <echo-prop name="module.test.libs"/> - <echo-prop name="module.name"/> - <echo-prop name="module.jar"/> - <echo-prop name="module.depends"/> - - <echo-prop name="module.test.depends"/> - - <echo-prop name="module.depends.libs"/> - <echo-prop name="module.test.depends.libs"/> - - <echo-prop name="module.depends.jars"/> - <echo-prop name="module.depends.jars.path"/> - <echo-prop name="module.test.depends.jars.path"/> - - <echo-path refid="module.src.path"/> - <echo-path refid="module.class.path"/> - <echo-path refid="module.runtime.class.path"/> - <echo-path refid="module.test.path"/> - <echo-path refid="module.test.runtime.path"/> - </target> - - <target name="prepare"> - <mkdir dir="${build.bin}"/> - <mkdir dir="${build.etc}"/> - <mkdir dir="${build.lib}"/> - <mkdir dir="${build.results}"/> - <mkdir dir="${build.scratch.broker.plugins.lib}"/> - <mkdir dir="${module.classes}"/> - <mkdir dir="${module.precompiled}"/> - <mkdir dir="${module.api}"/> - <mkdir dir="${module.test.api}"/> - <mkdir dir="${module.test.classes}"/> - <mkdir dir="${module.results}"/> - </target> - - <!--Overridden by (but still used in) the JCA module --> - <target name="pom" depends="prepare" if="module.genpom"> - <jython path="${mllib.dir}"> - <args> - <arg line='"${project.root}/genpom"'/> - <arg line='-s "${project.root}/lib/poms${path.separator}lib/poms"'/> - <arg line='-o "${build.scratch}/qpid-${module.name}.pom"'/> - <arg line="-u ${project.url}"/> - <arg line="-g ${project.groupid}"/> - <arg line="-v ${project.version.maven}${maven.version.suffix}"/> - <arg line="-p qpid"/> - <arg line='-m "${module.depends} ${module.maven.depends}"'/> - <arg line="-a ${module.name}"/> - <arg line="${module.genpom.args}"/> - <arg line="${module.libs}"/> - </args> - </jython> - </target> - - <!--Overridden by (but still used in) the JCA module --> - <target name="release-mvn" depends="build,pom" if="module.genpom" description="Install the artifacts into the local repository and prepare the release artifacts"> - <artifact:pom id="module.pom" file="${build.scratch}/qpid-${module.name}.pom"/> - - <artifact:install file="${module.jar}" pomRefId="module.pom" settingsFile="${maven.settings.xml}"> - <localRepository path="${maven.local.repo}"/> - </artifact:install> - - <artifact:deploy file="${module.jar}" pomRefId="module.pom" uniqueVersion="${maven.unique.version}" settingsFile="${maven.settings.xml}"> - <attach file="${module.source.jar}" classifier="sources"/> - <localRepository path="${maven.local.repo}"/> - <remoteRepository url="${maven.remote.repo}"/> - </artifact:deploy> - </target> - - <!--Overridden by (but still used in) the JCA module --> - <target name="deploy-snapshot" depends="build,pom" if="module.genpom" description="deploy a snapshot build to nexus"> - <!-- In order to use this target you need to have predefined a username and password for the - server with id ${maven.snapshots.repo.id} in your m2 settings file, e.g ~/.m2/settings.xml --> - <artifact:pom id="module.pom" file="${build.scratch}/qpid-${module.name}.pom"/> - - <fail message="The pom version must include -SNAPSHOT. Version found was: ${module.pom.version}"> - <condition> - <not> - <contains substring="-SNAPSHOT" string="${module.pom.version}" /> - </not> - </condition> - </fail> - - <artifact:install file="${module.jar}" pomRefId="module.pom" settingsFile="${maven.settings.xml}"> - <localRepository path="${maven.local.repo}"/> - </artifact:install> - - <artifact:deploy file="${module.jar}" pomRefId="module.pom"> - <localRepository path="${maven.local.repo}"/> - <remoteRepository id="${maven.snapshots.repo.id}" url="${maven.snapshots.repo.url}"/> - </artifact:deploy> - </target> - - <target name="precompile"/> - - <target name="compile" depends="prepare,precompile" description="compile sources"> - - <echo message="Targeting : ${java.target}" level="info"/> - - <javac source="${java.source}" target="${java.target}" - destdir="${module.classes}" debug="on" debuglevel="lines,vars,source" includeantruntime="false" - deprecation="${javac.deprecation}"> - <compilerarg line="${javac.compiler.args}"/> - <src refid="module.src.path"/> - <classpath refid="module.class.path"/> - </javac> - - <!-- copy any non java src files into the build tree, e.g. properties files --> - <copy todir="${module.classes}" verbose="true"> - <fileset dir="${module.src}"> - <exclude name="**/*.java"/> - <exclude name="**/package.html"/> - </fileset> - </copy> - </target> - - <target name="precompile-tests" if="module.test.src.exists"/> - - <target name="copy-test-resources" if="module.test.src.resources.exists"> - <echo message="Copying test resources from ${module.test.resources} to ${module.test.classes}..."/> - <copy todir="${module.test.classes}" failonerror="true"> - <fileset dir="${module.test.resources}"/> - </copy> - </target> - - <target name="compile-tests" depends="compile,precompile-tests" if="module.test.src.exists" - description="compilte unit tests"> - <javac target="${java.target}" source="${java.source}" - destdir="${module.test.classes}" debug="on" - deprecation="${javac.deprecation}" - srcdir="${module.test.src}" - includeantruntime="false"> - <classpath refid="module.test.path"/> - </javac> - - <!-- copy any non java src files into the build tree, e.g. properties files --> - <copy todir="${module.test.classes}" verbose="true"> - <fileset dir="${module.test.src}"> - <exclude name="**/*.java"/> - <exclude name="**/package.html"/> - </fileset> - </copy> - </target> - - - <property name="profile" value="java-mms.0-10"/> - <property name="testprofile.file" value="${test.profiles}/${profile}.testprofile"/> - - <available file="${testprofile.file}" property="testprofile.file.present"/> - <fail unless="testprofile.file.present" message="The requested test profile was not found: ${testprofile.file}"/> - - <property file="${testprofile.file}" prefix="preload"/> - <property name="preload.include" value=""/> - <property name="profiles" value="${preload.include} ${profile}"/> - <map property="_profile_files" value="${profiles}" join=" "> - <globmapper from="*" to="*.testprofile"/> - </map> - - <concat destfile="${build.scratch}/test-${profile}.properties" force="yes" append="no" fixlastline="yes"> - <filelist dir="${test.profiles}" files="testprofile.defaults"/> - <filelist dir="${test.profiles}" files="${_profile_files}"/> - </concat> - <property file="${build.scratch}/test-${profile}.properties"/> - - <map property="test.excludefiles" value="${test.excludes}"> - <globmapper from="*" to="${test.profiles}/*;"/> - </map> - - <condition property="dontruntest" value="dontruntest" else="runtest"> - <contains substring="${module.name}" string="${exclude.modules}" /> - </condition> - - <!-- JVM args pass to forked Junit JVM --> - <property name="jvm.args" value=""/> - <!-- Following properties are used by the tests --> - <property name="test.output" value="${module.results}"/> - <property name="QPID_HOME" value="${qpid.home}"/> - <property name="QPID_WORK" value="${qpid.work}"/> - - <propertyset id="all.test.systemproperties"> - <propertyref prefix="test"/> - <propertyref prefix="profile"/> - <propertyref prefix="javax.net.ssl"/> - <propertyref prefix="broker"/> - <propertyref prefix="qpid"/> - - <propertyref name="amqj.logging.level"/> - <propertyref name="amqj.server.logging.level"/> - <propertyref name="amqj.protocol.logging.level"/> - - <propertyref name="log4j.debug"/> - <propertyref name="log4j.configuration"/> - <propertyref name="log4j.configuration.file"/> - - <propertyref name="root.logging.level"/> - <propertyref name="java.naming.factory.initial"/> - <propertyref name="java.naming.provider.url"/> - <propertyref name="messagestore.class.name" /> - <propertyref name="messagestore.type" /> - <propertyref name="max_prefetch"/> - - <propertyref name="QPID_HOME"/> - <propertyref name="QPID_WORK"/> - </propertyset> - - <target name="test" depends="build,compile-tests" if="module.test.src.exists" - unless="${dontruntest}" description="execute unit tests"> - - <delete file="${module.failed}"/> - - <echo message="Using profile:${profile}" level="info"/> - <junit fork="yes" forkmode="once" maxmemory="${test.mem}" reloading="no" - haltonfailure="${haltonfailure}" haltonerror="${haltonerror}" - failureproperty="test.failures" printsummary="on" timeout="6000000" - dir="${project.root}" > - - <jvmarg line="${jvm.args}" /> - - <syspropertyset refid="all.test.systemproperties"/> - - <formatter type="plain"/> - <formatter type="xml"/> - - <classpath refid="module.test.runtime.path"/> - - <batchtest todir="${module.results}"> - <fileset dir="${module.test.src}" excludes="${module.test.excludes}"> - <include name="**/${test}.java"/> - </fileset> - </batchtest> - </junit> - - <antcall target="touch-failed"/> - - <condition property="failed"> - <and> - <isfalse value="${test.failures.ignore}"/> - <available file="${module.failed}"/> - </and> - </condition> - - <fail if="failed" message="TEST SUITE FAILED"/> - - </target> - - <target name="report-module" description="generate junit reports for each module"> - <junitreport todir="${module.results}"> - <fileset dir="${module.results}"> - <include name="TEST-*.xml"/> - </fileset> - <report format="frames" todir="${module.results}/report/html"/> - </junitreport> - </target> - - <target name="touch-failed" if="test.failures"> - <touch file="${module.failed}"/> - <touch file="${build.failed}"/> - </target> - - <target name="copy-bin" if="module.bin.exists" description="copy bin directory if it exists to build tree"> - <copy todir="${build.bin}" failonerror="false"> - <fileset dir="${module.bin}"/> - </copy> - <chmod dir="${build.bin}" perm="ugo+rx" includes="**/*"/> - </target> - - <target name="copy-bin-release" if="module.bin.exists" description="copy dependencies into module release"> - <copy todir="${module.release}/bin" failonerror="true"> - <fileset dir="${module.bin}" /> - </copy> - <chmod dir="${module.release}/bin" perm="ugo+rx" includes="**/*"/> - </target> - - <target name="copy-etc" if="module.etc.exists" description="copy etc directory if it exists to build tree"> - <copy todir="${build.etc}" failonerror="false"> - <fileset dir="${module.etc}"/> - </copy> - </target> - - <target name="copy-etc-release" if="module.etc.exists" description="copy etc directory if it exists to build tree"> - <copy todir="${module.release}/etc" failonerror="false" flatten="true"> - <fileset dir="${module.etc}"/> - </copy> - </target> - - <target name="postbuild" description="run after a build"/> - - <target name="build" depends="jar,jar-tests,jar-sources,libs,copy-bin,copy-etc,postbuild,copy-broker-plugin-jars" description="compile and copy resources into build tree"/> - - <target name="jar.manifest" depends="compile,copy-resources,copy-files-to-module-metainf" if="module.manifest"> - <jar destfile="${module.jar}" basedir="${module.classes}" manifest="${module.manifest}"> - <metainf dir="${module.metainf}" /> - </jar> - </target> - - <target name="jar.nomanifest" depends="compile,copy-resources,copy-files-to-module-metainf" unless="module.manifest"> - <jar destfile="${module.jar}" basedir="${module.classes}"> - <metainf dir="${module.metainf}" /> - </jar> - </target> - - <target name="copy-broker-plugin-jars" depends="copy-broker-plugin-jars-deps" if="broker.plugin" description="copy broker plugins for use in release packaging"> - <copy file="${module.jar}" todir="${build.scratch.broker.plugins.lib}" failonerror="true"/> - </target> - - <!-- Overridden in broker-plugins/amqp-1-0-protocol, bdbstore, and bdbstore/jmx modules --> - <target name="copy-broker-plugin-jars-deps" if="broker.plugin" description="copy broker plugins dependencies for use in release packaging"> - <copylist todir="${build.scratch.broker.plugins.lib}" dir="${project.root}" files="${module.libs}"/> - </target> - - <target name="copy-files-to-module-metainf" depends="copy-project-resources-metainf, copy-module-resources-metainf, copy-module-src-resources-metainf"/> - - <target name="copy-project-resources-metainf"> - <copy todir="${module.metainf}" failonerror="true"> - <fileset dir="${project.root}/resources/jar"/> - </copy> - </target> - - <target name="copy-extra-resources" if="module.src.resources.extra"> - <echo message="Copying extra resources from ${module.src.resources.extra} to ${module.classes}..."/> - <copy todir="${module.classes}" failonerror="true"> - <fileset dir="${module.src.resources.extra}"/> - </copy> - </target> - - <target name="copy-resources" depends="copy-extra-resources" if="module.src.resources.exists"> - <echo message="Copying resources from ${module.src.resources} to ${module.classes}..."/> - <copy todir="${module.classes}" failonerror="true"> - <fileset dir="${module.src.resources}" excludes="META-INF/**"/> - </copy> - </target> - - <target name="copy-module-resources-metainf" if="module.resources.dir.exists"> - <copy todir="${module.metainf}" failonerror="false" overwrite="true"> - <fileset dir="${module.resources.dir}"/> - </copy> - </target> - - <target name="copy-module-src-resources-metainf" if="module.src.resources.metainf.exists"> - <copy todir="${module.metainf}" failonerror="true"> - <fileset dir="${module.src.resources.metainf}"/> - </copy> - </target> - - <target name="jar" depends="jar.manifest,jar.nomanifest" description="create jar"/> - - <target name="jar-tests" depends="compile-tests, copy-test-resources" description="create unit test jar"> - <jar destfile="${module.test.jar}" basedir="${module.test.classes}"/> - </target> - - <target name="jar-sources" depends="prepare" description="create sources jar"> - <jar destfile="${module.source.jar}"> - <fileset dir="${project.root}/resources"> - <include name="LICENSE"/> - <include name="NOTICE"/> - </fileset> - <fileset dir="${module.src}" includes="**/*.java"/> - <fileset dir="${module.precompiled}" includes="**/*.java"/> - </jar> - </target> - - <target name="libs" description="copy dependencies into build tree"> - <copylist todir="${build.lib}" dir="${project.root}" files="${module.libs}"/> - </target> - - - <target name="libs-release-basic" description="copy dependencies into module release"> - <!-- Copy the module dependencies --> - <echo message="${module.libs}"/> - <copylist todir="${module.release}/lib" dir="${project.root}" files="${module.libs}"/> - <copylist todir="${module.release}/lib" dir="${project.root}" files="${module.depends.libs}"/> - - <!-- Copy the jar for this module --> - <copy todir="${module.release}/lib" failonerror="true"> - <fileset file="${module.jar}"/> - </copy> - </target> - - <target name="libs-release-module-depends" description="copy dependencies into module release" unless="release.exclude.module.deps"> - <copy todir="${module.release}/lib" failonerror="true"> - <fileset dir="${build.lib}" includes="${module.depends.jars}"/> - </copy> - </target> - - <target name="libs-release" description="copy dependencies into module release" depends="libs-release-basic,libs-release-module-depends"> - </target> - - <target name="resources-release" description="copy resources into module release"> - <copy todir="${module.release}" failonerror="false" flatten="true"> - <fileset dir="${resources}"> - <exclude name="jar/**"/> - <exclude name="java-binary-release/**"/> - </fileset> - </copy> - - <copy todir="${module.release}" failonerror="false" overwrite="true"> - <fileset dir="src/main/assembly"> - <include name="LICENSE"/> - <include name="NOTICE"/> - </fileset> - </copy> - </target> - - <uptodate property="doc.done" targetfile="${module.api}/index.html"> - <srcfiles dir="${module.src}" includes="**/*.java"/> - </uptodate> - - <property name="module.doc.access" value="package"/> - <target name="doc" depends="prepare" unless="doc.done" description="generate api-doc"> - <javadoc access="${module.doc.access}" destdir="${module.api}" author="false" version="true" use="true" - windowtitle="${project.name} - ${module.name} - API Documentation" - sourcepathref="module.src.path" classpathref="module.class.path" packagenames="*"> - <arg value="-J-Dhttp.proxyHost=${http.proxyHost}"/> - <arg value="-J-Dhttp.proxyPort=${http.proxyPort}"/> - <bottom><![CDATA[<em><a href="http://www.apache.org/licenses/LICENSE-2.0">Licensed to the Apache Software Foundation</a></em>]]></bottom> - <link href="http://java.sun.com/j2se/1.5.0/docs/api/"/> - <link href="http://download.oracle.com/docs/cd/E17477_01/javaee/5/api/"/> - <link href="http://commons.apache.org/configuration/apidocs/"/> - <tag name="todo" scope="all" description="Todo:" /> - </javadoc> - </target> - - <uptodate property="test-doc.done" targetfile="${module.test.api}/index.html"> - <srcfiles dir="${module.test.src}" includes="**/*.java"/> - </uptodate> - - <property name="module.test.doc.access" value="public"/> - <target name="test-doc" depends="prepare" unless="testdoc.done" if="module.test.src.exists" description="generate test api-doc"> - <javadoc access="${module.test.doc.access}" destdir="${module.test.api}" author="false" version="true" use="true" - windowtitle="${project.name} - ${module.name} - Test API Documentation" - sourcepathref="module.test.src.path" classpathref="module.test.path" packagenames="*"> - <arg value="-J-Dhttp.proxyHost=${http.proxyHost}"/> - <arg value="-J-Dhttp.proxyPort=${http.proxyPort}"/> - <bottom><![CDATA[<em><a href="http://www.apache.org/licenses/LICENSE-2.0">Licensed to the Apache Software Foundation</a></em>]]></bottom> - <link href="http://java.sun.com/j2se/1.5.0/docs/api/"/> - <link href="http://download.oracle.com/docs/cd/E17477_01/javaee/5/api/"/> - <link href="http://commons.apache.org/configuration/apidocs/"/> - <tag name="todo" scope="all" description="Todo:" /> - </javadoc> - </target> - - <target name="release-bin-prepare"> - <mkdir dir="${module.release}"/> - <available property="module.release.exists" file="${module.release}"/> - </target> - - <target name="check-module-manifest"> - <uptodate property="module-manifest.done" targetfile="${qpid.jar}"> - <srcfiles dir="${build.lib}" includes="**/*.jar" excludes="**/${qpid.jar.name}"/> - </uptodate> - </target> - - <target name="module-manifest" depends="check-module-manifest" unless="module-manifest.done"> - <path id="class.path"> - <fileset dir="${module.release.lib}" > - <include name="*.jar"/> - <exclude name="${qpid.jar.name}"/> - </fileset> - </path> - <pathconvert property="qpid.jar.classpath" pathsep=" " dirsep="/"> - <path refid="class.path"/> - <globmapper from="${module.release.lib}${file.separator}*" to="*"/> - </pathconvert> - - <jar destfile="${module.qpid.jar}"> - <manifest> - <attribute name="Class-Path" value="${qpid.jar.classpath}"/> - </manifest> - <metainf dir="${project.root}/resources/jar"/> - </jar> - - <touch file="${module.qpid.jar}"/> - </target> - - - <target name="zip-release" depends="build-release-bin" description="build module release archive"> - <zip destfile="${module.release.zip}"> - <zipfileset dir="${module.release}" prefix="${module.namever}" filemode="755"> - <include name="bin/*"/> - <exclude name="bin/*.txt"/> - </zipfileset> - - <zipfileset dir="${module.release}" prefix="${module.namever}" filemode="644"> - <include name="bin/*.txt"/> - </zipfileset> - - <zipfileset dir="${module.release}" prefix="${module.namever}" excludes="${module.release.excludes}" filemode="644" dirmode="755"> - <exclude name="bin/**"/> - <exclude name="**/*.class"/> - </zipfileset> - </zip> - </target> - - <target name="bundle" description="Build module osgi artifact. Override and depend on bundle-tasks to use"/> - - <target name="bundle-tasks" depends="jar"> - <taskdef resource="aQute/bnd/ant/taskdef.properties" classpath="${project.root}/${bnd}"/> - <echo message="Bundling ${build}/lib/${module.namever}.jar with ${module.src}/${module.name}.bnd"/> - <bnd - classpath="${build}/lib/${module.namever}.jar" - eclipse="false" - failok="false" - exceptions="true" - output="${build}/lib/${module.namever.osgi}.jar" - files="${module.src}/${module.name}.bnd"/> - </target> - - <target name="tar-release" depends="zip-release" description="build release archive"> - <tar destfile="${module.release.tar}" longfile="gnu" > - <zipfileset src="${module.release.zip}"/> - </tar> - </target> - - <target name="gzip-release" depends="tar-release" description="build release archive"> - <gzip src="${module.release.tar}" destfile="${module.release.tgz}"/> - </target> - - <target name="bzip2-release" depends="tar-release" description="build release archive"> - <bzip2 src="${module.release.tar}" destfile="${module.release.bz2}"/> - </target> - - <target name="doc-release" description="no-op override if a doc step is requried "/> - - - <target name="build-release-bin" depends="release-bin-prepare,libs-release,copy-bin-release, - copy-etc-release,doc-release,resources-release,release-bin-other,module-manifest" - description="Task that includes all tasks required to create a module binary release"/> - - <!-- ,zip-release,gzip-release --> - <target name="release-bin-tasks" depends="gzip-release" description="build all release archives except .bz2"/> - - <target name="release-bin-all-tasks" depends="bzip2-release" description="build all release archives"/> - - <!-- Dummy targets to no-op for most modules. Override if a module package is required --> - <target name="release-bin-other" description="Override if there is tasks required for the module bin release to occur last"/> - <target name="release-bin" description="Override and depend on release-bin-tasks to generate"/> - <target name="release-bin-all" description="Override and depend on release-bin-tasks to generate"/> - - <target name="clean" description="remove build artifacts"> - <delete dir="${module.build}"/> - <delete dir="${module.results}"/> - <delete dir="${module.release.base}"/> - <delete dir="${module.instrumented}"/> - </target> - - <target name="instrument" depends="cobertura-init"> - <cobertura-instrument todir="${module.instrumented}" - datafile="${cobertura.datafile}"> - <fileset dir="${module.classes}"> - <include name="**/*.class"/> - </fileset> - </cobertura-instrument> - </target> - - <target name="cover-test" depends="instrument" if="module.test.src.exists"> - - <junit fork="yes" forkmode="once" maxmemory="${test.mem}" reloading="no" - haltonfailure="${haltonfailure}" haltonerror="${haltonerror}" - failureproperty="test.failures" printsummary="on" timeout="600000" - dir="${project.root}" > - <jvmarg line="${jvm.args}" /> - - <syspropertyset refid="all.test.systemproperties"/> - - <sysproperty key="net.sourceforge.cobertura.datafile" file="${cobertura.datafile}" /> - - <formatter type="plain"/> - <formatter type="xml"/> - - <classpath path="${module.instrumented}"/> - <classpath> - <fileset dir="${build}"> - <include name="**/classes-instrumented/*.class"/> - </fileset> - </classpath> - <classpath refid="module.test.runtime.path"/> - <classpath refid="cobertura.classpath"/> - - <batchtest todir="${module.results}"> - <fileset dir="${module.test.src}" excludes="${module.test.excludes}"> - <include name="**/${test}.java"/> - </fileset> - </batchtest> - </junit> - </target> - - <target name="coverage-report" depends="cobertura-init"> - <cobertura-report format="html" - destdir="${module.coverage}" - datafile="${cobertura.datafile}"> - <fileset dir="${module.src}" includes="**/*.java" /> - </cobertura-report> - </target> - - <target name="eclipse" depends="eclipse-setup,eclipse-project,eclipse-source-only,eclipse-source-and-test"/> - - <target name="eclipse-setup"> - <taskdef name="eclipse" classname="prantl.ant.eclipse.EclipseTask" /> - - <!-- Build set of directories representing the dependencies --> - - <dirset id="eclipse.required.projectdirs.path" dir="${project.root}" includes="${module.depends} ${module.test.depends} neverBeEmpty"> - <!-- Select only those projects from module.depends that contain a build.xml. This serves to exclude dependencies that - don't become Eclipse projects e.g. broker-plugins and common-tests --> - <present targetdir="${project.root}"> - <mapper type="glob" from="*" to="*/build.xml"/> - </present> - </dirset> - - <!-- Convert from the set of directories into Eclipse project names proceeded by forward slashes --> - - <pathconvert property="eclipse.required.projectnames" refid="eclipse.required.projectdirs.path" pathsep=" " dirsep="-"> - <map from="${project.root}${file.separator}" to=''/> - </pathconvert> - <map property="eclipse.required.slashedprojectnames" value="${eclipse.required.projectnames}" join="${path.separator}"> - <globmapper from="*" to="/*${eclipse.project.suffix}"/> - </map> - - <echo message="Ant module dependencies : ${module.depends} ${module.test.depends} converted to Eclipse required project(s): ${eclipse.required.slashedprojectnames}"/> - <path id="eclipse.required.slashedprojectnames.path"> - <pathelement path="${eclipse.required.slashedprojectnames}"/> - </path> - </target> - - <!-- Create the Eclipse .project --> - <target name="eclipse-project"> - <eclipse updatealways="${eclipse.updatealways}"> - <project name="${module.name}${eclipse.project.suffix}"/> - - <!-- If the Eclipse task were to ever support the generation of - linked resources, we would configure it to generate - the following: - - scratch_src -> ${module.precompiled} - - in each project. This would avoid the 'linked sources' - manual step documented on the Wiki. - --> - </eclipse> - </target> - - <!-- Create the Eclipse .classpath --> - <target name="eclipse-source-only" unless="module.test.src.exists"> - <eclipse updatealways="${eclipse.updatealways}"> - <settings> - <jdtcore compilercompliance="${eclipse.compilercompliance}" /> - </settings> - <classpath> - <container path="${eclipse.container}" /> - <source path="${module.src}" /> - <source pathref="eclipse.required.slashedprojectnames.path" /> - <library pathref="module.libs"/> - <output path="classes" /> - </classpath> - </eclipse> - </target> - - <!-- Create the Eclipse .classpath --> - <target name="eclipse-source-and-test" if="module.test.src.exists"> - <eclipse updatealways="${eclipse.updatealways}"> - <settings> - <jdtcore compilercompliance="${eclipse.compilercompliance}" /> - </settings> - <classpath> - <container path="${eclipse.container}" /> - <source path="${module.src}" /> - <source path="${module.test.src}" /> - <source pathref="eclipse.required.slashedprojectnames.path" /> - <library pathref="module.libs"/> - <library pathref="module.test.libs"/> - <output path="classes" /> - </classpath> - </eclipse> - </target> -</project> 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> diff --git a/qpid/java/qpid-perftests-systests/build.xml b/qpid/java/qpid-perftests-systests/build.xml deleted file mode 100644 index 07d2263e43..0000000000 --- a/qpid/java/qpid-perftests-systests/build.xml +++ /dev/null @@ -1,46 +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 System 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 perftests systests qpid-test-utils"/> - <property name="module.test.depends" value="perftests 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"/> -</project> diff --git a/qpid/java/qpid-test-utils/build.xml b/qpid/java/qpid-test-utils/build.xml deleted file mode 100644 index 4423c365f8..0000000000 --- a/qpid/java/qpid-test-utils/build.xml +++ /dev/null @@ -1,26 +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="QpidTestUtils" default="build"> - <property name="module.depends" value=""/> - <property name="module.test.depends" value="" /> - - <import file="../module.xml"/> -</project> diff --git a/qpid/java/systests/build.xml b/qpid/java/systests/build.xml deleted file mode 100644 index 78bfeaec46..0000000000 --- a/qpid/java/systests/build.xml +++ /dev/null @@ -1,44 +0,0 @@ -<!-- - - - - Licensed to the Apache Software Foundation (ASF) under one -nn - or more contributor license agreements. See the NOTICE file - -n 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="System Tests" default="build"> - <condition property="systests.optional.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> - - <!-- The jca module is unusual in that it produces a jar with the name ra rather than jca. Unfortunately this means we - need to add both jca (finds jca's jar dependencies) and ra (to find the qpid-ra jar file itself). --> - <property name="module.depends" value="qpid-test-utils client management/common broker-core broker-core/tests common amqp-1-0-common common/tests jca ra broker-plugins/access-control broker-plugins/management-http broker-plugins/management-jmx broker-plugins/memory-store broker-plugins/derby-store broker-plugins/amqp-0-8-protocol broker-plugins/amqp-0-10-protocol broker-plugins/amqp-1-0-protocol broker-plugins/amqp-msg-conv-0-8-to-0-10 broker-plugins/amqp-msg-conv-0-8-to-1-0 broker-plugins/amqp-msg-conv-0-10-to-1-0 ${systests.optional.depends}"/> - <property name="module.test.src" location="src/main/java"/> - <property name="module.test.excludes" - value="**/DropInTest.java,**/TestClientControlledTest.java"/> - - <import file="../module.xml"/> - -</project> diff --git a/qpid/java/tools/build.xml b/qpid/java/tools/build.xml deleted file mode 100644 index 99b0375e95..0000000000 --- a/qpid/java/tools/build.xml +++ /dev/null @@ -1,26 +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="Qpid Tools" default="build"> - <property name="module.depends" value="client common"/> - - <import file="../module.xml"/> - -</project> |