Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » superfluous feature project ? (bucky book chapter13)
superfluous feature project ? (bucky book chapter13) [message #543405] Tue, 29 June 2010 10:51 Go to next message
Bernhard Merkle is currently offline Bernhard MerkleFriend
Messages: 88
Registered: July 2009
Member
Hi there,

regarding chapter 13 of the bucky book: it is really necessary to build a own feature project ?
I thought that adding the category.* magic dust to my build.properties (like in [1]) would save an additional feature project. (but it did no really work here).

So question: how can I easily build a p2 update site with exported feature and avoid having an own feature project. Essentially I think i only need feature.xml in my buckminster project and no site.xml.

site.xml is the way we build legacy updates (chapter 13) but i only need a p2 update site.

attached is my current project. thanks for your help.

kind regards,
Bernhard.

[1] news://news.eclipse.org:119/7ec6b73382251d73af6d7d65b3bd513b $1@www.eclipse.org
Re: superfluous feature project ? (bucky book chapter13) [message #543411 is a reply to message #543405] Tue, 29 June 2010 11:12 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Something must define the full content of the resulting repo. If your
existing feature already does this it can be used ( but then setting
property that it should serve dual duty and also be included in the
repo). The site.p2 action is available on all features.

This does not work all that well if you want things in your repository
that are not defined by your existing feature I.e things from your
target platform, or a second disjunct feature. Also, you may not want to
have definitions of categories and other site related info directly in
your existing feature.

Does that help you?
- henrik
Bernhard Merkle <bernhard.merkle@gmail.com> wrote:
> Hi there,
>
> regarding chapter 13 of the bucky book: it is really necessary to
> build a own feature project ?
> I thought that adding the category.* magic dust to my build.properties
> (like in [1]) would save an additional feature project. (but it did no
> really work here).
>
> So question: how can I easily build a p2 update site with exported
> feature and avoid having an own feature project. Essentially I think i
> only need feature.xml in my buckminster project and no site.xml.
>
> site.xml is the way we build legacy updates (chapter 13) but i only
> need a p2 update site.
>
> attached is my current project. thanks for your help.
>
> kind regards,
> Bernhard.
>
> [1]
> news://news.eclipse.org:119/7ec6b73382251d73af6d7d65b3bd513b $1@www.eclipse.org


--
- henrik
Re: superfluous feature project ? (bucky book chapter13) [message #543713 is a reply to message #543411] Wed, 30 June 2010 11:39 Go to previous messageGo to next message
Bernhard Merkle is currently offline Bernhard MerkleFriend
Messages: 88
Registered: July 2009
Member
yes this helped. Thank you very much.
maybe we should add some notes in the bucky book ?
Re: superfluous feature project ? (bucky book chapter13) [message #543825 is a reply to message #543713] Wed, 30 June 2010 16:52 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Absolutely, please log a documentation issue and if possible indicate
where in the text you would have been helped with an explanation why it
is good to have the "superfluous" feature...

Regards
- henrik

On 6/30/10 1:39 PM, Bernhard Merkle wrote:
> yes this helped. Thank you very much.
> maybe we should add some notes in the bucky book ?
>
Previous Topic:Location of predefined actions
Next Topic:SVN Repository link is broken http://www.eclipse.org/buckminster
Goto Forum:
  


Current Time: Sat Oct 05 05:33:25 GMT 2024

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

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

Back to the top