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:
 |
|
Flexible User and Environment Ant Configuration
|
| Subject: |
|
My thoughts on your article |
| Date: |
|
2004-05-27 17:55:59 |
| From: |
|
gjbremer
|
Response to: My thoughts on your article
|
|
In the blog entry above, Anand discovered an Achilles heel of sorts with my approach and illustrates the problem with a nice example. As mentioned above, properties are immutable once set. Therefore, if you define path elements outside of a target element and use a property to define them, the property used in the target will never receive a value from a properties file. With my approach, I always define path elements within a target and after I have loaded the properties. Please read Anand's blog entry for a more detailed explanation.
|