Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
75 lines (72 sloc) 2.83 KB
<?xml version="1.0"?>
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.
<title>Building JMeter and Add-Ons</title>
<section name="Building JMeter and Add-Ons">
<font color="red"><strong>
Note to developers:
This is a very brief overview.
There is more infomation on the JMeter Wiki.
<h2>Building Add-Ons</h2>
There is no need to build JMeter if you just want to build an add-on.
Just download the binary archive and add the jars to the classpath.
You may want to also download the source so it can be used by the IDE.
<p>See the extras/addons* files in the source tree for some suggestions</p>
<h2>Building JMeter</h2>
<h3>Acquiring the source</h3>
<p>The full source is distributed alongside the binary, or it can be downloaded from SVN.</p>
The source archive and SVN do not contain any of the required library files.
These need to be downloaded by running the Ant command:
ant download_jars
<p>Or you can download the binary distribution archive for a release and unpack it into the same directory structure as the source.
This will ensure that the lib/ directory contains the jar files needed for running JMeter.
There are a few additional jars that are needed to build JMeter, download these using:
ant download_jars
This will retrieve any missing jars.
<h3>Compiling and packaging JMeter using Ant</h3>
JMeter can be built entirely using Ant.
The basic command is:
ant [install]
See build.xml for the other targets that can be used.
<h3>Compiling and packaging JMeter using Eclipse</h3>
Once you have downloaded the source from SVN or the release archives and run the ant download_jars target to
install the dependent jars, you can configure Eclipse. The easiest way to do this is to replace the Eclipse .classpath
file with the eclipse.classpath file provided with JMeter. This will set up the source-paths and most of the libraries.
See also the file eclipse.readme.
You can’t perform that action at this time.