[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.buckminster] Re: Resolve gives me NullPointerException

Hi Mark!

and this is the output i get the second time:
-------
Found searchPath default for component com.company.application
ERROR [0001] : No suitable provider for component com.company.application:osgi.bundle was found in searchPath default
ERROR [0001] : Provider cvs(:pserver:mark@xxxxxxxxxx:/cvs,com.company.application): No match found for component com.company.application
-------

any clues? ideas ? hints ? stuff I could try ?

If there are not any other errors in the log before these, that means buckminster
can not find the component in CVS.


You have requested a plugin with ID com.company.application and version 0.0.0
in your CQUERY.


In order for buckminster to find it there must be a top level plugin project
in you cvs repository with exactly that directory name. The plugin has to
have the same ID _and_ its version has to be 0.0.0.


You can removed the "versionDesignator" attribute from your CQUERY, so
buckminster takes the latest version on the HEAD, AFAIK.

To identify a plugin (= bundle) I think buckminster at first tries to lookup
the META-INF/MANIFEST.MF file, where it can retrieve the bundle ID and version.
Maybe for 3.0 plugins it will get that information from plugin.xml?


layout where my project is directly under the HEAD. Do I have to specify this somewhere ?

The default for cvs is the HEAD. You can specify another branch or tag using
an advisor node in your CQUERY:


<cq:advisorNode namePattern="com.company.application" branchTagPath="THE_BRANCH_NAME"/>

In the RMAP you specify where your components are in the CVS repository.
 <rm:uri format=":pserver:mark@xxxxxxxxxx:/cvs,PATH_TO_COMPONENT/{0}">
   <bc:propertyRef key="buckminster.component" />
 </rm:uri>

I'm already searching for 2 days now, I'm not sure I explain spending much more time on buckminster without result...

Do not give up. A good resource is the buckminster repository itself.

- Michael