Home » Archived » Buckminster » SVN readerType, headless, No component found(newbie)
SVN readerType, headless, No component found [message #954360] |
Mon, 22 October 2012 20:43  |
Eclipse User |
|
|
|
Hello Eclipse forum, I am quickly going to describe what I want to achieve:
I have an Eclipse product that I want to customize adding basically plugins. The developer usually has the target platform and just adds his/her plugin(s) in the plugin folder of this product after having implemented them and tested on his/her local environment. What I would like to do is to automate the building with Cruise Control and Buckminster (headless) on a separate machine and have there non-regression tests.
From "The definitive guide to Buckminster" I understood that I can have a release site which basically include the plugin(s) that I am developing in its feature.xml.
Now, I created a Releng feature which points to another feature (my product placeholder), which in turn points (through feature.xml) to the plugin(s).
This is the structure:
releng - feature.xml
product - feature.xml
plugin - plugin.xml
Note that the product doesn't actually contain a .product.
The plugin is contained in a SVN. I am trying to materialize the plugin in the workspace to see if I got the rmap/cquery right, but when I call either from the PDE or headless Buckminster, I get that dreaded "No component found".
My repo looks like this:
Fttps://svn.repo.com/MyProject/trunk/My_Project
If my rmap points directly to the last My_Project folder, Buckminster complains with "No component found", if I point to the trunk folder, Buckminster complains with "No cspec found". The version in the product feature is 0.0.0, while the plugin has its own version.
I really don't understand why the component is not found. Maybe because it's not a jar? The fact is that I don't have a jar yet, because it is what I want to dynamically build from the source...
Do you guys have some advice, what can I try to change?
Thank you very much!!
[Updated on: Mon, 22 October 2012 20:45] by Moderator
|
|
|
Re: SVN readerType, headless, No component found [message #955236 is a reply to message #954360] |
Tue, 23 October 2012 12:23   |
Eclipse User |
|
|
|
Can you post your RMAP?
- henrik
On 2012-23-10 2:43, Andrea Richiardi wrote:
> Hello Eclipse forum, I am quickly going to describe what I want to achieve:
> I have an Eclipse product that I want to customize adding basically
> plugins. The developer usually has the target platform and just adds
> his/her plugin(s) in the plugin folder of this product after having
> implemented them and tested on his/her local environment. What I would
> like to do is to automate the building with Cruise Control and
> Buckminster (headless) on a separate machine and have there
> non-regression tests.
>
> From "The definitive guide to Buckminster" I understood that I can have
> a release site which basically include the plugin(s) that I am
> developing in its feature.xml.
>
> Now, I created a Releng feature which points to another feature (my
> product placeholder), which in turn points (through feature.xml) to the
> plugin(s).
>
> This is the structure:
>
> releng - feature.xml
> product - feature.xml
> plugin - plugin.xml
>
> Note that the product doesn't actually contain a .product.
>
> The plugin is contained in a SVN. I am trying to materialize the plugin
> in the workspace to see if I got the rmap/cquery right, but when I call
> either from the PDE or headless Buckminster, I get that dreaded "No
> component found".
>
> My repo looks like this:
> h**ps://svn.repo.com/MyProject/trunk/My_Project
>
> If my rmap points directly to the last My_Project folder, Buckminster
> complains with "No component found", if I point to the trunk folder,
> Buckminster complains with "No cspec found". The version in the product
> feature is 0.0.0, while the plugin has its own version.
>
> I really don't understand why the component is not found. Maybe because
> it's not a jar? The fact is that I don't have a jar yet, because it is
> what I want to dynamically build from the source... :?
> Do you guys have some advice, what can I try to change?
>
> Thank you very much!! :roll:
>
>
> :lol:
|
|
| |
Re: SVN readerType, headless, No component found [message #957432 is a reply to message #956400] |
Thu, 25 October 2012 04:11   |
Eclipse User |
|
|
|
ok, so you are looking for components in source form that are bundles or
features. Buckminster will then look for the Eclipse metadata (META-INF,
feature.xml, plugin.xml, etc) - see the bucky book for the the details
per type. Buckminster also looks for a cspex in these cases (containing
additions/modifications to the discovered metadata).
A cspec is used by a buckminster type of component (i.e. when there is
no other metadata to get the component description from).
I wonder why you have source = false - isn't this source you want to build?
Regards
- henrik
On 2012-24-10 15:29, Andrea Richiardi wrote:
> Sure, the plugin folder with the source code (and plugin.xml) is after {5}.
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <rm:rmap xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0"
> xmlns:rm="http://www.eclipse.org/buckminster/RMap-1.0">
> <rm:property key="use.build" value="RBUILD"/>
> <rm:property key="svn.username" value="user"/>
> <rm:property key="svn.password" value="psw"/>
> <rm:property key="svn.repo.proto" value="https"/>
> <rm:property key="svn.repo.url" value="server.com"/>
> <rm:property key="svn.repo.name" value="svn"/>
> <rm:property key="svn.repo.proj" value="project"/>
> <rm:property key="local.dir" value="test"/>
> <rm:property key="local.platform.dir" value="platform"/>
>
> <rm:locator searchPathRef="com.company.svn"
> pattern="^com\.company\.ui\..+"/>
> <rm:searchPath name="com.company.svn">
> <rm:provider componentTypes="osgi.bundle,eclipse.feature"
> readerType="svn" mutable="true" source="false">
> <rm:uri format="{0}://{1}:{2}@{3}/{4}/trunk/{5}">
> <bc:propertyRef key="svn.repo.proto"/>
> <bc:propertyRef key="svn.username"/>
> <bc:propertyRef key="svn.password"/>
> <bc:propertyRef key="svn.repo.url"/>
> <bc:propertyRef key="svn.repo.name"/>
> <bc:propertyRef key="svn.repo.proj"/>
> </rm:uri>
> </rm:provider>
> </rm:searchPath>
> </rm:rmap>
|
|
| | | |
Re: SVN readerType, headless, No component found [message #968808 is a reply to message #967160] |
Fri, 02 November 2012 15:29  |
Eclipse User |
|
|
|
Ok thanks!
The fact is that I want to be able to have different "version" of the target platform as well. That why I was thinking of keeping them in another repository.
The problem is that the target platform is usually bigger and I don't want to materialize all the plugins. Just the one that are needed by the plugin.
Do you think I can achieve this?
[Updated on: Fri, 02 November 2012 15:31] by Moderator
|
|
|
Goto Forum:
Current Time: Sun May 11 15:07:28 EDT 2025
Powered by FUDForum. Page generated in 0.04649 seconds
|