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
|