From dev-return-86544-archive-asf-public=cust-asf.ponee.io@qpid.apache.org Tue Mar 20 22:58:08 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 7966718064A for ; Tue, 20 Mar 2018 22:58:07 +0100 (CET) Received: (qmail 9975 invoked by uid 500); 20 Mar 2018 21:58:06 -0000 Mailing-List: contact dev-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list dev@qpid.apache.org Received: (qmail 9964 invoked by uid 99); 20 Mar 2018 21:58:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2018 21:58:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E7CDCC704D for ; Tue, 20 Mar 2018 21:58:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id GbGUJTfKNXTo for ; Tue, 20 Mar 2018 21:58:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id AE0335F520 for ; Tue, 20 Mar 2018 21:58:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id ED809E0D75 for ; Tue, 20 Mar 2018 21:58:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 56506214CB for ; Tue, 20 Mar 2018 21:58:00 +0000 (UTC) Date: Tue, 20 Mar 2018 21:58:00 +0000 (UTC) From: "Kim van der Riet (JIRA)" To: dev@qpid.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (QPIDIT-105) Getting started with AMQP.Net Lite in Fedora MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/QPIDIT-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kim van der Riet resolved QPIDIT-105. ------------------------------------- Resolution: Fixed This was a great help, thanks Chuck! > Getting started with AMQP.Net Lite in Fedora > -------------------------------------------- > > Key: QPIDIT-105 > URL: https://issues.apache.org/jira/browse/QPIDIT-105 > Project: Apache QPID Interoperability Test Suite > Issue Type: New Feature > Components: .Net Lite Shim > Affects Versions: 0.1.0 > Environment: Fedora 25 > mono 4.4.2 > Reporter: Chuck Rolke > Assignee: Kim van der Riet > Priority: Major > > h4. Introduction > With package mono version 4.4.2 installed on Fedora the system is capable of compiling and running the AMQP.Net Lite shim tests. The remaining part of the puzzle is acquiring a pre-compiled AMQP.Net Lite executable library. Here's one solution. > This note is not a feature request so much as it is a blog about one way to do it. > h4. Fetch AMQP.Net Lite 2.0.0 from NuGet > Saved as file *get-lite.sh* in the top level directory it may be dot sourced to pick up the definition of AMQPNETLITE_LIB_DIR. > {noformat} > #!/bin/bash > # > # file: get-lite.sh > # > litedir=amqpnetlite-lib-dir > if [[ ! -d $litedir ]]; then > mkdir $litedir > cd $litedir > wget https://www.nuget.org/api/v2/package/AMQPNetLite/2.0.0 > mv 2.0.0 amqpnetlite.2.0.0.nupkg > unzip amqpnetlite.2.0.0.nupkg > cd .. > fi > export AMQPNETLITE_LIB_DIR=`pwd`/$litedir/lib/net45 > {noformat} > .h4 Build qpid-interop-test including AMQP.Net Lite > Include the Lite library definition in the CMake command line > {noformat} > cmake -DAMQPNETLITE_LIB_DIR=${AMQPNETLITE_LIB_DIR} ... > {noformat} > Expect confirmation that the Lite library was picked up by CMake > {noformat} > -- BUILD_AMQPNETLITE = ON > {noformat} > h4. Run test with the AMQP.Net Lite shims > Define the library location and specify the shims. > {noformat} > export AMQPNETLITE_LIB_DIR=${QPID_INTEROP_TEST_HOME}/amqpnetlite-lib-dir/lib/net45 > ./src/python/qpid_interop_test/amqp_types_test.py \ > --include-shim ProtonCpp \ > --include-shim ProtonPython \ > --include-shim AmqpNetLite > {noformat} > h4. Further integration > This should get you started with the AMQP.Net Lite library. I've tried a few things to auto-detect the library and use it if present. None of those attempts is yet worthy. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org For additional commands, e-mail: dev-help@qpid.apache.org