Home » Archived » Buckminster » missing bundles after site.p2 action
|
Re: missing bundles after site.p2 action [message #385507 is a reply to message #385506] |
Tue, 26 May 2009 06:54 |
|
Hi Alex,
Are the missing plug-ins listed as included or as required?
Alex Chatziparaskewas wrote:
> Hi
>
> I have created an 3.5 update site feature. Exporting this feature in
> Eclipse via 'Export -> Plug-in Development -> Deployable Feature' as a
> p2 update site yields exactly what I would expect, in particular the
> features contained in the update site contain all referenced plug-ins,
> in particular those, which are part of the target platform. The problem
> now is following. When I run the buckminster site.p2 action on the
> update site feature, all plugins, which are part of the target platform
> and are 'plain jars' - i.e. not expanded - are not included in the
> plugins folder of the udpate site.
>
> Q: Is there any other action I should run?
No.
> Is there a 'manual' Eclipse
> IDE counterpart of the site.p2 action?
>
No.
Regards,
Thomas Hallgren
|
|
|
Re: missing bundles after site.p2 action [message #385508 is a reply to message #385507] |
Tue, 26 May 2009 09:57 |
Alex Chatziparaskewas Messages: 52 Registered: July 2009 |
Member |
|
|
Hi Thomas
In both p2 site creations the missing plugins are listed under the
'requires' section of the content.xml. However, in the one created by the
PDE, there is a separate unit for these plugins, e.g.
<unit id='com.springsource.org.apache.xmlcommons' version='1.3.3'
singleton='false'>
and they are as well present in the plugins folder. In the buckminster
created content.xml, the separate unit is missing and the jar is missing
in the plugins folder.
Thomas Hallgren wrote:
> Hi Alex,
> Are the missing plug-ins listed as included or as required?
> Alex Chatziparaskewas wrote:
>> Hi
>>
>> I have created an 3.5 update site feature. Exporting this feature in
>> Eclipse via 'Export -> Plug-in Development -> Deployable Feature' as a
>> p2 update site yields exactly what I would expect, in particular the
>> features contained in the update site contain all referenced plug-ins,
>> in particular those, which are part of the target platform. The problem
>> now is following. When I run the buckminster site.p2 action on the
>> update site feature, all plugins, which are part of the target platform
>> and are 'plain jars' - i.e. not expanded - are not included in the
>> plugins folder of the udpate site.
>>
>> Q: Is there any other action I should run?
> No.
>> Is there a 'manual' Eclipse
>> IDE counterpart of the site.p2 action?
>>
> No.
> Regards,
> Thomas Hallgren
|
|
|
Re: missing bundles after site.p2 action [message #385511 is a reply to message #385508] |
Tue, 26 May 2009 18:18 |
|
Hi Alex,
I suggest you use 'includes' in the feature that reflects the update site if you want content
included. Buckminster is not designed to include things listed as requirements. I think it's
incorrect to do so since a requirement says something about what prerequisites the feature has and
not what it contains.
- thomas
Alex Chatziparaskewas wrote:
> Hi Thomas
>
> In both p2 site creations the missing plugins are listed under the
> 'requires' section of the content.xml. However, in the one created by
> the PDE, there is a separate unit for these plugins, e.g.
> <unit id='com.springsource.org.apache.xmlcommons' version='1.3.3'
> singleton='false'>
>
> and they are as well present in the plugins folder. In the buckminster
> created content.xml, the separate unit is missing and the jar is missing
> in the plugins folder.
>
> Thomas Hallgren wrote:
>
>> Hi Alex,
>> Are the missing plug-ins listed as included or as required?
>
>> Alex Chatziparaskewas wrote:
>>> Hi
>>>
>>> I have created an 3.5 update site feature. Exporting this feature in
>>> Eclipse via 'Export -> Plug-in Development -> Deployable Feature' as
>>> a p2 update site yields exactly what I would expect, in particular
>>> the features contained in the update site contain all referenced
>>> plug-ins, in particular those, which are part of the target platform.
>>> The problem now is following. When I run the buckminster site.p2
>>> action on the update site feature, all plugins, which are part of the
>>> target platform and are 'plain jars' - i.e. not expanded - are not
>>> included in the plugins folder of the udpate site.
>>>
>>> Q: Is there any other action I should run?
>> No.
>
>>> Is there a 'manual' Eclipse IDE counterpart of the site.p2 action?
>>>
>> No.
>
>> Regards,
>> Thomas Hallgren
>
>
|
|
|
Re: missing bundles after site.p2 action [message #385514 is a reply to message #385511] |
Tue, 26 May 2009 22:51 |
Alex Chatziparaskewas Messages: 52 Registered: July 2009 |
Member |
|
|
Hi Thomas
I am confused. In the UI the missing plug-ins are listed under 'Plug-ins'
of its feature, with this feature listed under the 'included features' of
the update site feature. The missing plug-ins are listed nowhere in a
feature as a prerequisite for the installation of a feature.
Another point is still the interesting fact that those plugins, which were
installed via the eclipse.import reader into the filesystem (they have in
some way been wrapped by buckminster), are normally included in the update
site, while those, which are in there 'nateively' (just jars), like many
org.eclipse plug-ins, are not included. However, they are managed in
exactly the same fashion in the feature.xml as the other plug-ins.
Regards
Alex
Thomas Hallgren wrote:
> Hi Alex,
> I suggest you use 'includes' in the feature that reflects the update site if
you want content
> included. Buckminster is not designed to include things listed as
requirements. I think it's
> incorrect to do so since a requirement says something about what
prerequisites the feature has and
> not what it contains.
> - thomas
> Alex Chatziparaskewas wrote:
>> Hi Thomas
>>
>> In both p2 site creations the missing plugins are listed under the
>> 'requires' section of the content.xml. However, in the one created by
>> the PDE, there is a separate unit for these plugins, e.g.
>> <unit id='com.springsource.org.apache.xmlcommons' version='1.3.3'
>> singleton='false'>
>>
>> and they are as well present in the plugins folder. In the buckminster
>> created content.xml, the separate unit is missing and the jar is missing
>> in the plugins folder.
>>
>> Thomas Hallgren wrote:
>>
>>> Hi Alex,
>>> Are the missing plug-ins listed as included or as required?
>>
>>> Alex Chatziparaskewas wrote:
>>>> Hi
>>>>
>>>> I have created an 3.5 update site feature. Exporting this feature in
>>>> Eclipse via 'Export -> Plug-in Development -> Deployable Feature' as
>>>> a p2 update site yields exactly what I would expect, in particular
>>>> the features contained in the update site contain all referenced
>>>> plug-ins, in particular those, which are part of the target platform.
>>>> The problem now is following. When I run the buckminster site.p2
>>>> action on the update site feature, all plugins, which are part of the
>>>> target platform and are 'plain jars' - i.e. not expanded - are not
>>>> included in the plugins folder of the udpate site.
>>>>
>>>> Q: Is there any other action I should run?
>>> No.
>>
>>>> Is there a 'manual' Eclipse IDE counterpart of the site.p2 action?
>>>>
>>> No.
>>
>>> Regards,
>>> Thomas Hallgren
>>
>>
|
|
|
Re: missing bundles after site.p2 action [message #385515 is a reply to message #385514] |
Wed, 27 May 2009 06:20 |
|
Hi Alex,
I misunderstood. The feature.xml has two ways of expressing dependencies to a plug-in. You can list
them under 'Plug-ins' which implies inclusion, or you can list them under 'Dependencies' which
implies that they are prerequisites for an install, but not included. I though you used the latter.
Since you obviously don't the question is, how do your 'plain jars' come into play? Where do you
keep them and how do they take part in the build? Are they part of your target platform? Are they
nested in another bundle?
Can you attach the XML of the CSPEC that Buckminster thinks your update site feature has?
I build several update sites with the p2.site action and I've never experienced this problem so I'm
trying to figure out what it is that we do differently.
Regards,
Thomas Hallgren
Alex Chatziparaskewas wrote:
> Hi Thomas
>
> I am confused. In the UI the missing plug-ins are listed under
> 'Plug-ins' of its feature, with this feature listed under the 'included
> features' of the update site feature. The missing plug-ins are listed
> nowhere in a feature as a prerequisite for the installation of a feature.
>
> Another point is still the interesting fact that those plugins, which
> were installed via the eclipse.import reader into the filesystem (they
> have in some way been wrapped by buckminster), are normally included in
> the update site, while those, which are in there 'nateively' (just
> jars), like many org.eclipse plug-ins, are not included. However, they
> are managed in exactly the same fashion in the feature.xml as the other
> plug-ins.
>
> Regards
> Alex
>
> Thomas Hallgren wrote:
>
>> Hi Alex,
>> I suggest you use 'includes' in the feature that reflects the update
>> site if
> you want content
>> included. Buckminster is not designed to include things listed as
> requirements. I think it's
>> incorrect to do so since a requirement says something about what
> prerequisites the feature has and
>> not what it contains.
>
>> - thomas
>
>> Alex Chatziparaskewas wrote:
>>> Hi Thomas
>>>
>>> In both p2 site creations the missing plugins are listed under the
>>> 'requires' section of the content.xml. However, in the one created by
>>> the PDE, there is a separate unit for these plugins, e.g.
>>> <unit id='com.springsource.org.apache.xmlcommons' version='1.3.3'
>>> singleton='false'>
>>>
>>> and they are as well present in the plugins folder. In the
>>> buckminster created content.xml, the separate unit is missing and the
>>> jar is missing in the plugins folder.
>>>
>>> Thomas Hallgren wrote:
>>>
>>>> Hi Alex,
>>>> Are the missing plug-ins listed as included or as required?
>>>
>>>> Alex Chatziparaskewas wrote:
>>>>> Hi
>>>>>
>>>>> I have created an 3.5 update site feature. Exporting this feature
>>>>> in Eclipse via 'Export -> Plug-in Development -> Deployable
>>>>> Feature' as a p2 update site yields exactly what I would expect, in
>>>>> particular the features contained in the update site contain all
>>>>> referenced plug-ins, in particular those, which are part of the
>>>>> target platform. The problem now is following. When I run the
>>>>> buckminster site.p2 action on the update site feature, all plugins,
>>>>> which are part of the target platform and are 'plain jars' - i.e.
>>>>> not expanded - are not included in the plugins folder of the udpate
>>>>> site.
>>>>>
>>>>> Q: Is there any other action I should run?
>>>> No.
>>>
>>>>> Is there a 'manual' Eclipse IDE counterpart of the site.p2 action?
>>>>>
>>>> No.
>>>
>>>> Regards,
>>>> Thomas Hallgren
>>>
>>>
>
>
|
|
|
Re: missing bundles after site.p2 action [message #385516 is a reply to message #385515] |
Wed, 27 May 2009 06:31 |
Alex Chatziparaskewas Messages: 52 Registered: July 2009 |
Member |
|
|
Hi Thomas
Here is the cspec of the update site and the cspec of the 'platform'
feature. One bugger is com.springsource.org.apache.xmlcommons (v 1.3.3).
This plugin is part of the target platform as it was downloaded from the
springsource repository. If you want to have a look at that one as well,
just download it from www.springsource.com/repository.
Regards
Alex
----------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<cs:cspec xmlns:cs="http://www.eclipse.org/buckminster/CSpec-1.0"
name="feature_mhcc.cci.updatesite" componentType="eclipse.feature"
version="1.0.0.qualifier">
<cs:dependencies>
<cs:dependency name="feature_mhcc.cci.common"
componentType="eclipse.feature"/>
<cs:dependency name="feature_mhcc.cci.component"
componentType="eclipse.feature"/>
<cs:dependency name="feature_mhcc.cci.libs.http"
componentType="eclipse.feature"/>
<cs:dependency name="feature_mhcc.cci.libs.logging"
componentType="eclipse.feature"/>
<cs:dependency name="feature_mhcc.cci.libs.platform"
componentType="eclipse.feature"/>
<cs:dependency name="feature_mhcc.cci.libs.spring"
componentType="eclipse.feature"/>
<cs:dependency name="org.eclipse.equinox"
componentType="eclipse.feature"/>
</cs:dependencies>
<cs:artifacts>
<cs:private name="build.properties" path="build.properties"/>
<cs:private name="jar.contents" path="feature.properties"/>
<cs:private name="raw.manifest" path="feature.xml"/>
</cs:artifacts>
<cs:actions>
<cs:public name="buckminster.clean" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.pdetasks"/>
<cs:property key="targets" value="delete.dir"/>
</cs:actorProperties>
<cs:properties>
<cs:property key="dir.to.delete"
value="${buckminster.output}/"/>
</cs:properties>
<cs:prerequisites>
<cs:attribute name="buckminster.clean"
component="org.eclipse.equinox"/>
<cs:attribute name="buckminster.clean"
component="feature_mhcc.cci.common"/>
<cs:attribute name="buckminster.clean"
component="feature_mhcc.cci.component"/>
<cs:attribute name="buckminster.clean"
component="feature_mhcc.cci.libs.platform"/>
<cs:attribute name="buckminster.clean"
component="feature_mhcc.cci.libs.http"/>
<cs:attribute name="buckminster.clean"
component="feature_mhcc.cci.libs.logging"/>
<cs:attribute name="buckminster.clean"
component="feature_mhcc.cci.libs.spring"/>
</cs:prerequisites>
</cs:public>
<cs:public name="manifest" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.pdetasks"/>
<cs:property key="targets" value="expand.feature.version"/>
</cs:actorProperties>
<cs:prerequisites>
<cs:attribute name="raw.manifest" alias="manifest"/>
<cs:attribute name="bundle.jars" alias="bundles"/>
<cs:attribute name="feature.references" alias="features"/>
<cs:attribute name="build.properties" alias="properties"/>
</cs:prerequisites>
<cs:products alias="action.output"
base="${buckminster.output}/temp/">
<cs:path path="feature.xml"/>
</cs:products>
</cs:public>
<cs:public name="site.p2" actor="p2SiteGenerator">
<cs:prerequisites>
<cs:attribute name="site.feature.exports" alias="site"
filter="(&(!(site.pack200=true))(!(site.signing=true))) "/>
<cs:attribute name="site.packed" alias="site"
filter="(site.pack200=true)"/>
<cs:attribute name="site.signed" alias="site"
filter="(&(!(site.pack200=true))(site.signing=true)) "/>
<cs:attribute name="manifest" alias="site.definer"/>
<cs:attribute name="product.configuration.exports"
alias="product.configs"/>
</cs:prerequisites>
<cs:products base="${buckminster.output}/site.p2/"/>
</cs:public>
<cs:public name="site.p2.zip" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.pdetasks"/>
<cs:property key="targets" value="create.site.zip"/>
</cs:actorProperties>
<cs:prerequisites>
<cs:attribute name="manifest" alias="manifest"/>
<cs:attribute name="site.p2" alias="action.requirements"/>
</cs:prerequisites>
<cs:products alias="action.output"
base="${buckminster.output}/"/>
</cs:public>
<cs:public name="site.packed" actor="jarProcessor" always="true">
<cs:properties>
<cs:property key="command" value="pack"/>
</cs:properties>
<cs:prerequisites>
<cs:attribute name="site.feature.exports"
alias="jar.folder" filter="(!(site.signing=true))"/>
<cs:attribute name="site.signed" alias="jar.folder"
filter="(site.signing=true)"/>
</cs:prerequisites>
<cs:products base="${buckminster.output}/site.packed/"/>
</cs:public>
<cs:public name="site.signed" actor="ant" always="true">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.signing"/>
<cs:property key="targets" value="sign.jars"/>
</cs:actorProperties>
<cs:prerequisites alias="action.requirements">
<cs:attribute name="site.repacked"
filter="(site.pack200=true)"/>
<cs:attribute name="site.feature.exports"
filter="(!(site.pack200=true))"/>
</cs:prerequisites>
<cs:products alias="action.output"
base="${buckminster.output}/site.signed/"/>
</cs:public>
<cs:public name="source.manifest" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.pdetasks"/>
<cs:property key="targets" value="create.source.feature"/>
</cs:actorProperties>
<cs:prerequisites>
<cs:attribute name="manifest" alias="manifest"/>
<cs:attribute name="source.bundle.jars" alias="bundles"/>
<cs:attribute name="source.feature.references"
alias="features"/>
</cs:prerequisites>
<cs:products alias="action.output"
base="${buckminster.output}/temp/source/">
<cs:path path="feature.xml"/>
</cs:products>
</cs:public>
<cs:private name="copy.features" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.pdetasks"/>
<cs:property key="targets" value="copy.group"/>
</cs:actorProperties>
<cs:prerequisites alias="action.requirements">
<cs:attribute name="feature.jars"/>
<cs:attribute name="source.feature.jars"/>
</cs:prerequisites>
<cs:products alias="action.output"
base="${buckminster.output}/site/features/" upToDatePolicy="MAPPER"/>
</cs:private>
<cs:private name="copy.plugins" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.pdetasks"/>
<cs:property key="targets" value="copy.group"/>
</cs:actorProperties>
<cs:prerequisites alias="action.requirements">
<cs:attribute name="bundle.jars"/>
<cs:attribute name="source.bundle.jars"/>
</cs:prerequisites>
<cs:products alias="action.output"
base="${buckminster.output}/site/plugins/" upToDatePolicy="MAPPER"/>
</cs:private>
<cs:private name="copy.subfeatures" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.pdetasks"/>
<cs:property key="targets" value="copy.group"/>
</cs:actorProperties>
<cs:prerequisites alias="action.requirements">
<cs:attribute name="feature.references"/>
<cs:attribute name="source.feature.references"/>
<cs:attribute name="feature.jar"
filter="(site.include.top=true)"/>
<cs:attribute name="source.feature.jar"
filter="(site.include.top=true)"/>
</cs:prerequisites>
<cs:products alias="action.output"
base="${buckminster.output}/site/features/" upToDatePolicy="MAPPER"/>
</cs:private>
<cs:private name="feature.jar" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.pdetasks"/>
<cs:property key="targets" value="create.feature.jar"/>
</cs:actorProperties>
<cs:prerequisites alias="action.requirements">
<cs:attribute name="manifest" alias="manifest"/>
<cs:attribute name="jar.contents"/>
</cs:prerequisites>
<cs:products alias="action.output"
base="${buckminster.output}/jar/" fileCount="1" upToDatePolicy="COUNT"/>
</cs:private>
<cs:private name="site.repacked" actor="jarProcessor"
always="true">
<cs:properties>
<cs:property key="command" value="repack"/>
</cs:properties>
<cs:prerequisites>
<cs:attribute name="site.feature.exports"
alias="jar.folder"/>
</cs:prerequisites>
<cs:products base="${buckminster.output}/site.repacked/"/>
</cs:private>
<cs:private name="source.feature.jar" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.pdetasks"/>
<cs:property key="targets" value="create.feature.jar"/>
</cs:actorProperties>
<cs:prerequisites alias="action.requirements">
<cs:attribute name="source.manifest" alias="manifest"/>
<cs:attribute name="jar.contents"/>
</cs:prerequisites>
<cs:products alias="action.output"
base="${buckminster.output}/source.jar/" fileCount="1"
upToDatePolicy="COUNT"/>
</cs:private>
</cs:actions>
<cs:groups>
<cs:public name="bundle.jars">
<cs:attribute name="bundle.jars"
component="org.eclipse.equinox"/>
<cs:attribute name="bundle.jars"
component="feature_mhcc.cci.common"/>
<cs:attribute name="bundle.jars"
component="feature_mhcc.cci.component"/>
<cs:attribute name="bundle.jars"
component="feature_mhcc.cci.libs.platform"/>
<cs:attribute name="bundle.jars"
component="feature_mhcc.cci.libs.http"/>
<cs:attribute name="bundle.jars"
component="feature_mhcc.cci.libs.logging"/>
<cs:attribute name="bundle.jars"
component="feature_mhcc.cci.libs.spring"/>
</cs:public>
<cs:public name="feature.exports"
rebase="${buckminster.output}/site/">
<cs:attribute name="copy.features"/>
<cs:attribute name="copy.plugins"/>
</cs:public>
<cs:public name="feature.jars">
<cs:attribute name="feature.jar"/>
<cs:attribute name="feature.references"/>
</cs:public>
<cs:public name="feature.references">
<cs:attribute name="feature.jars"
component="org.eclipse.equinox"/>
<cs:attribute name="feature.jars"
component="feature_mhcc.cci.common"/>
<cs:attribute name="feature.jars"
component="feature_mhcc.cci.component"/>
<cs:attribute name="feature.jars"
component="feature_mhcc.cci.libs.platform"/>
<cs:attribute name="feature.jars"
component="feature_mhcc.cci.libs.http"/>
<cs:attribute name="feature.jars"
component="feature_mhcc.cci.libs.logging"/>
<cs:attribute name="feature.jars"
component="feature_mhcc.cci.libs.spring"/>
</cs:public>
<cs:public name="product.configuration.exports">
<cs:attribute name="product.configuration.exports"
component="org.eclipse.equinox"/>
<cs:attribute name="product.configuration.exports"
component="feature_mhcc.cci.common"/>
<cs:attribute name="product.configuration.exports"
component="feature_mhcc.cci.component"/>
<cs:attribute name="product.configuration.exports"
component="feature_mhcc.cci.libs.platform"/>
<cs:attribute name="product.configuration.exports"
component="feature_mhcc.cci.libs.http"/>
<cs:attribute name="product.configuration.exports"
component="feature_mhcc.cci.libs.logging"/>
<cs:attribute name="product.configuration.exports"
component="feature_mhcc.cci.libs.spring"/>
</cs:public>
<cs:public name="site.feature.exports"
rebase="${buckminster.output}/site/">
<cs:attribute name="copy.subfeatures"/>
<cs:attribute name="copy.plugins"/>
</cs:public>
<cs:public name="source.bundle.jars"
filter="(!(cbi.include.source=false))">
<cs:attribute name="source.bundle.jars"
component="org.eclipse.equinox"/>
<cs:attribute name="source.bundle.jars"
component="feature_mhcc.cci.common"/>
<cs:attribute name="source.bundle.jars"
component="feature_mhcc.cci.component"/>
<cs:attribute name="source.bundle.jars"
component="feature_mhcc.cci.libs.platform"/>
<cs:attribute name="source.bundle.jars"
component="feature_mhcc.cci.libs.http"/>
<cs:attribute name="source.bundle.jars"
component="feature_mhcc.cci.libs.logging"/>
<cs:attribute name="source.bundle.jars"
component="feature_mhcc.cci.libs.spring"/>
</cs:public>
<cs:public name="source.feature.jars">
<cs:attribute name="source.feature.jar"/>
<cs:attribute name="source.feature.references"/>
</cs:public>
<cs:public name="source.feature.references"
filter="(!(cbi.include.source=false))">
<cs:attribute name="source.feature.jars"
component="org.eclipse.equinox"/>
<cs:attribute name="source.feature.jars"
component="feature_mhcc.cci.common"/>
<cs:attribute name="source.feature.jars"
component="feature_mhcc.cci.component"/>
<cs:attribute name="source.feature.jars"
component="feature_mhcc.cci.libs.platform"/>
<cs:attribute name="source.feature.jars"
component="feature_mhcc.cci.libs.http"/>
<cs:attribute name="source.feature.jars"
component="feature_mhcc.cci.libs.logging"/>
<cs:attribute name="source.feature.jars"
component="feature_mhcc.cci.libs.spring"/>
</cs:public>
</cs:groups>
</cs:cspec>
---------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<cs:cspec xmlns:cs="http://www.eclipse.org/buckminster/CSpec-1.0"
name="feature_mhcc.cci.libs.platform" componentType="eclipse.feature"
version="1.0.0.qualifier">
<cs:dependencies>
<cs:dependency name="com.springsource.com.sun.syndication"
componentType="osgi.bundle" versionDesignator="[1.0.0,1.0.0]"/>
<cs:dependency name="com.springsource.org.apache.xerces"
componentType="osgi.bundle" versionDesignator="[2.8.1,2.8.1]"/>
<cs:dependency name="com.springsource.org.apache.xml.resolver"
componentType="osgi.bundle" versionDesignator="[1.2.0,1.2.0]"/>
<cs:dependency name="com.springsource.org.apache.xmlcommons"
componentType="osgi.bundle"/>
<cs:dependency name="com.springsource.org.jdom"
componentType="osgi.bundle" versionDesignator="[1.0.0,1.0.0]"/>
<cs:dependency name="feature_mhcc.cci.libs.platform.sources"
componentType="eclipse.feature"
versionDesignator="[1.0.0.qualifier,1.0.0.qualifier]"/>
<cs:dependency name="mhcc.cci.libs.platform.dependencies"
componentType="osgi.bundle"/>
<cs:dependency name="org.apache.commons.httpclient"
componentType="osgi.bundle"
versionDesignator="[3.1.0.v20080605-1935,3.1.0.v20080605-1935] "/>
<cs:dependency name="org.eclipse.core.contenttype"
componentType="osgi.bundle"/>
<cs:dependency name="org.eclipse.core.jobs"
componentType="osgi.bundle"/>
<cs:dependency name="org.eclipse.core.runtime"
componentType="osgi.bundle"/>
<cs:dependency name="org.eclipse.core.runtime.compatibility.auth"
componentType="osgi.bundle"/>
<cs:dependency name="org.eclipse.equinox"
componentType="eclipse.feature"/>
</cs:dependencies>
<cs:artifacts>
<cs:private name="build.properties" path="build.properties"/>
<cs:private name="raw.manifest" path="feature.xml"/>
</cs:artifacts>
<cs:actions>
<cs:public name="buckminster.clean" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.pdetasks"/>
<cs:property key="targets" value="delete.dir"/>
</cs:actorProperties>
<cs:properties>
<cs:property key="dir.to.delete"
value="${buckminster.output}/"/>
</cs:properties>
<cs:prerequisites>
<cs:attribute name="buckminster.clean"
component="org.eclipse.equinox"/>
<cs:attribute name="buckminster.clean"
component="mhcc.cci.libs.platform.dependencies"/>
<cs:attribute name="buckminster.clean"
component="com.springsource.com.sun.syndication"/>
<cs:attribute name="buckminster.clean"
component="com.springsource.org.apache.xerces"/>
<cs:attribute name="buckminster.clean"
component="com.springsource.org.apache.xml.resolver"/>
<cs:attribute name="buckminster.clean"
component="com.springsource.org.apache.xmlcommons"/>
<cs:attribute name="buckminster.clean"
component="com.springsource.org.jdom"/>
<cs:attribute name="buckminster.clean"
component="org.apache.commons.httpclient"/>
<cs:attribute name="buckminster.clean"
component="org.eclipse.core.contenttype"/>
<cs:attribute name="buckminster.clean"
component="org.eclipse.core.jobs"/>
<cs:attribute name="buckminster.clean"
component="org.eclipse.core.runtime"/>
<cs:attribute name="buckminster.clean"
component="org.eclipse.core.runtime.compatibility.auth"/>
</cs:prerequisites>
</cs:public>
<cs:public name="manifest" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.pdetasks"/>
<cs:property key="targets" value="expand.feature.version"/>
</cs:actorProperties>
<cs:prerequisites>
<cs:attribute name="raw.manifest" alias="manifest"/>
<cs:attribute name="bundle.jars" alias="bundles"/>
<cs:attribute name="feature.references" alias="features"/>
<cs:attribute name="build.properties" alias="properties"/>
</cs:prerequisites>
<cs:products alias="action.output"
base="${buckminster.output}/temp/">
<cs:path path="feature.xml"/>
</cs:products>
</cs:public>
<cs:public name="site.p2" actor="p2SiteGenerator">
<cs:prerequisites>
<cs:attribute name="site.feature.exports" alias="site"
filter="(&(!(site.pack200=true))(!(site.signing=true))) "/>
<cs:attribute name="site.packed" alias="site"
filter="(site.pack200=true)"/>
<cs:attribute name="site.signed" alias="site"
filter="(&(!(site.pack200=true))(site.signing=true)) "/>
<cs:attribute name="manifest" alias="site.definer"/>
<cs:attribute name="product.configuration.exports"
alias="product.configs"/>
</cs:prerequisites>
<cs:products base="${buckminster.output}/site.p2/"/>
</cs:public>
<cs:public name="site.p2.zip" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.pdetasks"/>
<cs:property key="targets" value="create.site.zip"/>
</cs:actorProperties>
<cs:prerequisites>
<cs:attribute name="manifest" alias="manifest"/>
<cs:attribute name="site.p2" alias="action.requirements"/>
</cs:prerequisites>
<cs:products alias="action.output"
base="${buckminster.output}/"/>
</cs:public>
<cs:public name="site.packed" actor="jarProcessor" always="true">
<cs:properties>
<cs:property key="command" value="pack"/>
</cs:properties>
<cs:prerequisites>
<cs:attribute name="site.feature.exports"
alias="jar.folder" filter="(!(site.signing=true))"/>
<cs:attribute name="site.signed" alias="jar.folder"
filter="(site.signing=true)"/>
</cs:prerequisites>
<cs:products base="${buckminster.output}/site.packed/"/>
</cs:public>
<cs:public name="site.signed" actor="ant" always="true">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.signing"/>
<cs:property key="targets" value="sign.jars"/>
</cs:actorProperties>
<cs:prerequisites alias="action.requirements">
<cs:attribute name="site.repacked"
filter="(site.pack200=true)"/>
<cs:attribute name="site.feature.exports"
filter="(!(site.pack200=true))"/>
</cs:prerequisites>
<cs:products alias="action.output"
base="${buckminster.output}/site.signed/"/>
</cs:public>
<cs:public name="source.manifest" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.pdetasks"/>
<cs:property key="targets" value="create.source.feature"/>
</cs:actorProperties>
<cs:prerequisites>
<cs:attribute name="manifest" alias="manifest"/>
<cs:attribute name="source.bundle.jars" alias="bundles"/>
<cs:attribute name="source.feature.references"
alias="features"/>
</cs:prerequisites>
<cs:products alias="action.output"
base="${buckminster.output}/temp/source/">
<cs:path path="feature.xml"/>
</cs:products>
</cs:public>
<cs:private name="copy.features" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.pdetasks"/>
<cs:property key="targets" value="copy.group"/>
</cs:actorProperties>
<cs:prerequisites alias="action.requirements">
<cs:attribute name="feature.jars"/>
<cs:attribute name="source.feature.jars"/>
</cs:prerequisites>
<cs:products alias="action.output"
base="${buckminster.output}/site/features/" upToDatePolicy="MAPPER"/>
</cs:private>
<cs:private name="copy.plugins" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.pdetasks"/>
<cs:property key="targets" value="copy.group"/>
</cs:actorProperties>
<cs:prerequisites alias="action.requirements">
<cs:attribute name="bundle.jars"/>
<cs:attribute name="source.bundle.jars"/>
</cs:prerequisites>
<cs:products alias="action.output"
base="${buckminster.output}/site/plugins/" upToDatePolicy="MAPPER"/>
</cs:private>
<cs:private name="copy.subfeatures" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.pdetasks"/>
<cs:property key="targets" value="copy.group"/>
</cs:actorProperties>
<cs:prerequisites alias="action.requirements">
<cs:attribute name="feature.references"/>
<cs:attribute name="source.feature.references"/>
<cs:attribute name="feature.jar"
filter="(site.include.top=true)"/>
<cs:attribute name="source.feature.jar"
filter="(site.include.top=true)"/>
</cs:prerequisites>
<cs:products alias="action.output"
base="${buckminster.output}/site/features/" upToDatePolicy="MAPPER"/>
</cs:private>
<cs:private name="feature.jar" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.pdetasks"/>
<cs:property key="targets" value="create.feature.jar"/>
</cs:actorProperties>
<cs:prerequisites alias="action.requirements">
<cs:attribute name="manifest" alias="manifest"/>
</cs:prerequisites>
<cs:products alias="action.output"
base="${buckminster.output}/jar/" fileCount="1" upToDatePolicy="COUNT"/>
</cs:private>
<cs:private name="site.repacked" actor="jarProcessor"
always="true">
<cs:properties>
<cs:property key="command" value="repack"/>
</cs:properties>
<cs:prerequisites>
<cs:attribute name="site.feature.exports"
alias="jar.folder"/>
</cs:prerequisites>
<cs:products base="${buckminster.output}/site.repacked/"/>
</cs:private>
<cs:private name="source.feature.jar" actor="ant">
<cs:actorProperties>
<cs:property key="buildFileId"
value="buckminster.pdetasks"/>
<cs:property key="targets" value="create.feature.jar"/>
</cs:actorProperties>
<cs:prerequisites alias="action.requirements">
<cs:attribute name="source.manifest" alias="manifest"/>
</cs:prerequisites>
<cs:products alias="action.output"
base="${buckminster.output}/source.jar/" fileCount="1"
upToDatePolicy="COUNT"/>
</cs:private>
</cs:actions>
<cs:groups>
<cs:public name="bundle.jars">
<cs:attribute name="bundle.jars"
component="org.eclipse.equinox"/>
<cs:attribute name="bundle.and.fragments"
component="mhcc.cci.libs.platform.dependencies"/>
<cs:attribute name="bundle.and.fragments"
component="com.springsource.com.sun.syndication"/>
<cs:attribute name="bundle.and.fragments"
component="com.springsource.org.apache.xerces"/>
<cs:attribute name="bundle.and.fragments"
component="com.springsource.org.apache.xml.resolver"/>
<cs:attribute name="bundle.and.fragments"
component="com.springsource.org.apache.xmlcommons"/>
<cs:attribute name="bundle.and.fragments"
component="com.springsource.org.jdom"/>
<cs:attribute name="bundle.and.fragments"
component="org.apache.commons.httpclient"/>
<cs:attribute name="bundle.and.fragments"
component="org.eclipse.core.contenttype"/>
<cs:attribute name="bundle.and.fragments"
component="org.eclipse.core.jobs"/>
<cs:attribute name="bundle.and.fragments"
component="org.eclipse.core.runtime"/>
<cs:attribute name="bundle.and.fragments"
component="org.eclipse.core.runtime.compatibility.auth"/>
</cs:public>
<cs:public name="feature.exports"
rebase="${buckminster.output}/site/">
<cs:attribute name="copy.features"/>
<cs:attribute name="copy.plugins"/>
</cs:public>
<cs:public name="feature.jars">
<cs:attribute name="feature.jar"/>
<cs:attribute name="feature.references"/>
</cs:public>
<cs:public name="feature.references">
<cs:attribute name="feature.jars"
component="org.eclipse.equinox"/>
</cs:public>
<cs:public name="product.configuration.exports">
<cs:attribute name="product.configuration.exports"
component="org.eclipse.equinox"/>
<cs:attribute name="product.configuration.exports"
component="mhcc.cci.libs.platform.dependencies"/>
<cs:attribute name="product.configuration.exports"
component="com.springsource.com.sun.syndication"/>
<cs:attribute name="product.configuration.exports"
component="com.springsource.org.apache.xerces"/>
<cs:attribute name="product.configuration.exports"
component="com.springsource.org.apache.xml.resolver"/>
<cs:attribute name="product.configuration.exports"
component="com.springsource.org.apache.xmlcommons"/>
<cs:attribute name="product.configuration.exports"
component="com.springsource.org.jdom"/>
<cs:attribute name="product.configuration.exports"
component="org.apache.commons.httpclient"/>
<cs:attribute name="product.configuration.exports"
component="org.eclipse.core.contenttype"/>
<cs:attribute name="product.configuration.exports"
component="org.eclipse.core.jobs"/>
<cs:attribute name="product.configuration.exports"
component="org.eclipse.core.runtime"/>
<cs:attribute name="product.configuration.exports"
component="org.eclipse.core.runtime.compatibility.auth"/>
</cs:public>
<cs:public name="site.feature.exports"
rebase="${buckminster.output}/site/">
<cs:attribute name="copy.subfeatures"/>
<cs:attribute name="copy.plugins"/>
</cs:public>
<cs:public name="source.bundle.jars"
filter="(!(cbi.include.source=false))">
<cs:attribute name="source.bundle.jars"
component="org.eclipse.equinox"/>
<cs:attribute name="bundle.and.fragments.source"
component="mhcc.cci.libs.platform.dependencies"/>
<cs:attribute name="bundle.and.fragments.source"
component="com.springsource.com.sun.syndication"/>
<cs:attribute name="bundle.and.fragments.source"
component="com.springsource.org.apache.xerces"/>
<cs:attribute name="bundle.and.fragments.source"
component="com.springsource.org.apache.xml.resolver"/>
<cs:attribute name="bundle.and.fragments.source"
component="com.springsource.org.apache.xmlcommons"/>
<cs:attribute name="bundle.and.fragments.source"
component="com.springsource.org.jdom"/>
<cs:attribute name="bundle.and.fragments.source"
component="org.apache.commons.httpclient"/>
<cs:attribute name="bundle.and.fragments.source"
component="org.eclipse.core.contenttype"/>
<cs:attribute name="bundle.and.fragments.source"
component="org.eclipse.core.jobs"/>
<cs:attribute name="bundle.and.fragments.source"
component="org.eclipse.core.runtime"/>
<cs:attribute name="bundle.and.fragments.source"
component="org.eclipse.core.runtime.compatibility.auth"/>
</cs:public>
<cs:public name="source.feature.jars">
<cs:attribute name="source.feature.jar"/>
<cs:attribute name="source.feature.references"/>
</cs:public>
<cs:public name="source.feature.references"
filter="(!(cbi.include.source=false))">
<cs:attribute name="source.feature.jars"
component="org.eclipse.equinox"/>
</cs:public>
</cs:groups>
</cs:cspec>
Thomas Hallgren wrote:
> Hi Alex,
> I misunderstood. The feature.xml has two ways of expressing dependencies to
a plug-in. You can list
> them under 'Plug-ins' which implies inclusion, or you can list them under
'Dependencies' which
> implies that they are prerequisites for an install, but not included. I
though you used the latter.
> Since you obviously don't the question is, how do your 'plain jars' come
into play? Where do you
> keep them and how do they take part in the build? Are they part of your
target platform? Are they
> nested in another bundle?
> Can you attach the XML of the CSPEC that Buckminster thinks your update site
feature has?
> I build several update sites with the p2.site action and I've never
experienced this problem so I'm
> trying to figure out what it is that we do differently.
> Regards,
> Thomas Hallgren
> Alex Chatziparaskewas wrote:
>> Hi Thomas
>>
>> I am confused. In the UI the missing plug-ins are listed under
>> 'Plug-ins' of its feature, with this feature listed under the 'included
>> features' of the update site feature. The missing plug-ins are listed
>> nowhere in a feature as a prerequisite for the installation of a feature.
>>
>> Another point is still the interesting fact that those plugins, which
>> were installed via the eclipse.import reader into the filesystem (they
>> have in some way been wrapped by buckminster), are normally included in
>> the update site, while those, which are in there 'nateively' (just
>> jars), like many org.eclipse plug-ins, are not included. However, they
>> are managed in exactly the same fashion in the feature.xml as the other
>> plug-ins.
>>
>> Regards
>> Alex
>>
>> Thomas Hallgren wrote:
>>
>>> Hi Alex,
>>> I suggest you use 'includes' in the feature that reflects the update
>>> site if
>> you want content
>>> included. Buckminster is not designed to include things listed as
>> requirements. I think it's
>>> incorrect to do so since a requirement says something about what
>> prerequisites the feature has and
>>> not what it contains.
>>
>>> - thomas
>>
>>> Alex Chatziparaskewas wrote:
>>>> Hi Thomas
>>>>
>>>> In both p2 site creations the missing plugins are listed under the
>>>> 'requires' section of the content.xml. However, in the one created by
>>>> the PDE, there is a separate unit for these plugins, e.g.
>>>> <unit id='com.springsource.org.apache.xmlcommons' version='1.3.3'
>>>> singleton='false'>
>>>>
>>>> and they are as well present in the plugins folder. In the
>>>> buckminster created content.xml, the separate unit is missing and the
>>>> jar is missing in the plugins folder.
>>>>
>>>> Thomas Hallgren wrote:
>>>>
>>>>> Hi Alex,
>>>>> Are the missing plug-ins listed as included or as required?
>>>>
>>>>> Alex Chatziparaskewas wrote:
>>>>>> Hi
>>>>>>
>>>>>> I have created an 3.5 update site feature. Exporting this feature
>>>>>> in Eclipse via 'Export -> Plug-in Development -> Deployable
>>>>>> Feature' as a p2 update site yields exactly what I would expect, in
>>>>>> particular the features contained in the update site contain all
>>>>>> referenced plug-ins, in particular those, which are part of the
>>>>>> target platform. The problem now is following. When I run the
>>>>>> buckminster site.p2 action on the update site feature, all plugins,
>>>>>> which are part of the target platform and are 'plain jars' - i.e.
>>>>>> not expanded - are not included in the plugins folder of the udpate
>>>>>> site.
>>>>>>
>>>>>> Q: Is there any other action I should run?
>>>>> No.
>>>>
>>>>>> Is there a 'manual' Eclipse IDE counterpart of the site.p2 action?
>>>>>>
>>>>> No.
>>>>
>>>>> Regards,
>>>>> Thomas Hallgren
>>>>
>>>>
>>
>>
|
|
|
Re: missing bundles after site.p2 action [message #385765 is a reply to message #385516] |
Thu, 28 May 2009 21:42 |
Alex Chatziparaskewas Messages: 52 Registered: July 2009 |
Member |
|
|
Hi
For those who get lost here ... please refer to
http://www.eclipse.org/newsportal/article.php?id=1065&gr oup=eclipse.tools.buckminster#1065.
It outlines the real problem behind the missing plugins.
Regards
Alex
Alex Chatziparaskewas wrote:
> Hi Thomas
> Here is the cspec of the update site and the cspec of the 'platform'
> feature. One bugger is com.springsource.org.apache.xmlcommons (v 1.3.3).
> This plugin is part of the target platform as it was downloaded from the
> springsource repository. If you want to have a look at that one as well,
> just download it from www.springsource.com/repository.
> Regards
> Alex
> ----------------------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <cs:cspec xmlns:cs="http://www.eclipse.org/buckminster/CSpec-1.0"
> name="feature_mhcc.cci.updatesite" componentType="eclipse.feature"
> version="1.0.0.qualifier">
> <cs:dependencies>
> <cs:dependency name="feature_mhcc.cci.common"
> componentType="eclipse.feature"/>
> <cs:dependency name="feature_mhcc.cci.component"
> componentType="eclipse.feature"/>
> <cs:dependency name="feature_mhcc.cci.libs.http"
> componentType="eclipse.feature"/>
> <cs:dependency name="feature_mhcc.cci.libs.logging"
> componentType="eclipse.feature"/>
> <cs:dependency name="feature_mhcc.cci.libs.platform"
> componentType="eclipse.feature"/>
> <cs:dependency name="feature_mhcc.cci.libs.spring"
> componentType="eclipse.feature"/>
> <cs:dependency name="org.eclipse.equinox"
> componentType="eclipse.feature"/>
> </cs:dependencies>
> <cs:artifacts>
> <cs:private name="build.properties" path="build.properties"/>
> <cs:private name="jar.contents" path="feature.properties"/>
> <cs:private name="raw.manifest" path="feature.xml"/>
> </cs:artifacts>
> <cs:actions>
> <cs:public name="buckminster.clean" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="delete.dir"/>
> </cs:actorProperties>
> <cs:properties>
> <cs:property key="dir.to.delete"
> value="${buckminster.output}/"/>
> </cs:properties>
> <cs:prerequisites>
> <cs:attribute name="buckminster.clean"
> component="org.eclipse.equinox"/>
> <cs:attribute name="buckminster.clean"
> component="feature_mhcc.cci.common"/>
> <cs:attribute name="buckminster.clean"
> component="feature_mhcc.cci.component"/>
> <cs:attribute name="buckminster.clean"
> component="feature_mhcc.cci.libs.platform"/>
> <cs:attribute name="buckminster.clean"
> component="feature_mhcc.cci.libs.http"/>
> <cs:attribute name="buckminster.clean"
> component="feature_mhcc.cci.libs.logging"/>
> <cs:attribute name="buckminster.clean"
> component="feature_mhcc.cci.libs.spring"/>
> </cs:prerequisites>
> </cs:public>
> <cs:public name="manifest" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="expand.feature.version"/>
> </cs:actorProperties>
> <cs:prerequisites>
> <cs:attribute name="raw.manifest" alias="manifest"/>
> <cs:attribute name="bundle.jars" alias="bundles"/>
> <cs:attribute name="feature.references" alias="features"/>
> <cs:attribute name="build.properties" alias="properties"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/temp/">
> <cs:path path="feature.xml"/>
> </cs:products>
> </cs:public>
> <cs:public name="site.p2" actor="p2SiteGenerator">
> <cs:prerequisites>
> <cs:attribute name="site.feature.exports" alias="site"
> filter="(&(!(site.pack200=true))(!(site.signing=true))) "/>
> <cs:attribute name="site.packed" alias="site"
> filter="(site.pack200=true)"/>
> <cs:attribute name="site.signed" alias="site"
> filter="(&(!(site.pack200=true))(site.signing=true)) "/>
> <cs:attribute name="manifest" alias="site.definer"/>
> <cs:attribute name="product.configuration.exports"
> alias="product.configs"/>
> </cs:prerequisites>
> <cs:products base="${buckminster.output}/site.p2/"/>
> </cs:public>
> <cs:public name="site.p2.zip" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="create.site.zip"/>
> </cs:actorProperties>
> <cs:prerequisites>
> <cs:attribute name="manifest" alias="manifest"/>
> <cs:attribute name="site.p2" alias="action.requirements"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/"/>
> </cs:public>
> <cs:public name="site.packed" actor="jarProcessor" always="true">
> <cs:properties>
> <cs:property key="command" value="pack"/>
> </cs:properties>
> <cs:prerequisites>
> <cs:attribute name="site.feature.exports"
> alias="jar.folder" filter="(!(site.signing=true))"/>
> <cs:attribute name="site.signed" alias="jar.folder"
> filter="(site.signing=true)"/>
> </cs:prerequisites>
> <cs:products base="${buckminster.output}/site.packed/"/>
> </cs:public>
> <cs:public name="site.signed" actor="ant" always="true">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.signing"/>
> <cs:property key="targets" value="sign.jars"/>
> </cs:actorProperties>
> <cs:prerequisites alias="action.requirements">
> <cs:attribute name="site.repacked"
> filter="(site.pack200=true)"/>
> <cs:attribute name="site.feature.exports"
> filter="(!(site.pack200=true))"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/site.signed/"/>
> </cs:public>
> <cs:public name="source.manifest" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="create.source.feature"/>
> </cs:actorProperties>
> <cs:prerequisites>
> <cs:attribute name="manifest" alias="manifest"/>
> <cs:attribute name="source.bundle.jars" alias="bundles"/>
> <cs:attribute name="source.feature.references"
> alias="features"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/temp/source/">
> <cs:path path="feature.xml"/>
> </cs:products>
> </cs:public>
> <cs:private name="copy.features" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="copy.group"/>
> </cs:actorProperties>
> <cs:prerequisites alias="action.requirements">
> <cs:attribute name="feature.jars"/>
> <cs:attribute name="source.feature.jars"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/site/features/" upToDatePolicy="MAPPER"/>
> </cs:private>
> <cs:private name="copy.plugins" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="copy.group"/>
> </cs:actorProperties>
> <cs:prerequisites alias="action.requirements">
> <cs:attribute name="bundle.jars"/>
> <cs:attribute name="source.bundle.jars"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/site/plugins/" upToDatePolicy="MAPPER"/>
> </cs:private>
> <cs:private name="copy.subfeatures" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="copy.group"/>
> </cs:actorProperties>
> <cs:prerequisites alias="action.requirements">
> <cs:attribute name="feature.references"/>
> <cs:attribute name="source.feature.references"/>
> <cs:attribute name="feature.jar"
> filter="(site.include.top=true)"/>
> <cs:attribute name="source.feature.jar"
> filter="(site.include.top=true)"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/site/features/" upToDatePolicy="MAPPER"/>
> </cs:private>
> <cs:private name="feature.jar" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="create.feature.jar"/>
> </cs:actorProperties>
> <cs:prerequisites alias="action.requirements">
> <cs:attribute name="manifest" alias="manifest"/>
> <cs:attribute name="jar.contents"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/jar/" fileCount="1" upToDatePolicy="COUNT"/>
> </cs:private>
> <cs:private name="site.repacked" actor="jarProcessor"
> always="true">
> <cs:properties>
> <cs:property key="command" value="repack"/>
> </cs:properties>
> <cs:prerequisites>
> <cs:attribute name="site.feature.exports"
> alias="jar.folder"/>
> </cs:prerequisites>
> <cs:products base="${buckminster.output}/site.repacked/"/>
> </cs:private>
> <cs:private name="source.feature.jar" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="create.feature.jar"/>
> </cs:actorProperties>
> <cs:prerequisites alias="action.requirements">
> <cs:attribute name="source.manifest" alias="manifest"/>
> <cs:attribute name="jar.contents"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/source.jar/" fileCount="1"
> upToDatePolicy="COUNT"/>
> </cs:private>
> </cs:actions>
> <cs:groups>
> <cs:public name="bundle.jars">
> <cs:attribute name="bundle.jars"
> component="org.eclipse.equinox"/>
> <cs:attribute name="bundle.jars"
> component="feature_mhcc.cci.common"/>
> <cs:attribute name="bundle.jars"
> component="feature_mhcc.cci.component"/>
> <cs:attribute name="bundle.jars"
> component="feature_mhcc.cci.libs.platform"/>
> <cs:attribute name="bundle.jars"
> component="feature_mhcc.cci.libs.http"/>
> <cs:attribute name="bundle.jars"
> component="feature_mhcc.cci.libs.logging"/>
> <cs:attribute name="bundle.jars"
> component="feature_mhcc.cci.libs.spring"/>
> </cs:public>
> <cs:public name="feature.exports"
> rebase="${buckminster.output}/site/">
> <cs:attribute name="copy.features"/>
> <cs:attribute name="copy.plugins"/>
> </cs:public>
> <cs:public name="feature.jars">
> <cs:attribute name="feature.jar"/>
> <cs:attribute name="feature.references"/>
> </cs:public>
> <cs:public name="feature.references">
> <cs:attribute name="feature.jars"
> component="org.eclipse.equinox"/>
> <cs:attribute name="feature.jars"
> component="feature_mhcc.cci.common"/>
> <cs:attribute name="feature.jars"
> component="feature_mhcc.cci.component"/>
> <cs:attribute name="feature.jars"
> component="feature_mhcc.cci.libs.platform"/>
> <cs:attribute name="feature.jars"
> component="feature_mhcc.cci.libs.http"/>
> <cs:attribute name="feature.jars"
> component="feature_mhcc.cci.libs.logging"/>
> <cs:attribute name="feature.jars"
> component="feature_mhcc.cci.libs.spring"/>
> </cs:public>
> <cs:public name="product.configuration.exports">
> <cs:attribute name="product.configuration.exports"
> component="org.eclipse.equinox"/>
> <cs:attribute name="product.configuration.exports"
> component="feature_mhcc.cci.common"/>
> <cs:attribute name="product.configuration.exports"
> component="feature_mhcc.cci.component"/>
> <cs:attribute name="product.configuration.exports"
> component="feature_mhcc.cci.libs.platform"/>
> <cs:attribute name="product.configuration.exports"
> component="feature_mhcc.cci.libs.http"/>
> <cs:attribute name="product.configuration.exports"
> component="feature_mhcc.cci.libs.logging"/>
> <cs:attribute name="product.configuration.exports"
> component="feature_mhcc.cci.libs.spring"/>
> </cs:public>
> <cs:public name="site.feature.exports"
> rebase="${buckminster.output}/site/">
> <cs:attribute name="copy.subfeatures"/>
> <cs:attribute name="copy.plugins"/>
> </cs:public>
> <cs:public name="source.bundle.jars"
> filter="(!(cbi.include.source=false))">
> <cs:attribute name="source.bundle.jars"
> component="org.eclipse.equinox"/>
> <cs:attribute name="source.bundle.jars"
> component="feature_mhcc.cci.common"/>
> <cs:attribute name="source.bundle.jars"
> component="feature_mhcc.cci.component"/>
> <cs:attribute name="source.bundle.jars"
> component="feature_mhcc.cci.libs.platform"/>
> <cs:attribute name="source.bundle.jars"
> component="feature_mhcc.cci.libs.http"/>
> <cs:attribute name="source.bundle.jars"
> component="feature_mhcc.cci.libs.logging"/>
> <cs:attribute name="source.bundle.jars"
> component="feature_mhcc.cci.libs.spring"/>
> </cs:public>
> <cs:public name="source.feature.jars">
> <cs:attribute name="source.feature.jar"/>
> <cs:attribute name="source.feature.references"/>
> </cs:public>
> <cs:public name="source.feature.references"
> filter="(!(cbi.include.source=false))">
> <cs:attribute name="source.feature.jars"
> component="org.eclipse.equinox"/>
> <cs:attribute name="source.feature.jars"
> component="feature_mhcc.cci.common"/>
> <cs:attribute name="source.feature.jars"
> component="feature_mhcc.cci.component"/>
> <cs:attribute name="source.feature.jars"
> component="feature_mhcc.cci.libs.platform"/>
> <cs:attribute name="source.feature.jars"
> component="feature_mhcc.cci.libs.http"/>
> <cs:attribute name="source.feature.jars"
> component="feature_mhcc.cci.libs.logging"/>
> <cs:attribute name="source.feature.jars"
> component="feature_mhcc.cci.libs.spring"/>
> </cs:public>
> </cs:groups>
> </cs:cspec>
> ---------------------------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <cs:cspec xmlns:cs="http://www.eclipse.org/buckminster/CSpec-1.0"
> name="feature_mhcc.cci.libs.platform" componentType="eclipse.feature"
> version="1.0.0.qualifier">
> <cs:dependencies>
> <cs:dependency name="com.springsource.com.sun.syndication"
> componentType="osgi.bundle" versionDesignator="[1.0.0,1.0.0]"/>
> <cs:dependency name="com.springsource.org.apache.xerces"
> componentType="osgi.bundle" versionDesignator="[2.8.1,2.8.1]"/>
> <cs:dependency name="com.springsource.org.apache.xml.resolver"
> componentType="osgi.bundle" versionDesignator="[1.2.0,1.2.0]"/>
> <cs:dependency name="com.springsource.org.apache.xmlcommons"
> componentType="osgi.bundle"/>
> <cs:dependency name="com.springsource.org.jdom"
> componentType="osgi.bundle" versionDesignator="[1.0.0,1.0.0]"/>
> <cs:dependency name="feature_mhcc.cci.libs.platform.sources"
> componentType="eclipse.feature"
> versionDesignator="[1.0.0.qualifier,1.0.0.qualifier]"/>
> <cs:dependency name="mhcc.cci.libs.platform.dependencies"
> componentType="osgi.bundle"/>
> <cs:dependency name="org.apache.commons.httpclient"
> componentType="osgi.bundle"
> versionDesignator="[3.1.0.v20080605-1935,3.1.0.v20080605-1935] "/>
> <cs:dependency name="org.eclipse.core.contenttype"
> componentType="osgi.bundle"/>
> <cs:dependency name="org.eclipse.core.jobs"
> componentType="osgi.bundle"/>
> <cs:dependency name="org.eclipse.core.runtime"
> componentType="osgi.bundle"/>
> <cs:dependency name="org.eclipse.core.runtime.compatibility.auth"
> componentType="osgi.bundle"/>
> <cs:dependency name="org.eclipse.equinox"
> componentType="eclipse.feature"/>
> </cs:dependencies>
> <cs:artifacts>
> <cs:private name="build.properties" path="build.properties"/>
> <cs:private name="raw.manifest" path="feature.xml"/>
> </cs:artifacts>
> <cs:actions>
> <cs:public name="buckminster.clean" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="delete.dir"/>
> </cs:actorProperties>
> <cs:properties>
> <cs:property key="dir.to.delete"
> value="${buckminster.output}/"/>
> </cs:properties>
> <cs:prerequisites>
> <cs:attribute name="buckminster.clean"
> component="org.eclipse.equinox"/>
> <cs:attribute name="buckminster.clean"
> component="mhcc.cci.libs.platform.dependencies"/>
> <cs:attribute name="buckminster.clean"
> component="com.springsource.com.sun.syndication"/>
> <cs:attribute name="buckminster.clean"
> component="com.springsource.org.apache.xerces"/>
> <cs:attribute name="buckminster.clean"
> component="com.springsource.org.apache.xml.resolver"/>
> <cs:attribute name="buckminster.clean"
> component="com.springsource.org.apache.xmlcommons"/>
> <cs:attribute name="buckminster.clean"
> component="com.springsource.org.jdom"/>
> <cs:attribute name="buckminster.clean"
> component="org.apache.commons.httpclient"/>
> <cs:attribute name="buckminster.clean"
> component="org.eclipse.core.contenttype"/>
> <cs:attribute name="buckminster.clean"
> component="org.eclipse.core.jobs"/>
> <cs:attribute name="buckminster.clean"
> component="org.eclipse.core.runtime"/>
> <cs:attribute name="buckminster.clean"
> component="org.eclipse.core.runtime.compatibility.auth"/>
> </cs:prerequisites>
> </cs:public>
> <cs:public name="manifest" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="expand.feature.version"/>
> </cs:actorProperties>
> <cs:prerequisites>
> <cs:attribute name="raw.manifest" alias="manifest"/>
> <cs:attribute name="bundle.jars" alias="bundles"/>
> <cs:attribute name="feature.references" alias="features"/>
> <cs:attribute name="build.properties" alias="properties"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/temp/">
> <cs:path path="feature.xml"/>
> </cs:products>
> </cs:public>
> <cs:public name="site.p2" actor="p2SiteGenerator">
> <cs:prerequisites>
> <cs:attribute name="site.feature.exports" alias="site"
> filter="(&(!(site.pack200=true))(!(site.signing=true))) "/>
> <cs:attribute name="site.packed" alias="site"
> filter="(site.pack200=true)"/>
> <cs:attribute name="site.signed" alias="site"
> filter="(&(!(site.pack200=true))(site.signing=true)) "/>
> <cs:attribute name="manifest" alias="site.definer"/>
> <cs:attribute name="product.configuration.exports"
> alias="product.configs"/>
> </cs:prerequisites>
> <cs:products base="${buckminster.output}/site.p2/"/>
> </cs:public>
> <cs:public name="site.p2.zip" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="create.site.zip"/>
> </cs:actorProperties>
> <cs:prerequisites>
> <cs:attribute name="manifest" alias="manifest"/>
> <cs:attribute name="site.p2" alias="action.requirements"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/"/>
> </cs:public>
> <cs:public name="site.packed" actor="jarProcessor" always="true">
> <cs:properties>
> <cs:property key="command" value="pack"/>
> </cs:properties>
> <cs:prerequisites>
> <cs:attribute name="site.feature.exports"
> alias="jar.folder" filter="(!(site.signing=true))"/>
> <cs:attribute name="site.signed" alias="jar.folder"
> filter="(site.signing=true)"/>
> </cs:prerequisites>
> <cs:products base="${buckminster.output}/site.packed/"/>
> </cs:public>
> <cs:public name="site.signed" actor="ant" always="true">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.signing"/>
> <cs:property key="targets" value="sign.jars"/>
> </cs:actorProperties>
> <cs:prerequisites alias="action.requirements">
> <cs:attribute name="site.repacked"
> filter="(site.pack200=true)"/>
> <cs:attribute name="site.feature.exports"
> filter="(!(site.pack200=true))"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/site.signed/"/>
> </cs:public>
> <cs:public name="source.manifest" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="create.source.feature"/>
> </cs:actorProperties>
> <cs:prerequisites>
> <cs:attribute name="manifest" alias="manifest"/>
> <cs:attribute name="source.bundle.jars" alias="bundles"/>
> <cs:attribute name="source.feature.references"
> alias="features"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/temp/source/">
> <cs:path path="feature.xml"/>
> </cs:products>
> </cs:public>
> <cs:private name="copy.features" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="copy.group"/>
> </cs:actorProperties>
> <cs:prerequisites alias="action.requirements">
> <cs:attribute name="feature.jars"/>
> <cs:attribute name="source.feature.jars"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/site/features/" upToDatePolicy="MAPPER"/>
> </cs:private>
> <cs:private name="copy.plugins" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="copy.group"/>
> </cs:actorProperties>
> <cs:prerequisites alias="action.requirements">
> <cs:attribute name="bundle.jars"/>
> <cs:attribute name="source.bundle.jars"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/site/plugins/" upToDatePolicy="MAPPER"/>
> </cs:private>
> <cs:private name="copy.subfeatures" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="copy.group"/>
> </cs:actorProperties>
> <cs:prerequisites alias="action.requirements">
> <cs:attribute name="feature.references"/>
> <cs:attribute name="source.feature.references"/>
> <cs:attribute name="feature.jar"
> filter="(site.include.top=true)"/>
> <cs:attribute name="source.feature.jar"
> filter="(site.include.top=true)"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/site/features/" upToDatePolicy="MAPPER"/>
> </cs:private>
> <cs:private name="feature.jar" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="create.feature.jar"/>
> </cs:actorProperties>
> <cs:prerequisites alias="action.requirements">
> <cs:attribute name="manifest" alias="manifest"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/jar/" fileCount="1" upToDatePolicy="COUNT"/>
> </cs:private>
> <cs:private name="site.repacked" actor="jarProcessor"
> always="true">
> <cs:properties>
> <cs:property key="command" value="repack"/>
> </cs:properties>
> <cs:prerequisites>
> <cs:attribute name="site.feature.exports"
> alias="jar.folder"/>
> </cs:prerequisites>
> <cs:products base="${buckminster.output}/site.repacked/"/>
> </cs:private>
> <cs:private name="source.feature.jar" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="create.feature.jar"/>
> </cs:actorProperties>
> <cs:prerequisites alias="action.requirements">
> <cs:attribute name="source.manifest" alias="manifest"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/source.jar/" fileCount="1"
> upToDatePolicy="COUNT"/>
> </cs:private>
> </cs:actions>
> <cs:groups>
> <cs:public name="bundle.jars">
> <cs:attribute name="bundle.jars"
> component="org.eclipse.equinox"/>
> <cs:attribute name="bundle.and.fragments"
> component="mhcc.cci.libs.platform.dependencies"/>
> <cs:attribute name="bundle.and.fragments"
> component="com.springsource.com.sun.syndication"/>
> <cs:attribute name="bundle.and.fragments"
> component="com.springsource.org.apache.xerces"/>
> <cs:attribute name="bundle.and.fragments"
> component="com.springsource.org.apache.xml.resolver"/>
> <cs:attribute name="bundle.and.fragments"
> component="com.springsource.org.apache.xmlcommons"/>
> <cs:attribute name="bundle.and.fragments"
> component="com.springsource.org.jdom"/>
> <cs:attribute name="bundle.and.fragments"
> component="org.apache.commons.httpclient"/>
> <cs:attribute name="bundle.and.fragments"
> component="org.eclipse.core.contenttype"/>
> <cs:attribute name="bundle.and.fragments"
> component="org.eclipse.core.jobs"/>
> <cs:attribute name="bundle.and.fragments"
> component="org.eclipse.core.runtime"/>
> <cs:attribute name="bundle.and.fragments"
> component="org.eclipse.core.runtime.compatibility.auth"/>
> </cs:public>
> <cs:public name="feature.exports"
> rebase="${buckminster.output}/site/">
> <cs:attribute name="copy.features"/>
> <cs:attribute name="copy.plugins"/>
> </cs:public>
> <cs:public name="feature.jars">
> <cs:attribute name="feature.jar"/>
> <cs:attribute name="feature.references"/>
> </cs:public>
> <cs:public name="feature.references">
> <cs:attribute name="feature.jars"
> component="org.eclipse.equinox"/>
> </cs:public>
> <cs:public name="product.configuration.exports">
> <cs:attribute name="product.configuration.exports"
> component="org.eclipse.equinox"/>
> <cs:attribute name="product.configuration.exports"
> component="mhcc.cci.libs.platform.dependencies"/>
> <cs:attribute name="product.configuration.exports"
> component="com.springsource.com.sun.syndication"/>
> <cs:attribute name="product.configuration.exports"
> component="com.springsource.org.apache.xerces"/>
> <cs:attribute name="product.configuration.exports"
> component="com.springsource.org.apache.xml.resolver"/>
> <cs:attribute name="product.configuration.exports"
> component="com.springsource.org.apache.xmlcommons"/>
> <cs:attribute name="product.configuration.exports"
> component="com.springsource.org.jdom"/>
> <cs:attribute name="product.configuration.exports"
> component="org.apache.commons.httpclient"/>
> <cs:attribute name="product.configuration.exports"
> component="org.eclipse.core.contenttype"/>
> <cs:attribute name="product.configuration.exports"
> component="org.eclipse.core.jobs"/>
> <cs:attribute name="product.configuration.exports"
> component="org.eclipse.core.runtime"/>
> <cs:attribute name="product.configuration.exports"
> component="org.eclipse.core.runtime.compatibility.auth"/>
> </cs:public>
> <cs:public name="site.feature.exports"
> rebase="${buckminster.output}/site/">
> <cs:attribute name="copy.subfeatures"/>
> <cs:attribute name="copy.plugins"/>
> </cs:public>
> <cs:public name="source.bundle.jars"
> filter="(!(cbi.include.source=false))">
> <cs:attribute name="source.bundle.jars"
> component="org.eclipse.equinox"/>
> <cs:attribute name="bundle.and.fragments.source"
> component="mhcc.cci.libs.platform.dependencies"/>
> <cs:attribute name="bundle.and.fragments.source"
> component="com.springsource.com.sun.syndication"/>
> <cs:attribute name="bundle.and.fragments.source"
> component="com.springsource.org.apache.xerces"/>
> <cs:attribute name="bundle.and.fragments.source"
> component="com.springsource.org.apache.xml.resolver"/>
> <cs:attribute name="bundle.and.fragments.source"
> component="com.springsource.org.apache.xmlcommons"/>
> <cs:attribute name="bundle.and.fragments.source"
> component="com.springsource.org.jdom"/>
> <cs:attribute name="bundle.and.fragments.source"
> component="org.apache.commons.httpclient"/>
> <cs:attribute name="bundle.and.fragments.source"
> component="org.eclipse.core.contenttype"/>
> <cs:attribute name="bundle.and.fragments.source"
> component="org.eclipse.core.jobs"/>
> <cs:attribute name="bundle.and.fragments.source"
> component="org.eclipse.core.runtime"/>
> <cs:attribute name="bundle.and.fragments.source"
> component="org.eclipse.core.runtime.compatibility.auth"/>
> </cs:public>
> <cs:public name="source.feature.jars">
> <cs:attribute name="source.feature.jar"/>
> <cs:attribute name="source.feature.references"/>
> </cs:public>
> <cs:public name="source.feature.references"
> filter="(!(cbi.include.source=false))">
> <cs:attribute name="source.feature.jars"
> component="org.eclipse.equinox"/>
> </cs:public>
> </cs:groups>
> </cs:cspec>
> Thomas Hallgren wrote:
>> Hi Alex,
>> I misunderstood. The feature.xml has two ways of expressing dependencies to
> a plug-in. You can list
>> them under 'Plug-ins' which implies inclusion, or you can list them under
> 'Dependencies' which
>> implies that they are prerequisites for an install, but not included. I
> though you used the latter.
>> Since you obviously don't the question is, how do your 'plain jars' come
> into play? Where do you
>> keep them and how do they take part in the build? Are they part of your
> target platform? Are they
>> nested in another bundle?
>> Can you attach the XML of the CSPEC that Buckminster thinks your update
site
> feature has?
>> I build several update sites with the p2.site action and I've never
> experienced this problem so I'm
>> trying to figure out what it is that we do differently.
>> Regards,
>> Thomas Hallgren
>> Alex Chatziparaskewas wrote:
>>> Hi Thomas
>>>
>>> I am confused. In the UI the missing plug-ins are listed under
>>> 'Plug-ins' of its feature, with this feature listed under the 'included
>>> features' of the update site feature. The missing plug-ins are listed
>>> nowhere in a feature as a prerequisite for the installation of a feature.
>>>
>>> Another point is still the interesting fact that those plugins, which
>>> were installed via the eclipse.import reader into the filesystem (they
>>> have in some way been wrapped by buckminster), are normally included in
>>> the update site, while those, which are in there 'nateively' (just
>>> jars), like many org.eclipse plug-ins, are not included. However, they
>>> are managed in exactly the same fashion in the feature.xml as the other
>>> plug-ins.
>>>
>>> Regards
>>> Alex
>>>
>>> Thomas Hallgren wrote:
>>>
>>>> Hi Alex,
>>>> I suggest you use 'includes' in the feature that reflects the update
>>>> site if
>>> you want content
>>>> included. Buckminster is not designed to include things listed as
>>> requirements. I think it's
>>>> incorrect to do so since a requirement says something about what
>>> prerequisites the feature has and
>>>> not what it contains.
>>>
>>>> - thomas
>>>
>>>> Alex Chatziparaskewas wrote:
>>>>> Hi Thomas
>>>>>
>>>>> In both p2 site creations the missing plugins are listed under the
>>>>> 'requires' section of the content.xml. However, in the one created by
>>>>> the PDE, there is a separate unit for these plugins, e.g.
>>>>> <unit id='com.springsource.org.apache.xmlcommons' version='1.3.3'
>>>>> singleton='false'>
>>>>>
>>>>> and they are as well present in the plugins folder. In the
>>>>> buckminster created content.xml, the separate unit is missing and the
>>>>> jar is missing in the plugins folder.
>>>>>
>>>>> Thomas Hallgren wrote:
>>>>>
>>>>>> Hi Alex,
>>>>>> Are the missing plug-ins listed as included or as required?
>>>>>
>>>>>> Alex Chatziparaskewas wrote:
>>>>>>> Hi
>>>>>>>
>>>>>>> I have created an 3.5 update site feature. Exporting this feature
>>>>>>> in Eclipse via 'Export -> Plug-in Development -> Deployable
>>>>>>> Feature' as a p2 update site yields exactly what I would expect, in
>>>>>>> particular the features contained in the update site contain all
>>>>>>> referenced plug-ins, in particular those, which are part of the
>>>>>>> target platform. The problem now is following. When I run the
>>>>>>> buckminster site.p2 action on the update site feature, all plugins,
>>>>>>> which are part of the target platform and are 'plain jars' - i.e.
>>>>>>> not expanded - are not included in the plugins folder of the udpate
>>>>>>> site.
>>>>>>>
>>>>>>> Q: Is there any other action I should run?
>>>>>> No.
>>>>>
>>>>>>> Is there a 'manual' Eclipse IDE counterpart of the site.p2 action?
>>>>>>>
>>>>>> No.
>>>>>
>>>>>> Regards,
>>>>>> Thomas Hallgren
>>>>>
>>>>>
>>>
>>>
|
|
|
Goto Forum:
Current Time: Wed Feb 05 09:42:17 GMT 2025
Powered by FUDForum. Page generated in 0.03276 seconds
|