Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » How to tell Buckminster to prefer source bundle?
How to tell Buckminster to prefer source bundle? [message #656613] Sun, 27 February 2011 14:39 Go to next message
Axel Guckelsberger is currently offline Axel Guckelsberger
Messages: 224
Registered: July 2009
Senior Member
Hi all,

I have created a p2 site containing a metamodel feature and corresponding
plugins (as source as well as binary jars).

Now I want to use the source bundle in a subsequent build job.

With
buckminster.download.source=true
buckminster.convert.source=true
I reached that Buckminster downloads not only the binary jars, but the
source jars, too.

The problem is that the binary plugin seems to have a higher priority than
the source bundle.
This causes Buckminster thinking that imported packages do not exist. How
can I specify that Buckminster should use the source bundle? A cspex file
for the dependent plugin defining a dependency to the source bundle did not
help unfortunately.

Regards
Axel
Re: How to tell Buckminster to prefer source bundle? [message #656645 is a reply to message #656613] Sun, 27 February 2011 21:10 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
There must be some misunderstanding. A source bundle will not (and should not) fulfil any package requirements. They are
there for reference only. You still need the binary bundle in your target platform in order to get things work.

- thomas

On 2011-02-27 15:39, Axel Guckelsberger wrote:
> Hi all,
>
> I have created a p2 site containing a metamodel feature and corresponding
> plugins (as source as well as binary jars).
>
> Now I want to use the source bundle in a subsequent build job.
>
> With
> buckminster.download.source=true
> buckminster.convert.source=true
> I reached that Buckminster downloads not only the binary jars, but the
> source jars, too.
>
> The problem is that the binary plugin seems to have a higher priority than
> the source bundle.
> This causes Buckminster thinking that imported packages do not exist. How
> can I specify that Buckminster should use the source bundle? A cspex file
> for the dependent plugin defining a dependency to the source bundle did not
> help unfortunately.
>
> Regards
> Axel
>
Re: How to tell Buckminster to prefer source bundle? [message #657193 is a reply to message #656645] Tue, 01 March 2011 21:29 Go to previous message
Axel Guckelsberger is currently offline Axel Guckelsberger
Messages: 224
Registered: July 2009
Senior Member
Thank you, Thomas!

Axel


Thomas Hallgren wrote:

> There must be some misunderstanding. A source bundle will not (and should
> not) fulfil any package requirements. They are there for reference only.
> You still need the binary bundle in your target platform in order to get
> things work.
>
> - thomas
>
> On 2011-02-27 15:39, Axel Guckelsberger wrote:
>> Hi all,
>>
>> I have created a p2 site containing a metamodel feature and corresponding
>> plugins (as source as well as binary jars).
>>
>> Now I want to use the source bundle in a subsequent build job.
>>
>> With
>> buckminster.download.source=true
>> buckminster.convert.source=true
>> I reached that Buckminster downloads not only the binary jars, but the
>> source jars, too.
>>
>> The problem is that the binary plugin seems to have a higher priority
>> than the source bundle.
>> This causes Buckminster thinking that imported packages do not exist. How
>> can I specify that Buckminster should use the source bundle? A cspex file
>> for the dependent plugin defining a dependency to the source bundle did
>> not help unfortunately.
>>
>> Regards
>> Axel
>>
Previous Topic:Buckminster SVN uri
Next Topic:Product Build with Buckminster
Goto Forum:
  


Current Time: Wed Oct 22 05:11:01 GMT 2014

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

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