Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [p2-dev] Unable to add p2 repository via proxy


Some time ago I experienced similar problem. I was not quite sure whether
that is the reason but to me it seems that scheme determines modification of

public boolean isModifiable() {
		return "file".equalsIgnoreCase(getLocation().getScheme());

Could you try that - put that "file:///" as prefix to your path to

Best regards
Radoslav Ivanov

-----Original Message-----
From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On
Behalf Of Scott Lewis
Sent: Monday, July 05, 2010 9:02 PM
To: P2 developer discussions
Subject: Re: [p2-dev] Unable to add p2 repository via proxy


I'm not sure if this is what you are experiencing, but FYI there was 
some work on the proxy authentication in the most recent release 
cycle...see this comment (in particular the short summary of situation 
at bottom of comment)

Also see this later comment (after the workaround was introduced)

Finally, these two bugs have been opened to track further needed work on 
the proxy API coming out of this workaround:

Again, I'm not certain that your proxy issues are due to the same cause, 
but it seems possible to me, as ECF filetransfer simply uses the proxy API.


Dmytro Pishchukhin wrote:
> Hi,
> I know only proxy host and port and do not have any access to proxy 
> server configuration. But maven and the other Java applications access 
> outside URLs without any problems. I think, that the cause of error is 
> somewhere inside ECF or even in lower level.
> Best regards,
> Dmytro Pishchukhin
> On Mon, Jul 5, 2010 at 15:12, Leslie H. Watter 
> <leslieh@xxxxxxxxxxxxxxxxx <mailto:leslieh@xxxxxxxxxxxxxxxxx>> wrote:
>     Hi,
>     Em Fri, Jun 25, 2010 at 03:12:43PM +0200, Dmytro Pishchukhin escreveu:
>     | From: Dmytro Pishchukhin <dmytro.pishchukhin@xxxxxxxxx
>     <mailto:dmytro.pishchukhin@xxxxxxxxx>>
>     |
>     |    I've tried to run console command to add p2 repository.
>     |
>     |    I've tried it via and without proxy. Direct access work fine,
>     but I have
>     |    an exception when I try to connect via proxy:
>     |    osgi> provaddrepo
>     |    java.lang.UnsupportedOperationException: Repository not
>     modifiable:
>     |
>     |    My eclipse.ini;
>     |    -startup
>     |    plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
>     |    -console
>     |    -Dhttp.proxyHost=<host>
>     |    -Dhttp.proxyPort=<port>
>     I've had problems here using eclipse with proxy when the proxy
>     implements digest authentication.
>     You could take a look at your proxy configuration. It worked fine
>     to me
>     when using basic authentication.
>     Hope this help.
>     Cheers,
>     LEslie
>     _______________________________________________
>     p2-dev mailing list
>     p2-dev@xxxxxxxxxxx <mailto:p2-dev@xxxxxxxxxxx>
> ------------------------------------------------------------------------
> _______________________________________________
> p2-dev mailing list
> p2-dev@xxxxxxxxxxx

p2-dev mailing list

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Back to the top