From da7718ef463775acc7d6fbecf2d64c1bbfc39fd8 Mon Sep 17 00:00:00 2001 From: Justin Ross Date: Tue, 19 Apr 2016 23:11:13 +0000 Subject: QPID-7207: Remove files and components that are obsolete or no longer in use; move doc and packaging pieces to the cpp subtree git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1740032 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/packaging/windows/INSTALL_NOTES.html | 100 ++++++ qpid/cpp/packaging/windows/LICENSE.rtf | 110 +++++++ qpid/cpp/packaging/windows/build_installer.bat | 55 ++++ qpid/cpp/packaging/windows/installer.proj | 243 +++++++++++++++ qpid/cpp/packaging/windows/qpid-icon.ico | Bin 0 -> 52972 bytes .../packaging/windows/qpid-install-background.bmp | Bin 0 -> 155830 bytes qpid/cpp/packaging/windows/qpid-install-banner.bmp | Bin 0 -> 29846 bytes qpid/cpp/packaging/windows/qpidc.wxs | 343 +++++++++++++++++++++ 8 files changed, 851 insertions(+) create mode 100644 qpid/cpp/packaging/windows/INSTALL_NOTES.html create mode 100644 qpid/cpp/packaging/windows/LICENSE.rtf create mode 100644 qpid/cpp/packaging/windows/build_installer.bat create mode 100644 qpid/cpp/packaging/windows/installer.proj create mode 100644 qpid/cpp/packaging/windows/qpid-icon.ico create mode 100644 qpid/cpp/packaging/windows/qpid-install-background.bmp create mode 100644 qpid/cpp/packaging/windows/qpid-install-banner.bmp create mode 100644 qpid/cpp/packaging/windows/qpidc.wxs (limited to 'qpid/cpp/packaging') diff --git a/qpid/cpp/packaging/windows/INSTALL_NOTES.html b/qpid/cpp/packaging/windows/INSTALL_NOTES.html new file mode 100644 index 0000000000..03ac200685 --- /dev/null +++ b/qpid/cpp/packaging/windows/INSTALL_NOTES.html @@ -0,0 +1,100 @@ + + +Apache Qpid C++ 0.35 Installation Notes + + +

Apache Qpid C++ 0.35 Installation Notes

+ +

Thank you for installing Apache Qpid version 0.35 for Windows. +If the requisite features were installed, you can now run a broker, +use the example programs, and design your own messaging programs while +reading the Qpid C++ API reference documentation.

+ +

Running a Message Broker

+

+In AMQP, programs that send and receive messages are clients. The agents +that route and queue messages to and from clients are brokers. In order to +use any Qpid-based messaging program there must be at least one broker +running which the client(s) can communicate with. The broker need not execute +on the same system as the client, but it must be reachable using TCP/IP.

+ +

The broker executable is installed in the bin subdirectory +of your Qpid installation directory. The broker program is +qpidd.exe. The installation procedure adds the Qpid bin +directory to the PATH environment variable, so the simplest way to experiment +with the broker is to open a command prompt window and execute the broker: +

+qpidd
+
+A small amount of information will be displayed to let you know the broker +is running and listening for client connections.

+

To stop the broker, you can simply type ^C in the +command prompt window where the broker is running.

+ +

For a full list of options for the broker, you can use the +--help option.

+ +

Using the Example Programs

+ +

If you installed the example programs, a new environment variable was +set. QPID_ROOT refers to the Qpid installation directory. The +Visual Studio project files located in the examples area refer to +QPID_ROOT to locate both header files and library files.

+ +

The example programs are located in the examples subdirectory +of the Qpid installation directory. There are a number of examples, each with +its own subdirectory under examples. You can use the examples to +

+Each example's directory contains source code and Visual Studio 2008 project +files you can use to build the examples.

+ +

Reading the C++ API Reference Documentation

+

The C++ API reference documentation is HTML and can be viewed using +your web browser. It is located in the docs\api\html subdirectory +of the installation directory, but there is also a shortcut to the +documentation in Start > All Programs > Apache Qpid > Qpid C++ Reference +Documentation. Selecting that menu item will launch the documentation's +main page in your default web browser.

+ +

Complete Source Code is Available

+

If you wish to view Qpid's source code, please visit + +http://qpid.apache.org/download.html. The source components used to build +this installed kit are "C++ broker & client" and "C# (.NET, WCF) WCF +channel (C++ Broker Compatible)."

+ +

