Building NMSCurrently our main build tool for NMS is NAnt
Building NMS with NantTo build the code with Nant type the following cd activemq-dotnet nant
If you want to run a build with the unit tests (assuming you have a broker running) then type nant test
Building NMS using Maven 2Its a little in a stake of flux as we write but ultimately we'd prefer to use Maven to build NMS as then we've a single tool for creating distros & doing builds etc. You can use the Maven C# plugin First you need to tell maven the location of the .NET enviorment and where to get the Maven C# Plugins. To do that you need to edit your ~/.m2/settings.xml so that it looks like the following. This file works on OS X - for other platforms use the correct value of dotnet.home for where Mono/.Net is on your machine. <settings>
<profiles>
<profile>
<id>default</id>
<properties>
<dotnet.home>/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/1.0</dotnet.home>
</properties>
<repositories>
<repository>
<id>maven-csharp</id>
<name>maven-csharp</name>
<url>http://maven-csharp.javaforge.com/repo</url>
</repository>
<repository>
<id>codehaus-snapshot</id>
<name>CodeHaus Snapshot Repo</name>
<url>http://snapshots.maven.codehaus.org/maven2</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>maven-csharp-plugins</id>
<name>maven-csharp</name>
<url>http://maven-csharp.javaforge.com/repo</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>default</activeProfile>
</activeProfiles>
<pluginGroups>
<pluginGroup>com.javaforge.maven-csharp</pluginGroup>
</pluginGroups>
</settings>
Once that's done you only need to: cd activemq-dotnet mvn install IDE TipsIf you are on windows then you probably want to use Visual Studio; we highly recommend using ReSharper Using X-develop
|