[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [p2-dev] Using P2 within releng.basebuilder

Hi Scott,

Thanks for the quick reply.

BTW - do you know what version of the releng.basebuilder the ECF fix was
adopted?

-----Original Message-----
From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On
Behalf Of Scott Lewis
Sent: Tuesday, May 19, 2009 2:06 PM
To: P2 developer discussions
Subject: Re: [p2-dev] Using P2 within releng.basebuilder

Hi Dennis,

The exception you saw was from the URLConnection-based impl of the 
filetransfer provider, and has since been fixed:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=275852

So you and basebuilder can use either the URLConnection-based 
filetransfer provider or the httpclient-based one. The httpclient-based 
one is more robust than the URLConnection-based one (which is why it's 
now used for p2).

The basebuilder can/could use either one...I don't know what their 
policy is here so I'll leave them to answer your last two questions.

Scott

O'Flynn, Dennis wrote:
>
> The Eclipse releng.basebuilder (v20090511-1742) has the P2 bundles 
> needed to run P2 within an headless PDE Build environment. However, I 
> believe there are a couple of bundles missing to reference a remote p2

> repo via http.
>
> When I attempted to reference a p2 repo via http, I received the 
> following error when attempting to access the repo's content.xml
>
> [exec] 
> org.eclipse.equinox.internal.provisional.p2.core.ProvisionException: 
> HTTP Server Unknown HTTP Response Code (200):http://.../content.xml
>
> I started the PDE Build environment with the OSGi console and noticed 
> that the org.eclipse.ecf.provider.filetransfer.httpclient was 
> "installed" (not resolved or started). It is dependent upon the 
> following bundles that are not included with the releng.basebuilder:
>
> * org.apache.commons.httpclient
>
> * org.apache.commons.codec
>
> I dropped these 2 bundles into the releng.basebuilder/plugins folder 
> and all works. J
>
> Should the distribution of releng.basebuilder include these files? Or 
> should I just add them to satisfy my use case?
>
> Dennis O'Flynn
> Technical Consultant
> compuware
> One Campus Martius
> 12W-1104
> Detroit, Michigan 48226
> 313-227-7433 Work
> 313-227-9230 Fax
>
>
> The contents of this e-mail are intended for the named addressee only.

> It contains information that may be confidential. Unless you are the 
> named addressee or an authorized designee, you may not copy or use it,

> or disclose it to anyone else. If you received it in error please 
> notify us immediately and then destroy it.
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> p2-dev mailing list
> p2-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/p2-dev
>   

_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev