Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Multiple product files within the same plugin
icon5.gif  Multiple product files within the same plugin [message #547399] Fri, 16 July 2010 15:41 Go to next message
Christian Kesselheim is currently offline Christian Kesselheim
Messages: 59
Registered: June 2010
Member
Hello everybody,

I recently found that Buckminster doesn't much appreciate if you put multiple product files (both pointing to the same product extension) into one and the same plugin project.

Project refresh on org.eclipse.riena.example.client failed: Attribute org.eclipse.riena.example.client.example_product is defined more then once in component org.eclipse.riena.example.client


Is that a deliberate limitation of Buckminster or how to best work my way around such a situation (apart from actually deleting one of the offending product files, which I find quite invasive)?

Thanks in advance,

Chris

PS: The corresponding source code can be found here.

[Updated on: Fri, 16 July 2010 15:42]

Report message to a moderator

Re: Multiple product files within the same plugin [message #547403 is a reply to message #547399] Fri, 16 July 2010 15:53 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
Buckminster attempts to generate actions for the products declared in the product files. It should be possible to have
several files but they need to have unique product ids. In your case it seems you have several files that use the same
id, i.e. 'org.eclipse.riena.example.client.example'.

- thomas

On 07/16/2010 05:41 PM, Christian Kesselheim wrote:
> Hello everybody,
>
> I recently found that Buckminster doesn't much appreciate if you put
> multiple product files (both pointing to the same product extension)
> into one and the same plugin project.
>
> Project refresh on org.eclipse.riena.example.client failed: Attribute
> org.eclipse.riena.example.client.example_product is defined more then
> once in component org.eclipse.riena.example.client
>
> Is that a deliberate limitation of Buckminster or how to best work my
> way around such a situation (apart from actually deleting one of the
> offending product files, which I find quite invasive)?
>
> Thanks in advance,
>
> Chris
>
> PS: The corresponding source code can be found
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.riena/o rg.eclipse.riena.example.client/?root=RT_Project
>
>
>
Re: Multiple product files within the same plugin [message #547404 is a reply to message #547403] Fri, 16 July 2010 16:02 Go to previous messageGo to next message
Christian Kesselheim is currently offline Christian Kesselheim
Messages: 59
Registered: June 2010
Member
True. The reason behind that lies with the fact that its currently only the command line arguments that differ for the two products in question.

Any chance that I can somehow "force" Buckminster to ignore one of these product files without actually deleting it?
Re: Multiple product files within the same plugin [message #547567 is a reply to message #547404] Sun, 18 July 2010 21:20 Go to previous message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
On 07/16/2010 06:02 PM, Christian Kesselheim wrote:
> True. The reason behind that lies with the fact that its currently only
> the command line arguments that differ for the two products in question.
>
> Any chance that I can somehow "force" Buckminster to ignore one of these
> product files without actually deleting it?

No, I'm sorry. There's no such option. Feel free to enter an enhancement
request.

- thomas
Previous Topic:svn+ssh and svn provider
Next Topic:Nested Categories in build.properties
Goto Forum:
  


Current Time: Wed Sep 03 02:22:41 GMT 2014

Powered by FUDForum. Page generated in 0.01525 seconds