quickbuild tips


refer to: 

php module / extensions

PHPUnitReportTask requires the XSL extension

$ sudo apt-get install php5-XSL

php documentor

$ pear channel-discover pear.phpdoc.org
$ pear install phpdoc/phpDocumentor

graphviz is needed to generate Class inheritance diagram

$ sudo apt-get install graphviz

build against specified tag

ref: http://wiki.pmease.com/display/QB50/Build+Against+Specified+Tag


when using svn list command to list the tags, this command cannot use the svn username and password specified for this configurations' repositories. And if the user running quickbuild is not a valid svn user or do not have password cached, this step would stuck.

so, specify the --username and --password options explicitly in the command, like this:


def svnTagsUrl = vars.getValue("svn_url_base") + "tags/"

def process = ("svn list --username " + vars.getValue("svn_user") + " --password " + vars.getValue("svn_pass") + " " + svnTagsUrl).execute()
return process.text.replace("/", "")