Skip to content

Commit

Permalink
Use Apache HTTP Client by default in EPP
Browse files Browse the repository at this point in the history
Fixes #81
  • Loading branch information
jonahgraham committed Nov 21, 2023
1 parent 6ebdf72 commit ba27431
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/org.eclipse.epp.package.common.feature/feature.xml
Expand Up @@ -19,6 +19,13 @@
%license
</license>

<requires>
<!-- Workaround Eclipse Platform default filetransfer not supporting authenticated proxies
See also the change in p2.inf
see https://github.com/eclipse-packaging/packages/issues/81 -->
<import feature="org.eclipse.ecf.filetransfer.httpclient5.feature"/>
</requires>

<plugin
id="org.eclipse.epp.package.common"
download-size="0"
Expand Down
9 changes: 9 additions & 0 deletions packages/org.eclipse.epp.package.common.feature/p2.inf
Expand Up @@ -9,3 +9,12 @@ org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:0,location:https${#
org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:1,location:https${#58}//download.eclipse.org/releases/latest,name:Latest Eclipse Simultaneous Release,enabled:true);\
org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:0,location:https${#58}//download.eclipse.org/technology/epp/packages/latest/,name:Latest Eclipse IDE Packages Release,enabled:true);\
org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:1,location:https${#58}//download.eclipse.org/technology/epp/packages/latest/,name:Latest Eclipse IDE Packages Release,enabled:true);\
org.eclipse.equinox.p2.touchpoint.eclipse.addJvmArg(jvmArg:-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclientjava);\


# Workaround Eclipse Platform default filetransfer not supporting authenticated proxies
# See also the change in p2.inf
# see https://github.com/eclipse-packaging/packages/issues/81
instructions.unconfigure= \
org.eclipse.equinox.p2.touchpoint.eclipse.removeJvmArg(jvmArg:-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclientjava);\

0 comments on commit ba27431

Please sign in to comment.