Hi,
I have a target that is trying to delete some directories, all but the last
few. It works as expected (I believe - it deletes files when expected) on my
dev box (windows), but is not deleting anything on the build server (Linux):
It builds up 2 resource collections - one for all directorie
Can you expand your example into a self-contained example that builds up an
appropriate structure first, then still fails on Linux?
Matt
On Tue, Feb 11, 2014 at 2:21 AM, Kimpton, C (Chris) <
chris.kimp...@rabobank.com> wrote:
> Hi,
>
> I have a target that is trying to delete some directories,
Good idea.
It initially worked ok, when the directories were empty, but when I added files
to each (touch steps below), that caused the script to not delete any files.
And now I see that it does not work on Windows either ... my tests used empty
directories.
Does this sound like a bug or am
Yeah, I have a feeling you are running into some problem having to do with
non-empty subdirectories. Usually some creative sorting, etc., can help.
The delete task should know how to handle this with filesets; I believe
its page in the manual mentions this very problem. Therefore you might try
us
Thanks Matt.
Not sure which bit you mean in the manual - the end of this line confuses me:
"Note that this attribute is meaningless in the context of any of the various
resource collection types that do include directories, but that no attempt will
be made to delete non-empty directories in an
Hello,
No idea why the inner classes are being tested.
as a workaround you could try (untested) :
>
>
>
>
>
>
Regards,
Antoine
On Feb 10, 2014, at 7:17 PM, Marc Benstein wrote:
> I am using ant 1.9.3 with junit 4.11 with batchtest skipNonTests="