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. Anyone have any advice on what the best way to determine if a resource is a directory or a symlink?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to