Notes

+

Please read the following sections for important notes regarding this +release.

+ +

CLFS-Based Broker Persistence Module

+

This release includes a second persistence module. The broker can use this +module to facilitate durable queues, exchanges, bindings, configuration, and +messages. The new persistence module, like the SQL-based store introduced in +Qpid 0.6, uses SQL Server Express (or SQL Server) 2005 or newer. However, it +also used Common Log File System (CLFS) to store message and transaction-related +information. CLFS and, thus, the new store, is available on Windows Vista and +Server 2005 and newer. +The persistence module is a Qpid broker plugin. It is not loaded by +default; therefore, to gain support for durable items the persistence plugin +must be loaded into the broker. This can be done using the +--load-module option to load the needed plugins. For example: +

+cd "C:\Program Files\Apache\qpidc-0.35"
+qpidd.exe --load-module plugins\broker\store.dll --load-module plugins\broker\msclfs_store.dll
+
+The --load-module option can also take a full path. The option +can also be included in the broker configuration file. A sample is located +in the conf\qpidd.conf file under the installation directory.

+ +

For More Information

+

For more information on Apache Qpid, please visit the web site +http://qpid.apache.org/.

+ +

The Qpid site contains more information about Qpid and AMQP as well as +directions for joining and reading the Qpid-related email lists.

