ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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

--- Comment #6 from John Elion <> 2011-02-17 08:57:46 EST ---
Created an attachment (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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message