You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2009/03/11 17:58:41 UTC

svn commit: r752525 - in /ant/antlibs/dotnet/trunk: changes.xml contributors.xml src/main/org/apache/ant/dotnet/NUnitTask.java

Author: bodewig
Date: Wed Mar 11 16:58:41 2009
New Revision: 752525

URL: http://svn.apache.org/viewvc?rev=752525&view=rev
Log:
exclude/include in <nunit> are broken because of malformed arguments - submitted by Niklas Deutschmann

Modified:
    ant/antlibs/dotnet/trunk/changes.xml
    ant/antlibs/dotnet/trunk/contributors.xml
    ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/NUnitTask.java

Modified: ant/antlibs/dotnet/trunk/changes.xml
URL: http://svn.apache.org/viewvc/ant/antlibs/dotnet/trunk/changes.xml?rev=752525&r1=752524&r2=752525&view=diff
==============================================================================
--- ant/antlibs/dotnet/trunk/changes.xml (original)
+++ ant/antlibs/dotnet/trunk/changes.xml Wed Mar 11 16:58:41 2009
@@ -38,6 +38,10 @@
     </properties>
 
     <release version="SVN trunk" date="unpublished">
+      <action type="fix">
+        The include and exclude arguments to NUnit were broken (they
+        had a leading ",").
+      </action>
       <action type="fix" issue="34992">
         The /noconfig argument must be used outside of a response file.
       </action>

Modified: ant/antlibs/dotnet/trunk/contributors.xml
URL: http://svn.apache.org/viewvc/ant/antlibs/dotnet/trunk/contributors.xml?rev=752525&r1=752524&r2=752525&view=diff
==============================================================================
--- ant/antlibs/dotnet/trunk/contributors.xml (original)
+++ ant/antlibs/dotnet/trunk/contributors.xml Wed Mar 11 16:58:41 2009
@@ -55,6 +55,10 @@
     <last>Brosius</last>
   </name>
   <name>
+    <first>Niklas</first>
+    <last>Deutschmann</last>
+  </name>
+  <name>
     <first>Martijn</first>
     <last>Kruithof</last>
   </name>

Modified: ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/NUnitTask.java
URL: http://svn.apache.org/viewvc/ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/NUnitTask.java?rev=752525&r1=752524&r2=752525&view=diff
==============================================================================
--- ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/NUnitTask.java (original)
+++ ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/NUnitTask.java Wed Mar 11 16:58:41 2009
@@ -308,7 +308,7 @@
         if (includes.size() > 0) {
             StringBuffer sb = new StringBuffer("/include=");
             iter = includes.iterator();
-            boolean first = false;
+            boolean first = true;
             while (iter.hasNext()) {
                 if (first) {
                     first = false;
@@ -323,7 +323,7 @@
         if (excludes.size() > 0) {
             StringBuffer sb = new StringBuffer("/exclude=");
             iter = excludes.iterator();
-            boolean first = false;
+            boolean first = true;
             while (iter.hasNext()) {
                 if (first) {
                     first = false;