Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Can't build site.p2 with equinox(Build p2 site from .target file fails with equinox)
Can't build site.p2 with equinox [message #658006] Fri, 04 March 2011 22:38 Go to next message
js Missing name is currently offline js Missing nameFriend
Messages: 73
Registered: July 2009
Member
I am trying to build a local p2 site from a .target file which is referencing a bunch of remote eclipse p2 sites with "All environments" checked - basically I just want a local p2 site for windows 32 and 64 bit.


1) Create a target platform:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.6"?>

<target includeMode="feature" name="target">
<locations>
<location includeAllPlatforms="true" includeMode="slicer" type="InstallableUnit">
<unit id="org.eclipse.emf.sdk.feature.group" version="2.6.1.v20100914-1218"/>
<repository location="http://download.eclipse.org/releases/helios"/>
</location>
<location includeAllPlatforms="true" includeMode="slicer" type="InstallableUnit">
<unit id="org.eclipse.equinox.sdk.feature.group" version="3.6.1.r361_v20100903-7H7R07v8rtOZyYbv1I6aZgou5z07"/ >
<repository location="http://download.eclipse.org/releases/helios"/>
</location>
<location includeAllPlatforms="true" includeMode="slicer" type="InstallableUnit">
<unit id="org.eclipse.platform.ide" version="3.6.1.M20100909-0800"/>
<unit id="org.eclipse.platform.sdk" version="3.6.1.M20100909-0800"/>
<unit id="org.eclipse.rcp.feature.group" version="3.6.1.r361_v20100827-9OArFLdFjY-ThSQXmKvKz0_T"/>
<unit id="org.eclipse.rcp.source.feature.group" version="3.6.1.r361_v20100827-9OArFLdFjY-ThSQXmKvKz0_T"/>
<unit id="org.eclipse.sdk.ide" version="3.6.1.M20100909-0800"/>
<repository location="http://download.eclipse.org/eclipse/updates/3.6"/>
</location>
</locations>
</target>


2) Create a feature and initialize it will all plugins from current active target (from 1)). On the included features tab all features from current active target is added.

3) Copy the file buckmesiter.properties to the feature project containing:

buckminster.output.root=${user.home}/project/site
buckminster.temp.root=${user.home}/project/tmp
qualifier.replacement.*=generator:lastRevision
target.os=*
target.ws=*
target.arch=*



4) Right click on the feature project and select: Buckmeister -> Invoke Action. Select the .properties file and select the site.p2 action. This gives an error:

No component named org.eclipse.equinox.server.p2:eclipse.feature/[1.0.0.v201005 03-7x7IFGOFQ74dz0POCNUBj98N,1.0.0.v20100503-7x7IFGOFQ74dz0PO CNUBj98N] is known to Buckminster


I have tried to remove the equinox p2 site and then it works fine so I assume the error is equinox related.

Is it not possible to build a multi os p2 site with equinox using this approach?

My system is:

Version: Helios Service Release 2
Build id: 20110301-1815

org.eclipse.buckmeister.core.feature 1.3.1.r11668
Re: Can't build site.p2 with equinox [message #658010 is a reply to message #658006] Sat, 05 March 2011 00:15 Go to previous messageGo to next message
js Missing name is currently offline js Missing nameFriend
Messages: 73
Registered: July 2009
Member
I have now tried with a fresh eclipse 3.6.1 SR1 release with a matching delta pack (tried to add the delta pack to the target file and have also tried to copy it to my installation and replacing the relevant files). But I get the same error:

No component named org.eclipse.equinox.server.p2:eclipse.feature/[1.0.0.v201005 03-7x7IFGOFQ74dz0POCNUBj98N,1.0.0.v20100503-7x7IFGOFQ74dz0PO CNUBj98N] is known to Buckminster

The org.eclipse.equinox.server.p2 does show up in the content tab of the .target file under features. Further it does shown when I right click the feature and select: Buckmeister->View CSpec and look at the dependency tab.

But when I filter the "Target platform State" view it does not show.

A possible bug maybe?
Re: Can't build site.p2 with equinox [message #658018 is a reply to message #658010] Sat, 05 March 2011 04:03 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3232
Registered: July 2009
Senior Member
On 2011-03-05 01:15, js wrote:
> I have now tried with a fresh eclipse 3.6.1 SR1 release with a matching delta pack (tried to add the delta pack to the
> target file and have also tried to copy it to my installation and replacing the relevant files). But I get the same error:
>
> No component named org.eclipse.equinox.server.p2:eclipse.feature/[1.0.0.v201005
> 03-7x7IFGOFQ74dz0POCNUBj98N,1.0.0.v20100503-7x7IFGOFQ74dz0PO CNUBj98N] is known to Buckminster
>
> The org.eclipse.equinox.server.p2 does show up in the content tab of the .target file under features.

And the version is exactly right?


> Further it does
> shown when I right click the feature and select: Buckmeister->View CSpec and look at the dependency tab.
>
What feature would that be?


> But when I filter the "Target platform State" view it does not show.
> A possible bug maybe?

I don't think features are shown in the TP State.

