[ 
https://issues.apache.org/jira/browse/QPIDIT-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16366193#comment-16366193
 ] 

Kim van der Riet commented on QPIDIT-105:
-----------------------------------------

{{Mono JIT compiler version 4.6.2 (Stable 4.6.2.16/ac9e222 Mon Jul 31 05:33:32 
UTC 2017)}}

If this is a warning, we need to prevent it from printing to std::out or 
std::err, as any unexpected output on these will be interpreted as an error 
condition by the test program. Currently, both of these are piped to the 
calling Python test program in the {{subprocess.Popen()}} call.

> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to