The plan is setup to retrieve the module 'comp-test' from CVS. 'comp-test' is setup as an alias module, retrieving 'components' and 'lib'. This results in the following directory structure:
$BAMBOO_HOME/data_20/xml-data/build-dir/LW-C2T/comp-test
$BAMBOO_HOME/data_20/xml-data/build-dir/LW-C2T/comp-test/components
$BAMBOO_HOME/data_20/xml-data/build-dir/LW-C2T/comp-test/lib
The builder has the 'Working Sub Directory' set to 'components', and runs an ant task.
The 'Specify Custom Results directories' is set to: 'components/all/testData/xml/*.xml' . In Bamboo 1.2.4 this worked. In Bamboo 2.0, I need to prepend that by 'comp-test/' in order for it to find the tests. Not sure which way is right (ie, if it worked because of a bug in Bamboo 1.2.4), but it should somehow be compatible with the Bamboo 1.2.4 data (if by upgrading it because of an upgrade task, or otherwise).
$BAMBOO_HOME/data_20/xml-data/build-dir/LW-INDTESTS/limewire
$BAMBOO_HOME/data_20/xml-data/build-dir/LW-INDTESTS/limewire/core
$BAMBOO_HOME/data_20/xml-data/build-dir/LW-INDTESTS/limewire/gui
$BAMBOO_HOME/data_20/xml-data/build-dir/LW-INDTESTS/limewire/tests
$BAMBOO_HOME/data_20/xml-data/build-dir/LW-INDTESTS/limewire/components
$BAMBOO_HOME/data_20/xml-data/build-dir/LW-INDTESTS/limewire/lib
No 'Working Sub Directory' is set, but the 'Specify Custom results directory' used to be:
tests/testData/xml/*/.xml, components/all/testData/xml/*/.xml
and it can't find the results.
After changing it to:
limewire/tests/testData/xml/*/.xml, components/all/testData/xml/*/.xml
things starting working.