Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Making source features with Buckminster
Making source features with Buckminster [message #486995] Mon, 21 September 2009 12:51 Go to next message
Oisin Hurley is currently offline Oisin HurleyFriend
Messages: 204
Registered: July 2009
Senior Member
I've googled around for this and checked through the BuckyBook, but I didn't find anything particularly relevant. Is there a way to instruct Buckminster to add the source code of the plugins to a build? The idea is to make it easy to construct SDK bundles which contain source, examples, etc.

There may be a simple way to do this that I have missed...

cheers
--oh
Re: Making source features with Buckminster [message #487006 is a reply to message #486995] Mon, 21 September 2009 13:08 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Oisin,
Buckminster will generate source bundles and source features by default. You can turn it off by setting the property
cbi.include.source=false.

One thing to remember. In the manifest editor, there is a 'Build' tab. In that tab, you can select what you want
included in the 'Source Build'. You only need do check those things that are not normally included in the source. In
particular, you should *not* check things like the META-INF or the plugin.xml as they are generated in a source bundle.

Buckminster will create one source bundle per bundle and one specific source feature per feature. They will not be
categorized in the final site unless you do so explicitly.

If this isn't documented in the Bucky book, then that's an oversight that deserves a bugzilla.

Regards,
Thomas Hallgren



On 09/21/2009 02:51 PM, Oisin Hurley wrote:
> I've googled around for this and checked through the BuckyBook, but I
> didn't find anything particularly relevant. Is there a way to instruct
> Buckminster to add the source code of the plugins to a build? The idea
> is to make it easy to construct SDK bundles which contain source,
> examples, etc.
>
> There may be a simple way to do this that I have missed...
>
> cheers
> --oh
Re: Making source features with Buckminster [message #487076 is a reply to message #487006] Mon, 21 September 2009 18:22 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Bucky Book 0.6 (I think this was in 0.5 as well) has the following info
on page 154:

"cbi.include.source

Controls generation of source features and bundles. When set to true,
source bundles are generated and included in the update site.

Warning
Source features and bundles are generated and included in the update
site unless you set this property to false. For open source projects
this is typically what is wanted, but it may not be suitable for your
project."

I agree this is not in the most prominent of places (in the reference
page for the site.p2 action).

Maybe just include a "building source" section in the site building
example (to get a heading in the TOC) that shows the use of this
property (i.e. do nothing if you want the source bundles).

Wht do you think?

- henrik

Thomas Hallgren wrote:
> Hi Oisin,
> Buckminster will generate source bundles and source features by default.
> You can turn it off by setting the property cbi.include.source=false.
>
> One thing to remember. In the manifest editor, there is a 'Build' tab.
> In that tab, you can select what you want included in the 'Source
> Build'. You only need do check those things that are not normally
> included in the source. In particular, you should *not* check things
> like the META-INF or the plugin.xml as they are generated in a source
> bundle.
>
> Buckminster will create one source bundle per bundle and one specific
> source feature per feature. They will not be categorized in the final
> site unless you do so explicitly.
>
> If this isn't documented in the Bucky book, then that's an oversight
> that deserves a bugzilla.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 09/21/2009 02:51 PM, Oisin Hurley wrote:
>> I've googled around for this and checked through the BuckyBook, but I
>> didn't find anything particularly relevant. Is there a way to instruct
>> Buckminster to add the source code of the plugins to a build? The idea
>> is to make it easy to construct SDK bundles which contain source,
>> examples, etc.
>>
>> There may be a simple way to do this that I have missed...
>>
>> cheers
>> --oh
>
Re: Making source features with Buckminster [message #487178 is a reply to message #487076] Tue, 22 September 2009 10:45 Go to previous messageGo to next message
Oisin Hurley is currently offline Oisin HurleyFriend
Messages: 204
Registered: July 2009
Senior Member
Thanks, Thomas, Henrik. I think the only issue here was the discoverability of the content, so putting into the site example and thus getting the link from the TOC would work nicely.

cheers
--oh

Re: Making source features with Buckminster [message #487200 is a reply to message #487178] Tue, 22 September 2009 12:42 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Logged - https://bugs.eclipse.org/bugs/show_bug.cgi?id=290119

Oisin Hurley wrote:
> Thanks, Thomas, Henrik. I think the only issue here was the
> discoverability of the content, so putting into the site example and
> thus getting the link from the TOC would work nicely.
>
> cheers
> --oh
>
>
Re: Making source features with Buckminster [message #487283 is a reply to message #487200] Tue, 22 September 2009 16:30 Go to previous messageGo to next message
Oisin Hurley is currently offline Oisin HurleyFriend
Messages: 204
Registered: July 2009
Senior Member
Thanks, Henrik.

I've noticed that setting cbi.include.sources=true in the STP toplevel build causes the build to hang for some reason. It's reproducible, so I'm attempting to produce a test case and will log a bug later.

--oh
Re: Making source features with Buckminster [message #487292 is a reply to message #487283] Tue, 22 September 2009 16:52 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Oisin Hurley wrote:
> Thanks, Henrik.
>
> I've noticed that setting cbi.include.sources=true in the STP toplevel
> build causes the build to hang for some reason. It's reproducible, so
> I'm attempting to produce a test case and will log a bug later.
>
> --oh
It is supposed to generate source by default (i.e. if
cbi.include.sources is not set at all) - maybe it is setting it
explicetly to true that causes the hickup ?

- henrik
Re: Making source features with Buckminster [message #487461 is a reply to message #487292] Wed, 23 September 2009 10:50 Go to previous message
Oisin Hurley is currently offline Oisin HurleyFriend
Messages: 204
Registered: July 2009
Senior Member
Henrik Lindberg wrote on Tue, 22 September 2009 12:52
Oisin Hurley wrote:
It is supposed to generate source by default (i.e. if
cbi.include.sources is not set at all) - maybe it is setting it
explicetly to true that causes the hickup ?



No, it hangs when I remove the cbi.include.sources explicit assignment too Smile

Haven't had a chance to slim down to test case as yet...

--oh
Previous Topic:headless 1.1.350.r10655 installation problem
Next Topic:Problems resolving some jackrabbit components from maven central
Goto Forum:
  


Current Time: Fri Apr 19 22:04:01 GMT 2024

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

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

Back to the top