ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49492] The fileset resource collection doesn't handle file/directory names with spaces
Date Thu, 17 Feb 2011 13:57:51 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49492

--- Comment #6 from John Elion <john.elion@comcast.net> 2011-02-17 08:57:46 EST ---
Created an attachment (id=26673)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26673)
Proposed patch - adds "sep" attribute

Proposed fix attached.  Fix adds "sep" attribute to FileList, such that the
default is the original string.

I was able to build Ant from source, but got errors with JUnit (it wasn't clear
to me how to modify the source distribution so that the unit tests would run;
but Ant built "out of the box" and the FileList code was crystal clear, the mod
was easy to make).  Behavior without "sep" attribute was same, "sep" attribute
was accepted and solved my problem.

I did not see any way to write code to insure that "sep" is processed
regardless of whether it occurs before or after "files", but it seemed to get
it right both ways (maybe the API guarantees processing order based on order of
the methods within the class?)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message