This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Check the Ant docs. There's an explicit disclaimer on copies because Java doesn't handle OS-specific features such as Unix file attributes or Windows ACLs. They also make suggestions on what to do when this limitation isn't acceptable.
An IDE is no substitute for an Intelligent Developer.