p2 update site binary folder [message #657943] |
Fri, 04 March 2011 17:01  |
Eclipse User |
|
|
|
Hello,
I am having problem with using update site for a product. Update site file tree looks like this:
artifacts.jar
binary [folder]
content.jar
features
plugins
Binary folder contains product executables for different platforms, but they don't have .jar extensions at the end and I guess treated as directories. As a result, when I try to update I get message that file could not be found.
Here is the screenshot of binary directory http://i.imgur.com/jKvDm.png
Thanks for your help,
Alex
|
|
|
Re: p2 update site binary folder [message #657950 is a reply to message #657943] |
Fri, 04 March 2011 17:11   |
Eclipse User |
|
|
|
NOt sure how you came to that conclusion. The binary folder contains opaque files that are handles by p2. They shouldn't
have any extensions and they are not treated as folders.
- thomas
On 2011-03-04 18:01, Alex wrote:
> Hello,
>
> I am having problem with using update site for a product. Update site file tree looks like this:
>
> artifacts.jar
> binary [folder]
> content.jar
> features
> plugins
>
> Binary folder contains product executables for different platforms, but they don't have .jar extensions at the end and I
> guess treated as directories. As a result, when I try to update I get message that file could not be found.
>
> Here is the screenshot of binary directory http://i.imgur.com/jKvDm.png
>
> Thanks for your help,
> Alex
|
|
|
|
|
Re: p2 update site binary folder [message #657965 is a reply to message #657951] |
Fri, 04 March 2011 18:01   |
Eclipse User |
|
|
|
On 2011-03-04 18:26, Alex wrote:
> So why am I getting 404 on these files during update? And what does
> "opaque files that are handles by p2" mean?
>
It means that those files are managed internally by p2 and shouldn't be
accessed directly. If you get 404's during update, then I guess your p2
repository is corrupted somehow.
- thomas
|
|
|
Re: p2 update site binary folder [message #657977 is a reply to message #657965] |
Fri, 04 March 2011 19:04   |
Eclipse User |
|
|
|
Thomas Hallgren wrote on Fri, 04 March 2011 13:01 | On 2011-03-04 18:26, Alex wrote:
> So why am I getting 404 on these files during update? And what does
> "opaque files that are handles by p2" mean?
>
It means that those files are managed internally by p2 and shouldn't be
accessed directly. If you get 404's during update, then I guess your p2
repository is corrupted somehow.
- thomas
|
Hi thomas, thanks for your reply. Alex helped me post this question.
I think the p2 repository itself is fine because i can use it as a local update site. It is only when it's used on a server that caused the referred connection problem. We have eliminated server or platform problems.
What other possibilities are there?
Thanks again.
[Updated on: Fri, 04 March 2011 19:05] by Moderator Report message to a moderator
|
|
|
Re: p2 update site binary folder [message #657987 is a reply to message #657977] |
Fri, 04 March 2011 19:31   |
Eclipse User |
|
|
|
On 2011-03-04 20:04, chauncey wrote:
> Thomas Hallgren wrote on Fri, 04 March 2011 13:01
>> On 2011-03-04 18:26, Alex wrote:
>> > So why am I getting 404 on these files during update? And what does
>> > "opaque files that are handles by p2" mean?
>> >
>> It means that those files are managed internally by p2 and shouldn't
>> be accessed directly. If you get 404's during update, then I guess
>> your p2 repository is corrupted somehow.
>>
>> - thomas
>
>
> Hi thomas, thanks for your reply. Alex helped me post this question.
> I think the p2 repository itself is fine because i can use it as a local
> update site. It is only when it's used on a server that it caused that
> connection problem. We have eliminated server or platform problems.
>
> What other possibilities are there?
I don't know. A 404 means that your server claims that the file isn't
found. p2 will try to access the file using it's full name so it will
not need browse privileges. Do you get a 404 in a browser too if you try
and access the file from there?
- thomas
|
|
|
|
Re: p2 update site binary folder [message #657991 is a reply to message #657989] |
Fri, 04 March 2011 20:14  |
Eclipse User |
|
|
|
Some success in this area.
We have our update site serving from apache on Windows. I copied update site to apache on linux and update works without a problem. Apparently it's an issue with the way files are being served by the server.
Thanks Thomas for your help
|
|
|
Powered by
FUDForum. Page generated in 0.04758 seconds