Fyi, org.eclipse.mylyn.commons.net has a dependency on
org.apache.commons.httpclient (3.1.0) from Orbit. It’s redistributed in
all package downloads other than Classic. It provides all of the
additional facilities we found useful for making HttpClient connections from
Eclipse to repositories like Bugzilla (e.g., proxy configuration, user agent
setting that lists the eclipse.product that’s running, connection monitoring
and cancellation support, and filling other gaps in httpclient).
If there’s interest in reuse, just let us know. If not,
consider looking over some of that code, since the cancellation support was not
that fun to implement and was required for us since we found some httpclient connections
to block indefinitely in the presence of flaky network conditions. Here are
the relevant bits of the manifest of org.eclipse.mylyn.commons.net:
Require-Bundle: org.apache.commons.codec;bundle-version="1.3.0";visibility:=reexport,
org.apache.commons.httpclient;bundle-version="3.1.0";visibility:=reexport,
org.apache.commons.lang;bundle-version="2.3.0";visibility:=reexport,
org.apache.commons.logging;bundle-version="1.0.4",
org.eclipse.core.runtime,
org.eclipse.core.net
Export-Package:
org.eclipse.mylyn.commons.net,
org.eclipse.mylyn.internal.commons.net;x-internal:=true
Mik
From:
eclipse-dev-bounces@xxxxxxxxxxx [mailto:eclipse-dev-bounces@xxxxxxxxxxx] On
Behalf Of Mike Wilson
Sent: Wednesday, October 08, 2008 6:56 AM
To: eclipse-dev@xxxxxxxxxxx
Subject: [eclipse-dev] Planning Meeting Notes - Oct 8, 2008
-----------------------
Discussion Topic
-----------------------
Equinox:
- in Equinox, p2 is adding apache http
client. Are there others in the
SDK that may want to use the apache
http client? Need to discuss the
proper feature this bundle should be
included in SDK