Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
<?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
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<document>
<properties>
<title>Building JMeter and Add-Ons</title>
</properties>
<body>
<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.
</strong></font>
<h2>Building Add-Ons</h2>
<p>
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>
<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>
<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:
<pre>
ant download_jars
</pre>
</p>
<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:
<pre>
ant download_jars
</pre>
This will retrieve any missing jars.
</p>
<h3>Compiling and packaging JMeter using Ant</h3>
<p>
JMeter can be built entirely using Ant.
The basic command is:
<pre>
ant [install]
</pre>
See build.xml for the other targets that can be used.
</p>
<h3>Compiling and packaging JMeter using Eclipse</h3>
<p>
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.
<p>
See also the file eclipse.readme.
</p>
</p>
</section>
</body>
</document>