The test and command functions of a task are now wrapped such that any change in directory is only local. When the test or command function returns, the wrapper changes back to the current directory before calling the function.
The new function mapFilenames maps file names into another directory while changing the file extension on the way. It can be used to create compile targets from Java source files. The speed of function old was improved.