svn commit: r698456 - in /incubator/nmaven/branches/NMAVEN-186/core-integration-tests: ./ src/test/java/org/apache/maven/dotnet/integrationtests/ src/test/resources/MavenITmng-0018-CSharpSynchronizeTa

2008-09-24 Thread brett
Author: brett
Date: Wed Sep 24 01:10:09 2008
New Revision: 698456

URL: http://svn.apache.org/viewvc?rev=698456&view=rev
Log:
[NMAVEN-186] ability to run the tests for 0.14 as well

Modified:
incubator/nmaven/branches/NMAVEN-186/core-integration-tests/notes.txt
incubator/nmaven/branches/NMAVEN-186/core-integration-tests/pom.xml

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/AbstractNMavenIntegrationTestCase.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmngCSharpCompileLibrary.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0001CSharpCompileExe.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0002CSharpCompileModule.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0003CSharpCompileWinexe.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0004CSharpCompileWithDependency.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0005CSharpCompileWithTransitiveDependency.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0007CSharpCompileTestLibrary.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0008CSharpCompileWithProvidedDependency.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0009CSharpCompileWithProvidedGacDependency.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0010DeployLibrary.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0011DeployExe.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0012DeployModule.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0013DeployWinexe.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0014ResolveLibraryDependency.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0015DeployLibraryAsSnapshot.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0016CSharpAssemblyInfoGeneration.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0017CSharpStrongNamedAssembly.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0018CSharpSynchronizeTargetWithSource.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0019BuildFailureOnNUnitFailure.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/MavenITmng0020ShareTestSource.java

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/resources/MavenITmng-0018-CSharpSynchronizeTargetWithSource/pom.xml

Modified: incubator/nmaven/branches/NMAVEN-186/core-integration-tests/notes.txt
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN-186/core-integration-tests/notes.txt?rev=698456&r1=698455&r2=698456&view=diff
==
--- incubator/nmaven/branches/NMAVEN-186/core-integration-tests/notes.txt 
(original)
+++ incubator/nmaven/branches/NMAVEN-186/core-integration-tests/notes.txt Wed 
Sep 24 01:10:09 2008
@@ -1,6 +1,5 @@
 Planned changes:
 
-- Ensure test suite runs for 0.14 by translating POMs according to the formula 
below
 - review toolchain support (NMAVEN-147)
 - Make it possible to run the entire test suite with a given toolchain 
