You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2012/08/13 10:21:02 UTC
[Bug 53709] New: proxy for ant download-jars
https://issues.apache.org/bugzilla/show_bug.cgi?id=53709
Priority: P2
Bug ID: 53709
Assignee: issues@jmeter.apache.org
Summary: proxy for ant download-jars
Severity: normal
Classification: Unclassified
OS: All
Reporter: enricjaen@yahoo.es
Hardware: PC
Status: NEW
Version: unspecified
Component: Main
Product: JMeter
ant download-jar doesn't work when you are behind a proxy.
I have tried this and works. If you want I can create a patch. The question is,
where should the proxy values be defined? The build.properties I think is not
the place as it is commited in trunk . There should be a user.properties,
shouldn't it?
<target name="proxy">
<property name="proxy.host" value=".."/>
<property name="proxy.port" value=".."/>
<property name="proxy.user" value=".."/>
<property name="proxy.pass" value=".."/>
<setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"
proxyuser="${proxy.user}" proxypassword="${proxy.pass}"/>
</target>
<!-- Download all missing jars.-->
<target name="download_jars" description="Download any missing jar files">
<antcall target="proxy"/>
<!-- build.dir may be needed as a temporary work area -->
<mkdir dir="${build.dir}" />
<antcall target="_process_all_jars">
<param name="_get_file" value="true"/>
</antcall>
</target>
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53709] proxy for ant download-jars
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53709
Milamber <mi...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Milamber <mi...@apache.org> ---
Ant tasks works behind a proxy server.
Please use ANT_OPTS environment variable.
http://ant.apache.org/manual/proxy.html
On Linux (bash), before ant download_jars :
export ANT_OPTS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080 -Dhttp.user=login
-Dhttp.pass=xxxxx"
ant download_jars (not download-jar)
Please use the JMeter dev list to ask your questions. Bugzilla isn't a support
forum.
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53709] proxy for ant download-jars
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53709
--- Comment #2 from ejaenv <en...@yahoo.es> ---
(In reply to comment #1)
> Ant tasks works behind a proxy server.
>
> Please use ANT_OPTS environment variable.
> http://ant.apache.org/manual/proxy.html
>
> On Linux (bash), before ant download_jars :
>
> export ANT_OPTS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080
> -Dhttp.user=login -Dhttp.pass=xxxxx"
>
> ant download_jars (not download-jar)
>
>
> Please use the JMeter dev list to ask your questions. Bugzilla isn't a
> support forum.
> Thanks
Ok, thanks, I should first asked in a list.
--
You are receiving this mail because:
You are the assignee for the bug.