ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: svn commit: r438159 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ManifestClassPath.java
Date Tue, 29 Aug 2006 18:54:20 GMT
How about this, DD?

-Matt

--- mbenson@apache.org wrote:

> Author: mbenson
> Date: Tue Aug 29 11:51:27 2006
> New Revision: 438159
> 
> URL:
> http://svn.apache.org/viewvc?rev=438159&view=rev
> Log:
> compromise with DD
> 
> Modified:
>    
>
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ManifestClassPath.java
> 
> Modified:
>
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ManifestClassPath.java
> URL:
>
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ManifestClassPath.java?rev=438159&r1=438158&r2=438159&view=diff
>
==============================================================================
> ---
>
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ManifestClassPath.java
> (original)
> +++
>
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ManifestClassPath.java
> Tue Aug 29 11:51:27 2006
> @@ -86,9 +86,6 @@
>          StringBuffer buffer = new StringBuffer();
>          StringBuffer element = new StringBuffer();
>          for (int i = 0; i < elements.length; ++i) {
> -            if (i > 0) {
> -                buffer.append(' ');
> -            }
>              // Normalize the current file
>              File pathEntry = new File(elements[i]);
>              pathEntry =
> fileUtils.normalize(pathEntry.getAbsolutePath());
> @@ -136,10 +133,11 @@
>                  throw new BuildException(exc);
>              }
>              buffer.append(relPath);
> +            buffer.append(' ');
>          }
>  
>          // Finally assign the property with the
> manifest classpath
> -        getProject().setNewProperty(_name,
> buffer.toString());
> +        getProject().setNewProperty(_name,
> buffer.toString().trim());
>      }
>  
>      /**
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> dev-help@ant.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message