+ + diff --git a/qpid/cpp/packaging/windows/LICENSE.rtf b/qpid/cpp/packaging/windows/LICENSE.rtf new file mode 100644 index 0000000000..04fddfe8b6 --- /dev/null +++ b/qpid/cpp/packaging/windows/LICENSE.rtf @@ -0,0 +1,110 @@ +{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 Courier New;}} +{\*\generator Msftedit 5.41.21.2500;}\viewkind4\uc1\pard\qc\lang1033\f0\fs20 Apache License\par +Version 2.0, January 2004\par +http://www.apache.org/licenses/\par +\pard\par +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\par +\par +1. Definitions.\par +\par +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.\par +\par +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.\par +\par +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.\par +\par +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.\par +\par +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation, source, and configuration files.\par +\par +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.\par +\par +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).\par +\par +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.\par +\par +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."\par +\par +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.\par +\par +2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.\par +\par +3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license plies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.\par +\par +4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:\par +\par + (a) You must give any other recipients of the Work or\par + Derivative Works a copy of this License; and\par +\par + (b) You must cause any modified files to carry prominent notices\par + stating that You changed the files; and\par +\par + (c) You must retain, in the Source form of any Derivative Works\par + that You distribute, all copyright, patent, trademark, and\par + attribution notices from the Source form of the Work,\par + excluding those notices that do not pertain to any part of\par + the Derivative Works; and\par +\par + (d) If the Work includes a "NOTICE" text file as part of its\par + distribution, then any Derivative Works that You distribute\par + must include a readable copy of the attribution notices\par + contained within such NOTICE file, excluding those notices\par + that do not pertain to any part of the Derivative Works, in\par + at least one of the following places: within a NOTICE text\par + file distributed as part of the Derivative Works; within the\par + Source form or documentation, if provided along with the\par + Derivative Works; or, within a display generated by the\par + Derivative Works, if and wherever such third-party notices\par + normally appear. The contents of the NOTICE file are for\par + informational purposes only and do not modify the License.\par + You may add Your own attribution notices within Derivative\par + Works that You distribute, alongside or as an addendum to the\par + NOTICE text from the Work, provided that such additional\par + attribution notices cannot be construed as modifying the\par + License.\par +\par +You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.\par +\par +5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.\par +\par +6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.\par +\par +7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.\par +\par +8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.\par +\par +9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.\par +\par +END OF TERMS AND CONDITIONS\par +\par +APPENDIX: How to apply the Apache License to your work.\par +\par +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.\par +\par + Copyright [yyyy] [name of copyright owner]\par +\par + Licensed under the Apache License, Version 2.0 (the "License");\par + you may not use this file except in compliance with the License.\par + You may obtain a copy of the License at\par +\par + http://www.apache.org/licenses/LICENSE-2.0\par +\par + Unless required by applicable law or agreed to in writing, software\par + distributed under the License is distributed on an "AS IS" BASIS,\par + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\par + implied. See the License for the specific language governing\par + permissions and limitations under the License.\par +\par +=======================================================================\par +\par +Boost Software License - Version 1.0 - August 17th, 2003\par +\par +Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following:\par +\par +The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor.\par +\par +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\par +\par +\par +} + \ No newline at end of file diff --git a/qpid/cpp/packaging/windows/build_installer.bat b/qpid/cpp/packaging/windows/build_installer.bat new file mode 100644 index 0000000000..addc33f32b --- /dev/null +++ b/qpid/cpp/packaging/windows/build_installer.bat @@ -0,0 +1,55 @@ +rem +rem Licensed to the Apache Software Foundation (ASF) under one +rem or more contributor license agreements. See the NOTICE file +rem distributed with this work for additional information +rem regarding copyright ownership. The ASF licenses this file +rem to you under the Apache License, Version 2.0 (the +rem "License"); you may not use this file except in compliance +rem with the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, +rem software distributed under the License is distributed on an +rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +rem KIND, either express or implied. See the License for the +rem specific language governing permissions and limitations +rem under the License. + +@set vshome="%ProgramFiles%\Microsoft Visual Studio 9.0" +if "%ProgramFiles(x86)%" == "" goto x86only +@set vshome="%ProgramFiles(x86)%\Microsoft Visual Studio 9.0" +if /i %1 == x86 goto x86 +if /i %1 == x64 goto x64 +echo Error in script usage. The correct usage is: +echo %0 [arch] +echo where [arch] is: x86 ^| x64 +goto :eof + +:x86only +@set vsarch=x86 +@set bits=32 +goto run + +:x86 +@set vsarch=x86 +@set bits=32 +goto run + +:x64 +@set vsarch=amd64 +@set bits=64 + +:run +rem Two environment variables need to be set: +rem QPID_BUILD_ROOT: root of the build directory; $cwd\build unless the +rem build_dir property is set in msbuild properties below. +rem BOOST_ROOT: root of the Boost installation + +set QPID_BUILD_ROOT=%CD%\build + +rem If the local cmake needs help, add options to the cmake_options property. +rem For example: cmake_options="-DBOOST_INCLUDE_DIR=C:/Boost/boost-1_40 +rem -DBOOST_LIBRARYDIR=C:/Boost/boost-1_40/lib64" +call %vshome%\VC\vcvarsall.bat %vsarch% +msbuild /property:bits=%bits% installer.proj diff --git a/qpid/cpp/packaging/windows/installer.proj b/qpid/cpp/packaging/windows/installer.proj new file mode 100644 index 0000000000..d42d6ad9d4 --- /dev/null +++ b/qpid/cpp/packaging/windows/installer.proj @@ -0,0 +1,243 @@ + + + + + + + + $(MSBuildProjectDirectory)\build + $(MSBuildProjectDirectory)\..\.. + $(MSBuildProjectDirectory)\stage + 32 + 0.35 + qpidc + Package + C:\Program Files (x86)\Windows Installer XML v3.5\bin + $(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\wix.targets + + + + + + ProgramFiles64Folder + %22Visual Studio 9 2008 Win64%22 + x64 + x64 + x64 + + + + + ProgramFilesFolder + %22Visual Studio 9 2008%22 + x86 + Win32 + Win32 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(WixToolPath)\WixUtilExtension.dll + + + $(WixToolPath)\WixUIExtension.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/qpid/cpp/packaging/windows/qpid-icon.ico b/qpid/cpp/packaging/windows/qpid-icon.ico new file mode 100644 index 0000000000..112f5d8f1f Binary files /dev/null and b/qpid/cpp/packaging/windows/qpid-icon.ico differ diff --git a/qpid/cpp/packaging/windows/qpid-install-background.bmp b/qpid/cpp/packaging/windows/qpid-install-background.bmp new file mode 100644 index 0000000000..7a287f107f Binary files /dev/null and b/qpid/cpp/packaging/windows/qpid-install-background.bmp differ diff --git a/qpid/cpp/packaging/windows/qpid-install-banner.bmp b/qpid/cpp/packaging/windows/qpid-install-banner.bmp new file mode 100644 index 0000000000..73184a9235 Binary files /dev/null and b/qpid/cpp/packaging/windows/qpid-install-banner.bmp differ diff --git a/qpid/cpp/packaging/windows/qpidc.wxs b/qpid/cpp/packaging/windows/qpidc.wxs new file mode 100644 index 0000000000..d249423c99 --- /dev/null +++ b/qpid/cpp/packaging/windows/qpidc.wxs @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = 502)]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed + + + + + + + + + + + + + + + -- cgit v1.2.1