-Original Message-
From: Matt Benson
Sent: Saturday, March 21, 2009 2:15 PM
To: Ant Users List
Subject: Re: Detecting directory versus symlink
It is intended that should silently ignore real
files. I would recommend testing this in existing releases before you rely on
it, but if
te:
> From: Michael Delaney
> Subject: Detecting directory versus symlink
> To: "Ant Users List"
> Date: Friday, March 20, 2009, 2:36 PM
> In ant 1.7.0, is there a way to test
> if a resource is a directory or if it's a symlink?
>
> I have a directory /app/
In ant 1.7.0, is there a way to test if a resource is a directory or if
it's a symlink?
I have a directory /app/product/foo which may, or may not be a symlink.
If it's a symlink, I just want to remove the symlink but if it's a
directory, I have another set of instructions I need to follow. Any