incubator-nmaven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r697829 - in /incubator/nmaven/trunk/site/versioned: ./ src/site/ src/site/apt/ src/site/apt/installation-guide/ src/site/apt/user-guide/
Date Mon, 22 Sep 2008 13:53:20 GMT
Author: brett
Date: Mon Sep 22 06:53:20 2008
New Revision: 697829

URL: http://svn.apache.org/viewvc?rev=697829&view=rev
Log:
split the getting started guide into parts to start expanding on

Added:
    incubator/nmaven/trunk/site/versioned/src/site/apt/installation-guide/
    incubator/nmaven/trunk/site/versioned/src/site/apt/installation-guide/building.apt
    incubator/nmaven/trunk/site/versioned/src/site/apt/installation-guide/release.apt
    incubator/nmaven/trunk/site/versioned/src/site/apt/installation-guide/toolchains.apt
    incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/
    incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/archetypes.apt
    incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/assemblies.apt
    incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/building-nmaven-projects.apt
    incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/creating-projects.apt
    incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/dependencies.apt
    incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/directory-layout.apt
    incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/index.apt
    incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/quick-start.apt
    incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/testing.apt
Removed:
    incubator/nmaven/trunk/site/versioned/src/site/apt/getting-started.apt
Modified:
    incubator/nmaven/trunk/site/versioned/   (props changed)
    incubator/nmaven/trunk/site/versioned/src/site/apt/index.apt
    incubator/nmaven/trunk/site/versioned/src/site/site.xml

Propchange: incubator/nmaven/trunk/site/versioned/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Mon Sep 22 06:53:20 2008
@@ -1 +1,4 @@
 target
+.project
+.classpath
+.settings