(previous tests only did so for IT and it wasn't configurable)
 
@@ -15,25 +14,3 @@
 - Port 0.14 ITs if relevant: 18 (1.1), 19 (Compact)
 - Add ITs: .NET 3.0
 
-Translating 0.16 to 0.14 and vice-versa
-
-To 0.14
-for i in $(find . -type f -iname *.xml); do sed 
's/maven-dotnet-compiler-plugin/maven-compile-plugin/g' $i > $i-tmp;mv $i-tmp 
$i; done
-for i in $(find . -ty

svn commit: r698553 - /incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/AbstractNMavenIntegrationTestCase.java

2008-09-24 Thread brett
Author: brett
Date: Wed Sep 24 06:08:39 2008
New Revision: 698553

URL: http://svn.apache.org/viewvc?rev=698553&view=rev
Log:
[NMAVEN-186] remove inspection warning

Modified:

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/AbstractNMavenIntegrationTestCase.java

Modified: 
incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/AbstractNMavenIntegrationTestCase.java
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/AbstractNMavenIntegrationTestCase.java?rev=698553&r1=698552&r2=698553&view=diff
==
--- 
incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/AbstractNMavenIntegrationTestCase.java
 (original)
+++ 
incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/AbstractNMavenIntegrationTestCase.java
 Wed Sep 24 06:08:39 2008
@@ -233,7 +233,7 @@
 StringBuilder sb = new StringBuilder();
 sb.append( "target/" );
 sb.append( assemblyName );
-if ( !NMAVEN_0_14.containsVersion( this.version ) )
+if ( !NMAVEN_0_14.containsVersion( 
AbstractNMavenIntegrationTestCase.version ) )
 {
 sb.append( "-" );
 sb.append( version );




svn commit: r698567 - /incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/AbstractNMavenIntegrationTestCase.java

2008-09-24 Thread brett
Author: brett
Date: Wed Sep 24 06:42:43 2008
New Revision: 698567

URL: http://svn.apache.org/viewvc?rev=698567&view=rev
Log:
[NMAVEN-186] remove JDK 6 API

Modified:

incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/AbstractNMavenIntegrationTestCase.java

Modified: 
incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/AbstractNMavenIntegrationTestCase.java
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/AbstractNMavenIntegrationTestCase.java?rev=698567&r1=698566&r2=698567&view=diff
==
--- 
incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/AbstractNMavenIntegrationTestCase.java
 (original)
+++ 
incubator/nmaven/branches/NMAVEN-186/core-integration-tests/src/test/java/org/apache/maven/dotnet/integrationtests/AbstractNMavenIntegrationTestCase.java
 Wed Sep 24 06:42:43 2008
@@ -276,7 +276,7 @@
 }
 catch ( XmlPullParserException e )
 {
-throw new IOException( e.getMessage(), e );
+throw new IOException( e.getMessage() );
 }
 finally
 {




svn commit: r698811 - in /incubator/nmaven/trunk/site/versioned/src/site: apt/developer-guide/ apt/developer-guide/integration-tests.apt apt/index.apt site.xml

2008-09-24 Thread brett
Author: brett
Date: Wed Sep 24 21:13:10 2008
New Revision: 698811

URL: http://svn.apache.org/viewvc?rev=698811&view=rev
Log:
[NMAVEN-186] add a section about running the integration tests

Added:
incubator/nmaven/trunk/site/versioned/src/site/apt/developer-guide/

incubator/nmaven/trunk/site/versioned/src/site/apt/developer-guide/integration-tests.apt
Modified:
incubator/nmaven/trunk/site/versioned/src/site/apt/index.apt
incubator/nmaven/trunk/site/versioned/src/site/site.xml

Added: 
incubator/nmaven/trunk/site/versioned/src/site/apt/developer-guide/integration-tests.apt
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/versioned/src/site/apt/developer-guide/integration-tests.apt?rev=698811&view=auto
==
--- 
incubator/nmaven/trunk/site/versioned/src/site/apt/developer-guide/integration-tests.apt
 (added)
+++ 
incubator/nmaven/trunk/site/versioned/src/site/apt/developer-guide/integration-tests.apt
 Wed Sep 24 21:13:10 2008
@@ -0,0 +1,46 @@
+ 
+ Writing and Running Integration Tests
+ 
+
+Writing and Running Integration Tests
+
+  The integration test suite is one of the best ways to ensure ongoing 
compatibility of NMaven with various types of
+  projects.
+
+* Running Integration Tests During the Build
+
+  The default way to run the integration tests for the current version is 
during the overall build, like this when
+  run from the top level of the checkout:
+
+
+mvn clean install -Prun-its
+
+
+  If there are any failures, you will find them in 
<<>>.
+  The individual projects will be in <<<%TEMP%/it-path-name>>>. Within that 
directory you will find <<>> that
+  contains the actual build output.
+
+* Running Integration Tests Standalone
+
+  During development, you may wish to run the suite for a different version to 
the current one. To do this, switch to
+  the <<>> directory and run the following command:
+
+
+mvn test -Dtest=IntegrationTestSuite -Dnmaven.version=0.15
+
+
+  If the <<>> is omitted, the latest release version will be 
used.
+
+  When running the tests standalone, the individual projects will be found in 
<<>>
+  where <<>> will be replaced by the test's resource directory.
+
+  If you'd prefer to run just one or more tests, you can use the test argument 
as above to select the tests to run.
+  For example:
+
+
+mvn test -Dtest=MavenITmngCSharpCompileLibrary
+
+
+~~TODO: running from an IDE
+~~TODO: writing an integration test
+

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=698811&r1=698810&r2=698811&view=diff
==
--- incubator/nmaven/trunk/site/versioned/src/site/apt/index.apt (original)
+++ incubator/nmaven/trunk/site/versioned/src/site/apt/index.apt Wed Sep 24 
21:13:10 2008
@@ -54,4 +54,17 @@
 
  * {{{mail-lists.html} Post to Mailing List}}
 
+Developing NMaven
+
+  For more information on getting involved in the development of NMaven, refer 
to the following information:
+
+* {{{developer-guide/integration-tests.html} Writing Integration Tests}}
+
+~~* {{{developer-guide/tasks.html} Work to be Done}}
+
+~~* {{{developer-guide/contributing.html} How to Contribute}}
+
+~~* {{{developer-guide/index.html} Developer's Guide}}
+
+
 

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=698811&r1=698810&r2=698811&view=diff
==
--- incubator/nmaven/trunk/site/versioned/src/site/site.xml (original)
+++ incubator/nmaven/trunk/site/versioned/src/site/site.xml Wed Sep 24 21:13:10 
2008
@@ -25,5 +25,9 @@
   
   
 
+
+
+  
+