Can't build site.p2 with equinox [message #658006] |
Fri, 04 March 2011 17:38  |
Eclipse User |
|
|
|
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
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03858 seconds