Caveats

   AntXtras has no effect on the components in a standard Ant distribution. However, starting with Ant 1.8, third-party extensions (like AntXtras itself) can alter some fundamental Ant behaviors that will negatively impact assumptions that other extensions might make. This section documents some critical assumptions the AntXtras antlib makes and the potential impact if you combine it with other extensions that render those assumptions invalid.

Property References: ${…}

AntXtras make a basic assumption that property references are represented between ${…}. If you use an Ant extension or a derived Ant runtime that changes how properties are referenced, AntXtra’s recursive property expansion, function shortcuts, and property testing conditions will be affected (which is fancy talk for will break).

Locale Messages Bundles

The big caveat with AntXtras messages is that in order to leverage the JRE’s automatic locale selection, you must refer to your bundles using a ‘resource’ parameter; files and URLs are loaded as generic resources exactly as specified.


Navigation
Personal Tools