wiki:Users/ChangesIn25

Changes on the 2.5 SVN branch

This document aims to be a short summary of what's going on on the 2.5 development branch.

  • Handling of the basedir attribute has been fixed (again) in [1128]. This attribute defines the directory the ${project.basedir} property points to. If it is a relative path, it will be treated relative to the buildfile that declares it. If it is omitted, it defaults to ".", meaning the directory that contains the buildfile.
  • Property references will be expanded as late as possible since [1144]. See #320 for details. Most notably, your own tasks should call Project::getProperty() as late as possible (i. e. during execution, not configuration) to make sure all values are up to date.
  • Automagical conversion of particular strings to booleans during XML handling/object wiring has been removed in [1177]. This breaks Tasks that expect booleans for particular setters. Especially performing a (bool) $param cast in the setter will no longer work as expected, use Boolean::cast($param) instead. See the changeset for details.
  • Support for properties that are arrays. [1144]
  • Support for property file sections. [1144]