Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Creating a Product and then updating via Update Site


Thanks to the new Tycho 0.20.0-SNAPSHOT installRoot feature, I was able to cleanup my build, and get the root features.

But I'm still not totally there :

I want to simulate updates.
So I create a product based on Kepler sr1.
I open it, then trigger "check for updates", select it, let the update happen, and the restart occur.
The restart takes a looooooooong time (several minutes, so long that on my first attempts I didn't even wait, I just thought the Eclipse process was down), but finally I've got a working environment
And then every new start keeps taking a looooooooooong time (and also I think I don't see my product image and progress bar anymore, but maybe I'm wrong since I don't have the patience to keep a constant eye on what's happening in the background).

What may I be doing wrong ?

FWIW, here's the current product definition file:

Thanks if you can help me,

Laurent Petit

2014-02-04 16:24 GMT+01:00 Laurent PETIT <laurent.petit@xxxxxxxxx>:
Hello Paul, and Mikhail,

seems like setting the right namespace in ccw.p2.inf did the trick !

Thus I was able to skip the "manual" installation of the IU => I now only see the feature under the product's node in the About page, and seems like I am able to update ccw feature.

Should I be able to just extend this knowledge to all other features inside my product (JDT, EGit, Platform, etc.) and expect it to work ?

2014-02-04 Paul Webster <pwebster@xxxxxxxxxxxxxxxxxxx>:
Hi Laurent,

On Thu, Jan 30, 2014 at 4:42 PM, Laurent PETIT <laurent.petit@xxxxxxxxx> wrote:

I'm not sure I understand what you mean by "you need to find its 'inclusion' point [...] and use the p2.inf ...". It's the "inclusion point" that I don't understand, and maybe I'm missing something important ?

Mikail's got it right for inclusion points, namespaces, and upper bounds.
I kind of remember I attempted to both let my feature declared in my .product file and broaden the version range by adding requires in the product's p2.inf file. As a result, I was seing, in the About page of the resulting product, the feature declared 2 times in the graphical tree: once as a child of the product, and once as a separate root in the tree. Is that expected, or is it symptomatic of a mistake?

That's expected.  You can see IUs in root locations as well as under your product.


Paul Webster
Hi floor.  Make me a sammich! - GIR

tycho-user mailing list

Back to the top