Basically what I’ve asked in the title. How can I use the Ant “symlink” command to find out where the symlink is pointing to?
Thanks
Steve
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think the
symlinktask can only create and remove symlinks. You could execute something likels -la ${file} | awk '{print $10}'and capture the output with a redirector but this looks like an ugly hack – there should be a better way.