We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
Article:
 |
|
Top 15 Ant Best Practices
|
| Subject: |
|
Tip 9 should use location attribute |
| Date: |
|
2003-12-18 09:57:37 |
| From: |
|
myshkin5
|
|
|
|
When specifying file or directories in properties it's a good idea to use the location attribute instead of the value attribute seen in tip 9. The location attribute causes ant to find the file or directory specified (if it exists) and pass a full platform-specific canonical path to the task. This is especially important when forking tasks start in a different directory. |