Modified: incubator/nmaven/trunk/site/versioned/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/versioned/src/site/apt/index.apt?rev=697829&r1=697828&r2=697829&view=diff
==============================================================================
--- incubator/nmaven/trunk/site/versioned/src/site/apt/index.apt (original)
+++ incubator/nmaven/trunk/site/versioned/src/site/apt/index.apt Mon Sep 22 06:53:20 2008
@@ -1,13 +1,57 @@
-About NMaven
-
- NMaven provides Maven 2.x plugins to support building of .NET applications.
-
- []
+ ----
+ About NMaven
+ ----
+
+NMaven
+
+  NMaven provides Maven plugins to support building of .NET applications.
+
+  See the {{{features.html} feature list}} for the current version for more information.
+
+Installing NMaven
+
+  NMaven requires Maven 2.0.9+ and JDK 5.0+ installed.
+
+  To use NMaven, you will need access to a repository containing the plugins. You can use
either the latest release from
+  a repository, or build the current version from source:
+  
+~~    * {{{installation-guide/release.html} Installing an NMaven release repository}}
+    
+    * {{{installation-guide/building.html} Building NMaven}}
+
+  By default, NMaven expects the .NET framework and Visual Studio executables on the path.
To use a particular
+  toolchain or Mono, you will need to configure a toolchain:
+
+    * {{{installation-guide/toolchains.html} Configuring a .NET toolchain}}
+
+Using NMaven
+
+  For more information on using NMaven, refer to the following information:
+  
+~~    * {{{user-guide/quick-start.html} New project quick start guide}}
+    
+~~    * {{{user-guide/building-nmaven-projects.html} Building NMaven projects}} 
+
+    * {{{user-guide/index.html} User's guide}}
+
+~~TODO: deploy these and link appropriately
+~~Plugin Reference
+~~
+~~  The following .NET plugins are available:
+~~
+~~    * {{{maven-dotnet-compiler-plugin} Compiler Plugin}}
+~~  
+~~    * {{{maven-dotnet-test-plugin} Test Plugin}}     
+~~
+~~    * {{{maven-dotnet-wix-plugin} WiX Plugin}}
+~~
+~~  The standard Maven plugins can otherwise be used - see the
+~~  {{{http://maven.apache.org/plugins/} Maven Plugin Reference}}.
 
 Reporting Bugs/Requesting Features
 
  * {{{http://jira.codehaus.org/browse/NMAVEN} NMaven Issue Tracking}}
 
- * {{{mailto:nmaven-dev@incubator.apache.org} Post to Mailing List}}
+ * {{{mail-lists.html} Post to Mailing List}}
 
 

Added: incubator/nmaven/trunk/site/versioned/src/site/apt/installation-guide/building.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/versioned/src/site/apt/installation-guide/building.apt?rev=697829&view=auto
==============================================================================
--- incubator/nmaven/trunk/site/versioned/src/site/apt/installation-guide/building.apt (added)
+++ incubator/nmaven/trunk/site/versioned/src/site/apt/installation-guide/building.apt Mon
Sep 22 06:53:20 2008
@@ -0,0 +1,60 @@
+ ----
+ Building NMaven
+ ----
+ 
+Building NMaven
+
+  To build NMaven:
+
+    [[1]] Check out the source code from Subversion:
+
++----+
+svn co https://svn.apache.org/repos/asf/incubator/nmaven/trunk nmaven
++----+
+
+    [[2]] Run the standard Maven installation command:
+
++----+
+mvn install
++----+
+
+  To run with integration tests:
+
++----+
+mvn install -P run-its
++----+
+
+Linux Specific Setup
+
+  Building on Linux may take some extra steps. By default, on many Linux environments, the
GNU Compiler for Java is 
+  already installed. The current GNU version may not work with NMaven, which requires JDK
1.5. To check which version
+  the system uses, type <<<java -version>>> on the command line. If you
see something similar to the following, you will
+  need to take additional steps to get the build setup:
+
+----
+java version "1.4.2"
+gij (GNU libgcj) version 4.1.1 20060525 (Red Hat 4.1.1-1)
+----
+
+  Create a file <<</etc/profile.d/java.sh>>> with the following entries:
+
+----
+export JAVA_HOME=/usr/java/jdk1.5.0_09
+export PATH=$JAVA_HOME/bin:$PATH
+----
+
+  Type <<<mvn -version>>> from the command line. You should see the following:
+
+----
+java version "1.5.0_09"
+Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b01)
+Java HotSpot(TM) Client VM (build 1.5.0_09-b01, mixed mode, sharing)
+----
+
+  You can try to build with the default version of Mono installed. If it doesn't work, type
<<<mono -V>>> on the
+  command line to see what version you are running. If it is below 1.2.3.1, then download
the latest mono version,
+  unzip and run rpm from the commandline. Detailed instructions are located here:
+  {{{http://www.mono-project.com/Getting_Mono}Installing Mono}}. Make sure to su to root
before installing with these
+  instructions!
+
+  
\ No newline at end of file

Added: incubator/nmaven/trunk/site/versioned/src/site/apt/installation-guide/release.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/versioned/src/site/apt/installation-guide/release.apt?rev=697829&view=auto
==============================================================================
--- incubator/nmaven/trunk/site/versioned/src/site/apt/installation-guide/release.apt (added)
+++ incubator/nmaven/trunk/site/versioned/src/site/apt/installation-guide/release.apt Mon
Sep 22 06:53:20 2008
@@ -0,0 +1,5 @@
+ ----
+ Building NMaven
+ ----
+ 
+  
\ No newline at end of file

Added: incubator/nmaven/trunk/site/versioned/src/site/apt/installation-guide/toolchains.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/versioned/src/site/apt/installation-guide/toolchains.apt?rev=697829&view=auto
==============================================================================
--- incubator/nmaven/trunk/site/versioned/src/site/apt/installation-guide/toolchains.apt (added)
+++ incubator/nmaven/trunk/site/versioned/src/site/apt/installation-guide/toolchains.apt Mon
Sep 22 06:53:20 2008
@@ -0,0 +1,135 @@
+ ----
+ Configuring Toolchains
+ ----
+ 
+Configuring Toolchains
+ 
+  By default NMaven uses the .NET executables on the path (for example, by starting a "SDK
Command Prompt" session from
+  the Windows Start Menu). To configure a particular toolchain to use, or to avoid the path
configuration requirement
+  you need to configure a Maven toolchain.
+  
+  Toolchains are a new feature in Maven 2.0.9 and above. For more information about the feature
in general, see
+  {{{http://maven.apache.org/guides/mini/guide-using-toolchains.html} Using Toolchains}}.
+  
+  There are two steps to this: adding the toolchain plugin to your project (or a common parent),
and creating a
+  <<<~/.m2/toolchains.xml>>> file (alongside your <<<settings.xml>>>
file). 
+  The following examples show the configuration for the currently available toolchains.
+  
+* Microsoft Toolchain
+
+  For Microsoft builds you will need both 
+  {{{http://msdn2.microsoft.com/en-us/downloads/default.aspx} Microsoft .NET Framework}}
(1.1+)
+  *and* {{{http://msdn2.microsoft.com/en-us/downloads/default.aspx} NET Framework SDK}}.
+         
+  To use the Microsoft SDK, configure the Toolchains plugin like the following:
+  
+----
+ <build>
+   <plugins>
+     <plugin>
+       <groupId>org.apache.maven.plugins</groupId>
+       <artifactId>maven-toolchains-plugin</artifactId>
+       <version>1.0-SNAPSHOT</version>
+       <executions>
+         <execution>
+           <phase>validate</phase>
+           <goals>
+             <goal>toolchain</goal>
+           </goals>
+         </execution>
+       </executions>
+       <configuration>
+         <toolchains>
+           <dotnet>
+             <vendor>MICROSOFT</vendor>
+           </dotnet>
+         </toolchains>
+       </configuration>
+     </plugin>
+   </plugins>
+ </build>  
+----
+
+  This will select the <<<MICROSOFT>>> vendor from the toolchains file.
This requires adding configuration such as the
+  following to your <<<~/.m2/toolchains.xml>>> file:
+  
+----
+<?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>
+----
+  
+* Mono Toolchain
+
+  For Mono builds, you will need {{{http://www.mono-project.com} Mono}} (tested with 1.2.3.1+).
+
+  To use the Mono SDK, configure the Toolchains plugin like the following:
+  
+----
+ <build>
+   <plugins>
+     <plugin>
+       <groupId>org.apache.maven.plugins</groupId>
+       <artifactId>maven-toolchains-plugin</artifactId>
+       <version>1.0-SNAPSHOT</version>
+       <executions>
+         <execution>
+           <phase>validate</phase>
+           <goals>
+             <goal>toolchain</goal>
+           </goals>
+         </execution>
+       </executions>
+       <configuration>
+         <toolchains>
+           <dotnet>
+             <vendor>MONO</vendor>
+           </dotnet>
+         </toolchains>
+       </configuration>
+     </plugin>
+   </plugins>
+ </build>  
+----
+
+  This will select the <<<MONO>>> vendor from the toolchains file. This
requires adding configuration such as the
+  following to your <<<~/.m2/toolchains.xml>>> file:
+  
+----
+<?xml version="1.0" encoding="UTF8"?>
+
+<toolchains>
+  <toolchain>
+    <type>dotnet</type>
+    <provides>
+      <frameworkVersion>2.0</frameworkVersion>
+      <vendorVersion>1.9.1</vendorVersion>
+      <vendor>MONO</vendor>
+      <id>Mono 1.9.1</id>
+    </provides>
+    <configuration>
+      <csharpCompiler>C:\Program Files\Mono-1.9.1\lib\mono\1.0\mcs.exe</csharpCompiler>
+      <nunitConsole>C:\Program Files\NUnit 2.4.8\bin\nunit-console.exe</nunitConsole>
+      <installRoot>C:\Program Files\Mono-1.9.1</installRoot>
+      <sdkInstallRoot>C:\Program Files\Mono-1.9.1\lib\mono\2.0</sdkInstallRoot>
+    </configuration>
+  </toolchain>
+</toolchains>
+----
+ 
\ No newline at end of file

Added: incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/archetypes.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/archetypes.apt?rev=697829&view=auto
==============================================================================
--- incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/archetypes.apt (added)
+++ incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/archetypes.apt Mon Sep 22
06:53:20 2008
@@ -0,0 +1,29 @@
+ ----
+ Archetypes
+ ----
+
+Archetypes
+
+  Currently there are Archetypes for basic C# projects. To create a library project:
+
+----
+mvn archetype:create -DarchetypeGroupId=org.apache.maven.dotnet.csharp   \
+                     -DarchetypeArtifactId=maven-archetype-class-library \
+                     -DarchetypeVersion=0.16-incubating-SNAPSHOT         \
+                     -DgroupId=<<groupId>>                               \
+                     -DartifactId=<<artifactId>>
+----
+
+~~TODO: link to actual archetypes reference  
+
+  The <<<archetypeArtifactId>>> can be specified as any of the following:
+
+    [[1]] <<<maven-archetype-class-library>>>
+
+    [[2]] <<<maven-archetype-console-application>>>
+
+    [[3]] <<<maven-archetype-windows-application>>>
+
+    [[4]] <<<maven-archetype-windows-control>>>
+
+    
\ No newline at end of file

Added: incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/assemblies.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/assemblies.apt?rev=697829&view=auto
==============================================================================
--- incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/assemblies.apt (added)
+++ incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/assemblies.apt Mon Sep 22
06:53:20 2008
@@ -0,0 +1,52 @@
+ ----
+ Assemblies
+ ----
+ 
+Assemblies
+
+* Signing Assemblies
+
+  To sign your assemblies you first need to create a key using the standard tools:
+
+----
+sn -k sgKey.snk
+----
+
+  NMaven supports compile-time signing of assemblies. You can sign assemblies by using the
keyfile field in the
+  <<<maven-dotnet-compiler-plugin>>>. For example:
+
+----
+<plugin>
+  <groupId>org.apache.maven.dotnet.plugins</groupId>
+  <artifactId>maven-dotnet-compiler-plugin</artifactId>
+  <configuration>
+    <keyfile>sgKey.snk/keyfile>
+  </configuration>
+</plugin>
+----
+
+  <Note:> Key signing is currently only supported for .NET framework 2.0.
+
+* Assembly Info
+
+  Provided that you do not have your own <<<AssemblyInfo>>> class in your
project, NMaven will automatically generate
+  one for you. It does the following mapping:
+
+*-------------------------+--------------------------------------------+
+| AssemblyDescription     | $\{project.description\} |
+*-------------------------+--------------------------------------------+
+| AssemblyVersion         | $\{project.version\} |
+*-------------------------+--------------------------------------------+
+| AssemblyTitle           | $\{project.name\} |
+*-------------------------+--------------------------------------------+
+| AssemblyCompany         | $\{project.organization.name\} |
+*-------------------------+--------------------------------------------+
+| AssemblyProduct         | $\{project.organization.name\}-$\{project.name\} |
+*-------------------------+--------------------------------------------+
+| AssemblyCopyright       | place a COPYRIGHT.txt file in your module directory and NMaven
will pick it up and put it in the assembly |
+*-------------------------+--------------------------------------------+
+
+  Since the POM version is mapped to the assembly manifest, you <<MUST>> follow
the <<<0.0.0.0>>> version convention
+  or the build will fail. You may, however, optionally add additional tags after the <<<0.0.0.0>>>
version, such as 
+  <<<-SNAPSHOT>>>, <<<alpha>>>, etc. Valid versions would
include <<<1.3.4>>> or <<<1.2-SNAPSHOT>>> or <<<1.2-RC1>>>.
+

Added: incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/building-nmaven-projects.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/building-nmaven-projects.apt?rev=697829&view=auto
==============================================================================
--- incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/building-nmaven-projects.apt
(added)
+++ incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/building-nmaven-projects.apt
Mon Sep 22 06:53:20 2008
@@ -0,0 +1,6 @@
+ ----
+ Building NMaven Projects
+ ----
+ 
+Building NMaven Projects
+

Added: incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/creating-projects.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/creating-projects.apt?rev=697829&view=auto
==============================================================================
--- incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/creating-projects.apt (added)
+++ incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/creating-projects.apt Mon
Sep 22 06:53:20 2008
@@ -0,0 +1,64 @@
+ ----
+ Creating Projects
+ ----
+ 
+Compiling Projects
+
+  NMaven supports compiling of exe, winexe, library, and netmodule projects.
+
+*-------------------------+--------------------------------------------+
+| <<Target Type>> | <<Packaging>> |
+*-------------------------+--------------------------------------------+
+| exe | dotnet:exe |
+*-------------------------+--------------------------------------------+
+| winexe | dotnet:winexe |
+*-------------------------+--------------------------------------------+
+| library | dotnet:library |
+*-------------------------+--------------------------------------------+
+| netmodule | dotnet:module |
+*-------------------------+--------------------------------------------+
+
+ For example, the POM for compiling a library would look like:
+
+----
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>NMaven.Its</groupId>
+  <artifactId>NMaven.It.It0000</artifactId>
+  <packaging>dotnet:library</packaging>
+  <version>1.0.0</version>
+  <name>NMaven.It.It0000</name>
+  <build>
+    <sourceDirectory>.</sourceDirectory>
+    <testSourceDirectory>Test</testSourceDirectory>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.dotnet.plugins</groupId>
+        <artifactId>maven-dotnet-compiler-plugin</artifactId>
+        <extensions>true</extensions>
+      </plugin>
+    </plugins>
+  </build>
+</project>
+----
+
+  Note the <<<extensions>>> flag - this is required to make available the
<<<dotnet:*>>> packaging types.
+
+* Compiling with Mono
+
+  If you are using Mono on Windows, then set the vendor tag. If you are compiling on a non-Windows
platform, then you
+  do not need to set the tag.
+
+----
+<plugin>
+  <groupId>org.apache.maven.dotnet.plugins</groupId>
+  <artifactId>maven-dotnet-compiler-plugin</artifactId>
+  <extensions>true</extensions>
+  <configuration>
+    <vendor>NOVELL</vendor>
+  </configuration>
+</plugin>
+----
+

Added: incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/dependencies.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/dependencies.apt?rev=697829&view=auto
==============================================================================
--- incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/dependencies.apt (added)
+++ incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/dependencies.apt Mon Sep
22 06:53:20 2008
@@ -0,0 +1,39 @@
+ ----
+ Dependencies
+ ----
+ 
+Project Dependencies
+
+  A typical dependency would look like the following:
+
+----
+<dependency>
+  <groupId>NMaven.Its</groupId>
+  <artifactId>NMaven.It.It0004</artifactId>
+  <version>1.0.0</version>
+  <type>dotnet:library</type>
+</dependency>
+----
+
+  <<<dotnet:winexe>>> and <<<dotnet:exe>>> can also be
used as dependency types. 
+  <<<dotnet:module>>> can also be used but will not be transitive.
+
+* Dependencies in the Global Assembly Cache (GAC)
+
+  To use a GAC dependency, you will need to set a <<<GAC_ROOT>>> environment
variable to point to either the Microsoft 
+  or Mono GAC root location. Then use the system scope as shown below. You can also use types:
<<<dotnet:gac_32>>> and 
+  <<<dotnet:gac>>>.
+
+----
+<dependency>
+  <groupId>System.Windows.Forms</groupId>
+  <artifactId>System.Windows.Forms</artifactId>
+  <version>2.0.0.0</version>
+  <type>dotnet:gac_msil</type>
+  <scope>system</scope>
+  <classifier>b77a5c561934e089</classifier>
+  <systemPath>${env.GAC_ROOT}\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll</systemPath>
+</dependency>
+----
+
+ 
\ No newline at end of file

Added: incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/directory-layout.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/directory-layout.apt?rev=697829&view=auto
==============================================================================
--- incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/directory-layout.apt (added)
+++ incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/directory-layout.apt Mon
Sep 22 06:53:20 2008
@@ -0,0 +1,6 @@
+ ----
+ Directory Layout
+ ----
+ 
+Directory Layout
+

Added: incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/index.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/index.apt?rev=697829&view=auto
==============================================================================
--- incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/index.apt (added)
+++ incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/index.apt Mon Sep 22 06:53:20
2008
@@ -0,0 +1,22 @@
+ ----
+ User's Guide
+ ----
+ 
+User's Guide
+
+~~  * {{{quick-start.html} New Project Quick Start}}
+
+~~  * {{{building-nmaven-projects.html} Building an NMaven Project}}
+
+  * {{{creating-projects.html} Creating Projects}}
+
+  * {{{archetypes.html} Project Archetypes}}
+
+~~  * {{{directory-layout.html} Supported Directory Layouts}}
+
+  * {{{dependencies.html} Dependencies}}
+      
+  * {{{testing.html} Testing with NUnit}}
+
+  * {{{assemblies.html} Assemblies}}
+

Added: incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/quick-start.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/quick-start.apt?rev=697829&view=auto
==============================================================================
--- incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/quick-start.apt (added)
+++ incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/quick-start.apt Mon Sep
22 06:53:20 2008
@@ -0,0 +1,7 @@
+ ----
+ NMaven Quick Start
+ ----
+ 
+New Project Quick Start
+
+  
\ No newline at end of file

Added: incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/testing.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/testing.apt?rev=697829&view=auto
==============================================================================
--- incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/testing.apt (added)
+++ incubator/nmaven/trunk/site/versioned/src/site/apt/user-guide/testing.apt Mon Sep 22 06:53:20
2008
@@ -0,0 +1,32 @@
+ ----
+ Testing with NUnit
+ ----
+ 
+Testing with NUnit
+
+  To add test sources to a project, you must first specify the directory where your test
sources are located:
+
+----
+<build>
+  <sourceDirectory>.</sourceDirectory>
+  <testSourceDirectory>Test</testSourceDirectory>
+  ...
+</build>
+----
+
+  For more information on the directory layout, see {{{user-guide/directory-layout.html}
Supported Directory Layouts}}.
+
+  Next, add the NUnit version you would like you would like to use to your POM: 
+
+----
+<dependency>
+  <groupId>org.apache.maven.dotnet</groupId>
+  <artifactId>NUnit.Framework</artifactId>
+  <version>2.4.6-incubating-SNAPSHOT</version>
+  <type>dotnet:library</type>
+  <scope>test</scope>
+</dependency>
+----
+
+  <Note:> NUnit is currently only supported building with Microsoft, not Mono. 
+    
\ No newline at end of file

Modified: incubator/nmaven/trunk/site/versioned/src/site/site.xml
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/versioned/src/site/site.xml?rev=697829&r1=697828&r2=697829&view=diff
==============================================================================
--- incubator/nmaven/trunk/site/versioned/src/site/site.xml (original)
+++ incubator/nmaven/trunk/site/versioned/src/site/site.xml Mon Sep 22 06:53:20 2008
@@ -5,9 +5,25 @@
 
   <body>
     <menu name="General Info">
-      <item name="About" href="index.html"/>
+      <item name="About NMaven" href="index.html"/>
       <item name="Features" href="features.html"/>
-      <item name="Getting Started" href="getting-started.html"/>      
+    </menu>
+    
+    <menu name="Installation">    
+      <!-- item name="Configuring a Repository" href="installation-guide/release.html"
/ -->
+      <item name="Building from Sources" href="installation-guide/building.html" />
+      <item name="Configuring Toolchains" href="installation-guide/toolchains.html" />
+    </menu>
+    
+    <menu name="User's Guide">
+      <!-- item name="New Project Quick Start" href="user-guide/quick-start.html" />
+      <item name="Building an NMaven Project" href="user-guide/building-nmaven-projects.html"
/ -->
+      <item name="Creating Projects" href="user-guide/creating-projects.html" />
+      <item name="Project Archetypes" href="user-guide/archetypes.html" />
+      <!-- item name="Supported Directory Layouts" href="user-guide/directory-layout.html"
/ -->
+      <item name="Dependencies"  href="user-guide/dependencies.html" />      
+      <item name="Testing with NUnit" href="user-guide/testing.html" />
+      <item name="Assemblies" href="user-guide/assemblies.html" />
     </menu>
   </body>
 </project>



Mime
View raw message