N.B. To build JMeter from a release you need both the binary and source archives,
and these must be unpacked into the same directory structure.
[The required external jars are only included in the binary release]
To build JMeter from source:
ant [install]
To rebuild:
ant clean install
To update documentation
ant docs-site
ant docs-printable
To build API documentation (Javadoc)
ant docs-api
To build all the docs
ant docs-all
To build all and package up the files for distribution
ant distribution -Djmeter.version=vvvv [-Dsvn.revision=nnnnn]
To create a nightly build (separate bin/src/lib jars):
ant nightly [-Dsvn.revision=nnnnn]
To create tar and tgz of the web-site documentation (docs and api)
ant site [ -Djmeter.version=vvvv ]
For more info:
ant -projecthelp
To diagnose usage of deprecated APIs:
ant -Ddeprecation=on clean compile
jmeter.version = ${jmeter.version}display.version = ${display.version}implementation.version = ${implementation.version}svn.revision = ${svn.revision}jmeter.version = ${jmeter.version}display.version = ${display.version}implementation.version = ${implementation.version}eclipse.anakia = ${eclipse.anakia}
AnakiaTask is not present, documentation will not be generated.
Velocity version appears to be older than 1.5: the documentation may be generated with incorrect line endings.
Updating version string to "${display.version}"Cannot find all the required 3rd party libraries.If building from a release, you need both source and binary archives.Copying files to work directory ${workdir}Converting work files to eol=${eoltype}Creating JMeter distribution ${dist.name} ${svn.revision}usrMD5 = ${usrMD5}x1MD5 = ${x1MD5}
Gump properties for this run
jmeter.version = ${jmeter.version}
gump.run = ${gump.run}
date.projectfile = ${date.projectfile}
version.projectfile = ${version.projectfile}
Build file:
version.build = ${version.build}
Java properties:
target.java.version = ${target.java.version}
src.java.version = ${src.java.version}
optimize = ${optimize}
deprecation = ${deprecation}
encoding = ${encoding}
Updating overview to ${docversion}Fixing EOLCopying filesFixing EOLCopying files
Error detected in server log file. See above.
CSV Files are not identical.
XML Files are not identical.
${batchtest.name} output files compared OK
Error detected in log file. See above.
gump.run = ${gump.run}
java.awt.headless = ${java.awt.headless}
test.headless = ${test.headless}
user.dir = ${user.dir}
basedir = ${basedir}
test dir = ${build.test}
test dir gump = ${build.test.gump}
testsaveservice.saveout = ${testsaveservice.saveout}