local provider never seems to resolve components [message #654696] |
Wed, 16 February 2011 12:58  |
Eclipse User |
|
|
|
I'm attempting to use the local provider in my rmap to resolve various components that have already been checked out into my workspace directory (although not registered as projects). It typically fails like this:
uk.ac.gda.nexus:osgi.bundle: Trying provider local(file://{0}/plugins/{1}[file:///scratch/xx/plugins/uk.ac.gda.nexus])
uk.ac.gda.nexus:osgi.bundle: Found match
uk.ac.gda.nexus:osgi.bundle: Using provider local(file://{0}/plugins/{1}[file:///scratch/xx/plugins/uk.ac.gda.nexus])
uk.ac.gda.nexus:osgi.bundle: Resolution attempt ended with exception: Provider local(file:///scratch/xx/plugins/uk.ac.gda.nexus): Missing CSpec source required by component type osgi.bundle
In this case, the directory file:///scratch/xx/plugins/uk.ac.gda.nexus actually exists, and contains the correct content, with no permissions problems.
This is the type of entry in my rmap:
<rm:provider componentTypes="osgi.bundle" resolutionFilter="(try_local_provider=yes)" readerType="local">
<rm:uri format="file://{0}/plugins/{1}">
<bc:propertyRef key="workspace.root"/>
<bc:propertyRef key="buckminster.component"/>
</rm:uri>
</rm:provider>
<rm:provider componentTypes="osgi.bundle" readerType="svn">
<rm:uri format="${GDA_subversion}/${GDA_branch}/plugins/{0}">
<bc:propertyRef key="buckminster.component"/>
</rm:uri>
</rm:provider>
It always fails and falls through to the svn provider. This happens for every component type. What am I doing wrong?
Thanks
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02598 seconds