Fri, 05. Dec 2003
So finally we seem to be back on track for the 1.6 release. The third beta has been released a few hours ago. It contains a couple of major changes over beta2 but should be consistent with the final release.
Things that have changed over 1.6beta2 (apart from bug fixes):
- <macrodef> attributes are now expanded via @{foo} instead of ${foo} to highlight the fact that they are not properties
- namespace processing is now more consistent with XML namespaces.
Say you use Ant-Contrib as an antlib and use a namespace prefix of ac for it. With beta2 you'd write<ac:trycatch> <try> ... </try> </ac:trycatch>
where <try> is in the default namespace that is not related to Ant-Contrib (from an XML namespace point of view). With beta3 (and 1.6 final) you'll have to change that to<ac:trycatch> <ac:try> ... </ac:try> </ac:trycatch>
or set up a new default namespace for the scope of the task like<trycatch xmlns="antlib:net.sf.antcontrib"> <try> ... </try> </trycatch>
- The URI for the default namespace has been changed from ant:core to antlib:org.apache.tools.ant to be consistent with Ant library support.
- The XML APIs (DOM, JAXP, SAX) shipping with Ant have been upgraded to match the Xerces version.
path: /en/Apache/Ant | #