You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2017/03/17 21:20:46 UTC

svn commit: r1787505 - in /jmeter/trunk: README.md xdocs/building.xml

Author: fschumacher
Date: Fri Mar 17 21:20:45 2017
New Revision: 1787505

URL: http://svn.apache.org/viewvc?rev=1787505&view=rev
Log:
Mention the usage of ANT_OPTS to use a proxy in the building instructions.

Bugzilla Id: 60886

Modified:
    jmeter/trunk/README.md
    jmeter/trunk/xdocs/building.xml

Modified: jmeter/trunk/README.md
URL: http://svn.apache.org/viewvc/jmeter/trunk/README.md?rev=1787505&r1=1787504&r2=1787505&view=diff
==============================================================================
--- jmeter/trunk/README.md (original)
+++ jmeter/trunk/README.md Fri Mar 17 21:20:45 2017
@@ -113,6 +113,12 @@ but won't be used at run-time.
 _This is useful for testing what happens if the optional jars are not
 downloaded by other JMeter users._
 
+If you are behind a proxy, you will have to set an environment entry for ant to use the proxy:
+
+```sh
+export ANT_OPTS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080 -Dhttp.user=login -Dhttp.pass=xxxxx"
+```
+
 ### Test builds
 
 JMeter is built using Ant.

Modified: jmeter/trunk/xdocs/building.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/building.xml?rev=1787505&r1=1787504&r2=1787505&view=diff
==============================================================================
--- jmeter/trunk/xdocs/building.xml (original)
+++ jmeter/trunk/xdocs/building.xml Fri Mar 17 21:20:45 2017
@@ -58,6 +58,12 @@ ant download_jars
 <p>
 This will retrieve any missing jars.
 </p>
+<note>
+If you are behind a proxy, you will have to set an environment entry for ant to use the proxy:
+<source>
+export ANT_OPTS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080 -Dhttp.user=login -Dhttp.pass=xxxxx"
+</source>
+</note>
 
 <p>
 Once you have downloaded the source from SVN or the release archives and run the ant <code>download_jars</code> target to