Well, Andrea Torre went ahead and sent us a patch to allow exactly that.
There are a few new targets in CBF:
ctools-installer Install ctools (prompts for modules) ctools-installer-auto Install ctools silently
The difference between them is obvious - one does an automated install (passing the -y flag) while the other prompts for which plugins to install.
All you need is to call this target. Here's an example:
ant -Dproject=demo -Denv=pedro ctools-installer
We can control the behavior of this feature. It's possible to specify which branch to install (defaults to stable branch) and specify if you want ctools-installer to run after a CBF build:
ctools.install = true ctools.branch = dev
Ty it and let us know. You need to upgrade your ctools-installer script (just run it and it will auto upgrade)
On an also important note, CBF is now also on github.