Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Error on buckminster import
Error on buckminster import [message #381641] Thu, 08 January 2009 13:42 Go to next message
Rich Scott is currently offline Rich ScottFriend
Messages: 63
Registered: July 2009
Member
I am using buckminster import to populate a target platform with required
eclipse plugins. It is working fine except for importing
org.apache.derby.core.10.3.1.4. Although buckminster appears to find the
plugin on the download site, it fails indicating "Missing CSpec source
required by component type osgi.bundle". I noticed that
org.apache.derby.core_10.3.1.4.jar contains bundle information in the
Manifest.mf along with a plugin.xml which has an empty 'plugin' element.
Could this be the cause?

Any ideas about what might be going on or where I should be looking? Is it
a problem with my setup, the derby jar from download, or buckminster?

Some key info follows.

The subset of the log information that pertains to derby is:

[java] Downloading
http://download.eclipse.org/releases/ganymede/features/org.a pache.derby.core_10.3.1.4.jar

[java] org.apache.derby.core:osgi.bundle: Rejecting provider
eclipse.platform(plugin/${buckminster.component}): No component match was
found
[java] org.apache.derby.core:osgi.bundle: Using resource map
file:/D:/rls/eclipse/3.4/workspaces/ChemExp/org.cas.research .chemistryexplorer-dev.targetplatform/targetPlatform.rmap
[java] org.apache.derby.core:osgi.bundle: Using search path eclipse
[java] org.apache.derby.core:osgi.bundle: Trying provider
eclipse.platform(file:/c:/temp/materializeTarget/targetPlatf orm/eclipse)
[java] org.apache.derby.core:osgi.bundle: Rejecting provider
eclipse.platform(file:/c:/temp/materializeTarget/targetPlatf orm/eclipse):
No component match was found
[java] org.apache.derby.core:osgi.bundle: Trying provider
eclipse.import(http://download.eclipse.org/releases/ganymede)
[java] org.apache.derby.core:osgi.bundle: Found match 10.3.1.4
[java] org.apache.derby.core:osgi.bundle: Trying provider
eclipse.import(http://download.eclipse.org/eclipse/updates/3.4)
[java] org.apache.derby.core:osgi.bundle: Rejecting provider
eclipse.import(http://download.eclipse.org/eclipse/updates/3.4): No
component match was found
[java] org.apache.derby.core:osgi.bundle: Using provider
eclipse.import(http://download.eclipse.org/releases/ganymede)

[java] org.apache.derby.core:osgi.bundle: Resolution attempt ended
with exception: Provider
eclipse.import(http://download.eclipse.org/releases/ganymede): Missing
CSpec source required by component type osgi.bundle

[java] org.apache.derby.core:osgi.bundle: No provider was found
that could resolve the request

[java] ERROR [0003] : No suitable provider for component
org.apache.derby.core:osgi.bundle was found in searchPath eclipse
[java] ERROR [0003] : Rejecting provider
eclipse.platform(file:/c:/temp/materializeTarget/targetPlatf orm/eclipse):
No component match was found
[java] ERROR [0003] : Rejecting provider
eclipse.import(http://download.eclipse.org/eclipse/updates/3.4): No
component match was found
[java] ERROR [0003] : Resolution attempt ended with exception:
Provider eclipse.import(http://download.eclipse.org/releases/ganymede):
Missing CSpec source required by component type osgi.bundle

[java] ERROR: Attempt to use an unresolved node. Request is
org.apache.derby.core:osgi.bundle
[java]
org.eclipse.buckminster.core.metadata.model.UnresolvedNodeEx ception:
Attempt to use an unresolved node. Request is
org.apache.derby.core:osgi.bundle
[java] at
org.eclipse.buckminster.core.metadata.model.UnresolvedNode.a ddMaterializationCandidates(UnresolvedNode.java:103)
[java] at
org.eclipse.buckminster.core.metadata.model.ResolvedNode.add MaterializationCandidates(ResolvedNode.java:238)
[java] at
org.eclipse.buckminster.core.metadata.model.ResolvedNode.add MaterializationCandidates(ResolvedNode.java:238)
[java] at
org.eclipse.buckminster.core.metadata.model.BillOfMaterials. addMaterializationCandidates(BillOfMaterials.java:388)
[java] at
org.eclipse.buckminster.core.metadata.model.BillOfMaterials. findMaterializationCandidates(BillOfMaterials.java:213)
[java] at
org.eclipse.buckminster.core.materializer.MaterializationJob .prepareJobs(MaterializationJob.java:174)
[java] at
org.eclipse.buckminster.core.materializer.MaterializationJob .internalRun(MaterializationJob.java:146)
[java] at
org.eclipse.buckminster.core.materializer.MaterializationJob .run(MaterializationJob.java:291)
[java] at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
[java] ERROR: Attempt to use an unresolved node. Request is
org.apache.derby.core:osgi.bundle

The mspec in use is:
<?xml version="1.0" encoding="UTF-8"?>
<md:mspec xmlns:md="http://www.eclipse.org/buckminster/MetaData-1.0"
materializer="targetPlatform"
installLocation="${platform.dir}"
name="targetPlatform"
conflictResolution="UPDATE"
url="${cquery.url}">
</md:mspec>

The cquery that mspec points to is:
<?xml version="1.0" encoding="UTF-8"?>
<cq:componentQuery
xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0"
resourceMap="${rmap.url}">
<cq:rootRequest
name="org.cas.research.chemistryexplorer-dev.targetplatform "
componentType="buckminster"/>
<cq:advisorNode
namePattern="org.cas.research.chemistryexplorer.eclipseplugins.feature "
useRemoteResolution="false" useTargetPlatform="false"/>
</cq:componentQuery>


And the rmap in use is:
<?xml version="1.0" encoding="UTF-8"?>
<rmap
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.eclipse.org/buckminster/RMap-1.0"
xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0"
xmlns:mp="http://www.eclipse.org/buckminster/MavenProvider-1.0"
xmlns:pp="http://www.eclipse.org/buckminster/PDEMapProvider-1.0">

<searchPath name="eclipse">
<provider readerType="eclipse.platform"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="false">
<uri format="file:/c:/temp/materializeTarget/targetPlatform/eclipse ">
<bc:propertyRef key="buckminster.component" />
</uri>
</provider>
<provider readerType="eclipse.import"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="false">
<uri format="http://download.eclipse.org/releases/ganymede">
<bc:propertyRef key="buckminster.component" />
</uri>
</provider>
<provider readerType="eclipse.import"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="false">
<uri format="http://download.eclipse.org/eclipse/updates/3.4">
<bc:propertyRef key="buckminster.component" />
</uri>
</provider>
</searchPath>

<locator searchPathRef="eclipse" pattern="org.eclipse*" />
<locator searchPathRef="eclipse" pattern="org.apache*" />
<locator searchPathRef="eclipse" pattern="org.sat4j" />
<locator searchPathRef="eclipse" pattern="com.ibm.icu*" />
</rmap>
Re: Error on buckminster import [message #381642 is a reply to message #381641] Thu, 08 January 2009 14:58 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Rich,
I would suggest that you enter a bugzilla for this. If you have a
chance, you can try and store a local and patched version the jar
(remove the empty plugin.xml), resolve against that, and see if it
helps. Information like that is always valuable.

Regards,
Thomas Hallgren


Rich Scott wrote:
> I am using buckminster import to populate a target platform with
> required eclipse plugins. It is working fine except for importing
> org.apache.derby.core.10.3.1.4. Although buckminster appears to find
> the plugin on the download site, it fails indicating "Missing CSpec
> source required by component type osgi.bundle". I noticed that
> org.apache.derby.core_10.3.1.4.jar contains bundle information in the
> Manifest.mf along with a plugin.xml which has an empty 'plugin' element.
> Could this be the cause?
>
> Any ideas about what might be going on or where I should be looking? Is
> it a problem with my setup, the derby jar from download, or buckminster?
> Some key info follows.
>
> The subset of the log information that pertains to derby is:
>
> [java] Downloading
> http://download.eclipse.org/releases/ganymede/features/org.a pache.derby.core_10.3.1.4.jar
>
>
> [java] org.apache.derby.core:osgi.bundle: Rejecting provider
> eclipse.platform(plugin/${buckminster.component}): No component match
> was found
> [java] org.apache.derby.core:osgi.bundle: Using resource map
> file:/D:/rls/eclipse/3.4/workspaces/ChemExp/org.cas.research .chemistryexplorer-dev.targetplatform/targetPlatform.rmap
>
> [java] org.apache.derby.core:osgi.bundle: Using search path eclipse
> [java] org.apache.derby.core:osgi.bundle: Trying provider
> eclipse.platform(file:/c:/temp/materializeTarget/targetPlatf orm/eclipse)
> [java] org.apache.derby.core:osgi.bundle: Rejecting provider
> eclipse.platform(file:/c:/temp/materializeTarget/targetPlatf orm/eclipse):
> No component match was found
> [java] org.apache.derby.core:osgi.bundle: Trying provider
> eclipse.import(http://download.eclipse.org/releases/ganymede)
> [java] org.apache.derby.core:osgi.bundle: Found match 10.3.1.4
> [java] org.apache.derby.core:osgi.bundle: Trying provider
> eclipse.import(http://download.eclipse.org/eclipse/updates/3.4)
> [java] org.apache.derby.core:osgi.bundle: Rejecting provider
> eclipse.import(http://download.eclipse.org/eclipse/updates/3.4): No
> component match was found
> [java] org.apache.derby.core:osgi.bundle: Using provider
> eclipse.import(http://download.eclipse.org/releases/ganymede)
>
> [java] org.apache.derby.core:osgi.bundle: Resolution attempt
> ended with exception: Provider
> eclipse.import(http://download.eclipse.org/releases/ganymede): Missing
> CSpec source required by component type osgi.bundle
>
> [java] org.apache.derby.core:osgi.bundle: No provider was found
> that could resolve the request
>
> [java] ERROR [0003] : No suitable provider for component
> org.apache.derby.core:osgi.bundle was found in searchPath eclipse
> [java] ERROR [0003] : Rejecting provider
> eclipse.platform(file:/c:/temp/materializeTarget/targetPlatf orm/eclipse):
> No component match was found
> [java] ERROR [0003] : Rejecting provider
> eclipse.import(http://download.eclipse.org/eclipse/updates/3.4): No
> component match was found
> [java] ERROR [0003] : Resolution attempt ended with
> exception: Provider
> eclipse.import(http://download.eclipse.org/releases/ganymede): Missing
> CSpec source required by component type osgi.bundle
>
> [java] ERROR: Attempt to use an unresolved node. Request is
> org.apache.derby.core:osgi.bundle
> [java]
> org.eclipse.buckminster.core.metadata.model.UnresolvedNodeEx ception:
> Attempt to use an unresolved node. Request is
> org.apache.derby.core:osgi.bundle
> [java] at
> org.eclipse.buckminster.core.metadata.model.UnresolvedNode.a ddMaterializationCandidates(UnresolvedNode.java:103)
>
> [java] at
> org.eclipse.buckminster.core.metadata.model.ResolvedNode.add MaterializationCandidates(ResolvedNode.java:238)
>
> [java] at
> org.eclipse.buckminster.core.metadata.model.ResolvedNode.add MaterializationCandidates(ResolvedNode.java:238)
>
> [java] at
> org.eclipse.buckminster.core.metadata.model.BillOfMaterials. addMaterializationCandidates(BillOfMaterials.java:388)
>
> [java] at
> org.eclipse.buckminster.core.metadata.model.BillOfMaterials. findMaterializationCandidates(BillOfMaterials.java:213)
>
> [java] at
> org.eclipse.buckminster.core.materializer.MaterializationJob .prepareJobs(MaterializationJob.java:174)
>
> [java] at
> org.eclipse.buckminster.core.materializer.MaterializationJob .internalRun(MaterializationJob.java:146)
>
> [java] at
> org.eclipse.buckminster.core.materializer.MaterializationJob .run(MaterializationJob.java:291)
>
> [java] at
> org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> [java] ERROR: Attempt to use an unresolved node. Request is
> org.apache.derby.core:osgi.bundle
>
> The mspec in use is:
> <?xml version="1.0" encoding="UTF-8"?>
> <md:mspec
> xmlns:md="http://www.eclipse.org/buckminster/MetaData-1.0"
> materializer="targetPlatform" installLocation="${platform.dir}"
> name="targetPlatform" conflictResolution="UPDATE"
> url="${cquery.url}">
> </md:mspec>
>
> The cquery that mspec points to is:
> <?xml version="1.0" encoding="UTF-8"?>
> <cq:componentQuery
> xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0"
> resourceMap="${rmap.url}">
> <cq:rootRequest
> name="org.cas.research.chemistryexplorer-dev.targetplatform "
> componentType="buckminster"/>
> <cq:advisorNode
> namePattern="org.cas.research.chemistryexplorer.eclipseplugins.feature "
> useRemoteResolution="false" useTargetPlatform="false"/>
> </cq:componentQuery>
>
>
> And the rmap in use is:
> <?xml version="1.0" encoding="UTF-8"?>
> <rmap
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns="http://www.eclipse.org/buckminster/RMap-1.0"
> xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0"
> xmlns:mp="http://www.eclipse.org/buckminster/MavenProvider-1.0"
> xmlns:pp="http://www.eclipse.org/buckminster/PDEMapProvider-1.0">
>
> <searchPath name="eclipse">
> <provider readerType="eclipse.platform"
> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="false">
> <uri
> format="file:/c:/temp/materializeTarget/targetPlatform/eclipse ">
> <bc:propertyRef key="buckminster.component" />
> </uri>
> </provider>
> <provider readerType="eclipse.import"
> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="false">
> <uri format="http://download.eclipse.org/releases/ganymede">
> <bc:propertyRef key="buckminster.component" />
> </uri>
> </provider>
> <provider readerType="eclipse.import"
> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="false">
> <uri format="http://download.eclipse.org/eclipse/updates/3.4">
> <bc:propertyRef key="buckminster.component" />
> </uri>
> </provider>
> </searchPath>
>
> <locator searchPathRef="eclipse" pattern="org.eclipse*" />
> <locator searchPathRef="eclipse" pattern="org.apache*" />
> <locator searchPathRef="eclipse" pattern="org.sat4j" />
> <locator searchPathRef="eclipse" pattern="com.ibm.icu*" />
> </rmap>
>
>
>
>
>
>
>
Previous Topic:How to Build a product and update site with p2 metadata?
Next Topic:Properties Specifications in RMAP
Goto Forum:
  


Current Time: Thu Sep 26 12:05:36 GMT 2024

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

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

Back to the top