You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2006/05/30 13:57:37 UTC
DO NOT REPLY [Bug 39683] - toString() method on dirset returns the list of files instead of list of dirs
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39683>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39683
------- Additional Comments From lkishalmi_dev@freemail.hu 2006-05-30 11:57 -------
Overriding the toString() method in DirSet might help:
public String toString() {
DirectoryScanner ds = getDirectoryScanner(getProject());
String[] files = ds.getIncludedDirectories();
StringBuffer sb = new StringBuffer();
for (int i = 0; i < files.length; i++) {
if (i > 0) {
sb.append(';');
}
sb.append(files[i]);
}
return sb.toString();
}
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org