Home Contact

Event Series Intelligence

Building NEsper

Presently, NEsper can be built MSBuild or any IDE that can process Visual Studio 2008 Solution Files. The NEsper engine can be built and unit tested via the below commands.

NEsper requires the Microsoft .NET Framework 3.5.

The examples are located in the src\NEsper directory of the distribution.

NEsper Release Steps

Prerequisite Installed Components

a) MSBuild 4.5+

b) MSBuild Tasks Community (http://msbuildtasks.tigris.org/)

c) .NET Framework minimum of 3.5

d) Sandcastle for documentation (http://www.codeplex.com/Sandcastle), latest version

e) Sandcastle Help File Builder for documentation (http://www.codeplex.com/SHFB), latest version

f) HTML Help Workshop

g) NUnit

h) Windows Installer XML (WiX) toolset (from SourceForge) for MSI building, optional, at http://wix.sourceforge.net/

i) For running unit tests that test integration with a relational database, either of the following database servers should be running:

MySQL Database or Microsoft SQL Server 2005. Instructions for setting up a MySQL or a SQLServer database:

Build Steps
1. Change Version
a. Change version in NEsper.build file to the desired version number

2. Check-in Code

3. Clean, Build

  a. msbuild /t:Distribution NEsper.proj

  b. msbuild /t:Package NEsper.proj (the result will be a file NEsper.x.y.z.nupkg in the root)

  c. nuget push NEsper.x.y.z.nupkg

4. Unit tests are run from the IDE or the console. To run from the console, type:

  a) nunit-console /labels /noshadow /fixture=com.espertech.esper \bin\Debug\NEsper.Tests.dll

nunit-console /labels /noshadow /fixture=com.espertech.esper \bin\Debug\NEsper.IO.Tests.dll

To run unit tests from MSBuild, type:
MSBuild /p:Configuration=Release /t:Tests NEsper.proj (update NEsperTest.proj to your NUnit path)