Re: Neither dirset nor fileset with type selector seem to select directories

2006-05-11 Thread Holger Rauch
Hi, first of all, thanks to both Scot and Matt for responding so quickly to my message. I tried to incorporate your suggestions into my buildfile and, to be honest, the results are still somewhat interesting: a) The combination of and a selector doesn't seem to work at all, i.e. the property

Re: Neither dirset nor fileset with type selector seem to select directories

2006-05-10 Thread Matt Benson
Holger: the notation you are using is not -really- recommended. IIRC is is noted as experimental in the code; while it is not going anywhere, in this case you can see it yields less-than-optimal results. It calls toString() on the referenced object. DirSet inherits its toString() implementatio

Re: Neither dirset nor fileset with type selector seem to select directories

2006-05-10 Thread Scot P. Floess
Try this: Not sure what's going on when you simply use dirset with an id... Your example threw me for a second :) Scot P. Floess wrote: Holger: Very odd indeed...I am looking at this and get back to you...but sure enough...dirset yie

Re: Neither dirset nor fileset with type selector seem to select directories

2006-05-10 Thread Scot P. Floess
Holger: Very odd indeed...I am looking at this and get back to you...but sure enough...dirset yields the file instead of the directories... Holger Rauch wrote: Hi! I've created the following simple directory structure for testing purposes. I would like to see only dirs below test ("blah" and

Neither dirset nor fileset with type selector seem to select directories

2006-05-10 Thread Holger Rauch
Hi! I've created the following simple directory structure for testing purposes. I would like to see only dirs below test ("blah" and "blubber") in my dirset/fileset. The Ant version I'm using is 1.6.5 in conjunction with JDK 1.5.0_06 on Linux: test(dir) |--> blah (dir) |--> blubber (