ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Delaney" <>
Subject Detecting directory versus symlink
Date Fri, 20 Mar 2009 19:36:50 GMT
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:
For additional commands, e-mail:

View raw message