You are viewing a plain text version of this content. The canonical link for it is here.
Posted to nmaven-commits@incubator.apache.org by br...@apache.org on 2008/09/15 05:54:37 UTC

svn commit: r695347 - /incubator/nmaven/trunk/site/versioned/src/site/apt/getting-started.apt

Author: brett
Date: Sun Sep 14 22:54:35 2008
New Revision: 695347

URL: http://svn.apache.org/viewvc?rev=695347&view=rev
Log:
add toolchain

Modified:
    incubator/nmaven/trunk/site/versioned/src/site/apt/getting-started.apt

Modified: incubator/nmaven/trunk/site/versioned/src/site/apt/getting-started.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/versioned/src/site/apt/getting-started.apt?rev=695347&r1=695346&r2=695347&view=diff
==============================================================================
--- incubator/nmaven/trunk/site/versioned/src/site/apt/getting-started.apt (original)
+++ incubator/nmaven/trunk/site/versioned/src/site/apt/getting-started.apt Sun Sep 14 22:54:35 2008
@@ -39,6 +39,33 @@
 
   [[1]] {{{http://nunit.org/index.php?p=download} NUnit 2.4.x+}} (Currently only supported building with Microsoft)
 
+** Toolchains
+
+ To use NMaven you will need to configure the Maven Toolchains support. The following example gives you some guidance on
+ how to configure the various executables. The file should be placed in <<<~/.m2/toolchains.xml>>>
+
+----
+<?xml version="1.0" encoding="UTF8"?>
+
+<toolchains>
+  <toolchain>
+    <type>dotnet</type>
+    <provides>
+      <frameworkVersion>2.0</frameworkVersion>
+      <vendorVersion>2.0.50727</vendorVersion>
+      <vendor>MICROSOFT</vendor>
+      <id>.NET Framework 2.0</id>
+    </provides>
+    <configuration>
+      <csharpCompiler>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe</csharpCompiler>
+      <nunitConsole>C:\Program Files\NUnit 2.4.8\bin\nunit-console.exe</nunitConsole>
+      <installRoot>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727</installRoot>
+      <sdkInstallRoot>C:\Program Files\Microsoft.NET\SDK\v2.0</sdkInstallRoot>
+    </configuration>
+  </toolchain>
+</toolchains>
+----
+
 ** Paths
 
  You will need to make sure that you have both the SDK and the .NET framework locations within your path.