Skip to content

xmppo/Jabber-Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 14, 2020
20cd47c · May 14, 2020
Aug 12, 2018
Nov 17, 2018
Sep 5, 2016
Aug 12, 2018
Nov 17, 2018
Nov 17, 2018
Aug 30, 2016
Sep 2, 2017
Sep 14, 2017
Aug 12, 2018
Jan 19, 2017
May 14, 2020
Sep 14, 2017
Sep 29, 2016
Sep 29, 2016

Repository files navigation

Jabber-Net NuGet Appveyor build Travis build

⚠ This project is deprecated, reasons are listed in #110. Please use other XMPP libraries for .NET:

Jabber-Net is a set of .NET classes for sending and receiving Extensible Messaging and Presence Protocol (XMPP), also known as the Jabber. Client connections, server component connections, presence, service discovery, and the like.

Dependencies

This project uses Paket dependency manager. Before opening the solution or building the project, you should install Paket (or Paket bootstrapper) into .paket directory and download the dependencies using the following commands:

$ ./.paket/paket.bootstrapper.exe
$ ./.paket/paket.exe restore

For convenience, there is a script scripts/Install.ps1 that will download Paket bootstrapper and call these commands automatically. PowerShell 6.0+ is recommended to execute this script.

Consult the script documentation to discover its parameters.

Build and test

Either use Visual Studio 2017 on Windows or paket + msbuild / xbuild in your terminal. On Windows:

> .\.paket\paket.exe restore
> msbuild jabber-net.sln /p:Configuration=Debug
> .\packages\NUnit.ConsoleRunner.3.4.1\tools\nunit3-console.exe .\test\bin5\Debug\test.dll

On Linux:

$ mono ./.paket/paket.exe restore
$ xbuild /p:Configuration=Debug jabber-net.sln
$ mono ./packages/NUnit.ConsoleRunner.3.4.1/tools/nunit3-console.exe ./test/bin5/Debug/test.dll

Documentation

The documentation is placed in the docs directory. To build HTML documentation, invoke the following commands (PowerShell syntax):

$env:JABBER_NET_ROOT = 'https://fornever.github.io/Jabber-Net'
$fsi = 'C:\Program Files (x86)\Microsoft SDKs\F#\4.1\Framework\v4.0\Fsi.exe'
Remove-Item -Recurse .\docs\output
& $fsi docs\generate.fsx
docs\output\index.html

There's a convenience script scripts/Build-Docs.ps1 for that.

You may then publish the docs/output directory through a Web server, or just read the documentation from your local drive.

Packaging

To build NuGet package for Jabber-Net, use the script scripts/Package.ps1. If you want to push this package to the Nuget feed, use scripts/Push-Package.ps1.

Consult the scripts documentation to get the information about their parameters.

Licensing

The project source code is generally licensed under the terms of LGPLv3. Please consult Licensing.md for details on licensing of internal components.