- thomas
Re: Can't build site.p2 with equinox [message #658040 is a reply to message #658018] Sat, 05 March 2011 11:52 Go to previous messageGo to next message
js Missing name is currently offline js Missing nameFriend
Messages: 73
Registered: July 2009
Member
On 2011-03-05 01:15, js wrote:
> I have now tried with a fresh eclipse 3.6.1 SR1 release with a matching delta pack (tried to add the delta pack to the
> target file and have also tried to copy it to my installation and replacing the relevant files). But I get the same error:
>
> No component named org.eclipse.equinox.server.p2:eclipse.feature/[1.0.0.v201005
> 03-7x7IFGOFQ74dz0POCNUBj98N,1.0.0.v20100503-7x7IFGOFQ74dz0PO CNUBj98N] is known to Buckminster
>
> The org.eclipse.equinox.server.p2 does show up in the content tab of the .target file under features.

>>And the version is exactly right?

The version of the feature on the content tab of the target file is:

org.eclipse.equinox.server.p2_1.0.0.v20100503-7x7IFGOFQ74dz0 POCNUBjA6L


corresponding to the feature located in:

workspace\.metadata\.plugins\org.eclipse.pde.core\.bundle_po ol\features

But the error I get is:

No component named org.eclipse.equinox.server.p2:eclipse.feature/[1.0.0.v201005 03-7x7IFGOFQ74dz0POCNUBj98N,1.0.0.v20100503-7x7IFGOFQ74dz0PO CNUBj98N]

So why does buckmeister look for this version?


> Further it does
> shown when I right click the feature and select: Buckmeister->View CSpec and look at the dependency tab.
>
>>What feature would that be?

Thats the org.eclipse.equinox.server.p2 feature. On the dependency tab in the .cspec file it says:

name = org.eclipse.equinox.server.p2
Component Type = eclipse.feature


> But when I filter the "Target platform State" view it does not show.
> A possible bug maybe?

>>I don't think features are shown in the TP State.

your are right its only the plugins from the bundle_pool

- thomas

[Updated on: Sat, 05 March 2011 11:54]

Report message to a moderator

Re: Can't build site.p2 with equinox [message #658041 is a reply to message #658040] Sat, 05 March 2011 12:04 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3232
Registered: July 2009
Senior Member
On 2011-03-05 12:52, js wrote:
> Thomas Hallgren wrote on Fri, 04 March 2011 23:03
>> On 2011-03-05 01:15, js wrote:
>> > I have now tried with a fresh eclipse 3.6.1 SR1 release with a matching delta pack (tried to add the delta pack to the
>> > target file and have also tried to copy it to my installation and replacing the relevant files). But I get the same
>> error:
>> >
>> > No component named org.eclipse.equinox.server.p2:eclipse.feature/[1.0.0.v201005
>> > 03-7x7IFGOFQ74dz0POCNUBj98N,1.0.0.v20100503-7x7IFGOFQ74dz0PO CNUBj98N] is known to Buckminster
>> >
>> > The org.eclipse.equinox.server.p2 does show up in the content tab of the .target file under features.
>>
>> >>And the version is exactly right?
>>
>> The version of the feature on the content tab of the target file is:
>>
>> org.eclipse.equinox.server.p2_1.0.0.v20100503-7x7IFGOFQ74dz0 POCNUBjA6L

So the target platform does not contain the requested version. This one is different.

>>
>>
>> corresponding to the feature located in:
>>
>> workspace\.metadata\.plugins\org.eclipse.pde.core\.bundle_po ol\features
>>
>> But the error I get is:
>>
>> No component named org.eclipse.equinox.server.p2:eclipse.feature/[1.0.0.v201005
>> 03-7x7IFGOFQ74dz0POCNUBj98N,1.0.0.v20100503-7x7IFGOFQ74dz0PO CNUBj98N]
>>
>> So why does buckmeister look for this version?
>>
Buckminster wants that version because something is dependent on it. You need to figure out what that something is.

>>
>> > Further it does
>> > shown when I right click the feature and select: Buckmeister->View CSpec and look at the dependency tab.
>> >
>> >>What feature would that be?
>>
>> Thats the org.eclipse.equinox.server.p2 feature. On the dependency tab in the .cspec file it says:
>>
>> name = org.eclipse.equinox.server.p2
>> Component Type = eclipse.feature
>>

That doesn't make sense to me. Is the org.eclipse.equinox.server.p2 feature dependent on itself?

- thomas
Re: Can't build site.p2 with equinox [message #658042 is a reply to message #658041] Sat, 05 March 2011 12:13 Go to previous message
js Missing name is currently offline js Missing nameFriend
Messages: 73
Registered: July 2009
Member
https://bugs.eclipse.org/bugs/show_bug.cgi?format=multiple&a mp;id=326427

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


Seems to be solved in 3.6.2, I will go through the same steps but with eclipse 3.6.2 and see if it works.

Still need a 3.6.1 platform/p2 site though :-(



Previous Topic:p2 update site binary folder
Next Topic:Source feature not generated for site.p2
Goto Forum:
  


Current Time: Sat Dec 20 03:50:49 GMT 2014

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

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