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.



Hi Pedro,
ReplyDeleteI included this into the build.xml file so that it could call cygwin from windows:
< exec executable="c:\cygwin\bin\bash.exe" >
< arg value="--login"/ >
< arg value="-c"/ >
< arg value="/cygdrive/c/cbf/ctools-installer.sh -n -y -s /cygdrive/c/cbf/project-client/solution -w /cygdrive/c/cbf/target-dist/server/webapps/pentaho"/ >
< /exec >
Hope it helps..