Notable difference between Apache Ant 1.7.x and 1.8.x - path and pathelement
Focus On Content ~/ click me to toggle the navigation bar to the right
On key notable difference I’m observing between Apache Ant 1.7.1 and 1.8.1 is with the path and pathelement.
a build.xml file before
===========================
If you had a path-id set in a target that may never get executed, Ant will make an attempt to find that path and use it. Whereas with 1.8.1, you will need to move those “Init” properties to the main level so that they will be properly found and used.
build.xml file after Ant 1.8.1
===========================
I guess Ant is making it more like a language that if a property is set within a “target”, it’s only accessable within that target.
And so the properties and path-id fields need to be set globally at the main level.
Any thought? or comments?