Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » p2 update site binary folder
p2 update site binary folder [message #657943] Fri, 04 March 2011 17:01 Go to next message
Alex Kravets is currently offline Alex KravetsFriend
Messages: 561
Registered: November 2009
Senior Member
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 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
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 #657951 is a reply to message #657950] Fri, 04 March 2011 17:26 Go to previous messageGo to next message
Alex Kravets is currently offline Alex KravetsFriend
Messages: 561
Registered: November 2009
Senior Member
So why am I getting 404 on these files during update? And what does "opaque files that are handles by p2" mean?

thanks,
Alex
Re: p2 update site binary folder [message #657953 is a reply to message #657951] Fri, 04 March 2011 17:38 Go to previous messageGo to next message
Alex Kravets is currently offline Alex KravetsFriend
Messages: 561
Registered: November 2009
Senior Member
This is the error I am getting

http://i.imgur.com/6s2JX.png

On Windows message looks a bit different with FileNotFoundException.

[Updated on: Fri, 04 March 2011 17:54]

Report message to a moderator

Re: p2 update site binary folder [message #657965 is a reply to message #657951] Fri, 04 March 2011 18:01 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
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 Go to previous messageGo to next message
Chauncey Xu is currently offline Chauncey XuFriend
Messages: 12
Registered: October 2010
Junior Member
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]

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 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
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 #657989 is a reply to message #657987] Fri, 04 March 2011 19:47 Go to previous messageGo to next message
Alex Kravets is currently offline Alex KravetsFriend
Messages: 561
Registered: November 2009
Senior Member
Yes, getting 404 on a file.
Re: p2 update site binary folder [message #657991 is a reply to message #657989] Fri, 04 March 2011 20:14 Go to previous message
Alex Kravets is currently offline Alex KravetsFriend
Messages: 561
Registered: November 2009
Senior Member
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
Previous Topic:Problem with rmap file?
Next Topic:Can't build site.p2 with equinox
Goto Forum:
  


Current Time: Fri Apr 19 22:57:05 GMT 2024

Powered by FUDForum. Page generated in 0.05621 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top