To build QueryPath, run:
phing build
This will create a generic dev release of QueryPath and copy the releasable files to the dist/ directory. All documentation will be generated, and both a minimal and full version of the code will be generated. The non-compressed files will be available for inspection in bin/build/.
IMPORTANT: The full version of the package does not include build scripts (including this file). The only way to obtain the entire QueryPath development environment is to check it out from http://github.com/technosophos/querypath.
A numbered release can be built with:
phing build -Dversion=2.1-Alpha1
These are the basic tasks we anticipate performing with phing. However, the build script supports the running of several other tasks which may help you when debugging or developing QueryPath. Important ones are listed below. A complete list can be obtained by running 'phing -l' in this directory.
To generate docs, do:
phing doc
Documentation will be stored in docs/. You can start with docs/index.html.
To run unit tests, do:
phing test
The above will generate HTML test results which will be placed in test/reports/. If you wish to run the test and print the results directly the the command line, you should run 'phing ftest' instead.
To run coverage analysis, do:
phing coverage
This will create HTML pages describing code coverage. The coverage analysis will be available in test/coverage
To print this message, do:
phing info
${releasedir}
${releasedir}
Setting version string to ${version}.
${releasedir}
${packagedir}/QueryPath-${version}.tgz
stable
snapshot
alpha
beta
${stability}