ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r372448 - in /ant/antlibs/dotnet/trunk: CONTRIBUTORS src/main/org/apache/ant/dotnet/MSBuildTask.java
Date Thu, 26 Jan 2006 05:21:37 GMT
Author: bodewig
Date: Wed Jan 25 21:21:32 2006
New Revision: 372448

URL: http://svn.apache.org/viewcvs?rev=372448&view=rev
Log:
fix command line building of <msbuild>, PR 38392, contributed by Brian Watson

Added:
    ant/antlibs/dotnet/trunk/CONTRIBUTORS
Modified:
    ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/MSBuildTask.java

Added: ant/antlibs/dotnet/trunk/CONTRIBUTORS
URL: http://svn.apache.org/viewcvs/ant/antlibs/dotnet/trunk/CONTRIBUTORS?rev=372448&view=auto
==============================================================================
--- ant/antlibs/dotnet/trunk/CONTRIBUTORS (added)
+++ ant/antlibs/dotnet/trunk/CONTRIBUTORS Wed Jan 25 21:21:32 2006
@@ -0,0 +1 @@
+Brian Watson

Modified: ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/MSBuildTask.java
URL: http://svn.apache.org/viewcvs/ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/MSBuildTask.java?rev=372448&r1=372447&r2=372448&view=diff
==============================================================================
--- ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/MSBuildTask.java (original)
+++ ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/MSBuildTask.java Wed Jan 25 21:21:32
2006
@@ -1,5 +1,5 @@
 /*
- * Copyright 2003-2005 The Apache Software Foundation
+ * Copyright 2003-2006 The Apache Software Foundation
  *
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
@@ -64,6 +64,8 @@
                     (AbstractBuildTask.Target) iter.next();
                 if (!first) {
                     sb.append(";");
+                } else {
+                    first = false;
                 }
                 sb.append(t.getName());
             }
@@ -83,6 +85,8 @@
                     (AbstractBuildTask.Property) iter.next();
                 if (!first) {
                     sb.append(";");
+                } else {
+                    first = false;
                 }
                 sb.append(p.getName()).append("=").append(p.getValue());
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message