[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] update site from the product build

The key will be that you will need your very top level product Installable Unit, which is named based on the id in the .product file, to increase in version between each build.
You indicate this should be happening since you're updating the qualifier, but you can do as Ian suggests and look in the content.xml directly to see whats there.


From: Ian Bull <irbull@xxxxxxxxxxxxxxxxx>
To: P2 developer discussions <p2-dev@xxxxxxxxxxx>
Date: 10/02/2009 12:33 PM
Subject: Re: [p2-dev] update site from the product build
Sent by: p2-dev-bounces@xxxxxxxxxxx

This should work exactly as you describe it (I assume your bundles also have monotonically increasing version numbers). 

If you crack open the content.xml do you see your updated IUs (that is, the metadata corresponding to the new products / features / bundles you built)?  I wonder if you are pointing to an old version of the repository.


On Fri, Oct 2, 2009 at 9:23 AM, Andy Jin <AJin@xxxxxxx> wrote:
I have a product build using P2 with âp2.gatheringâ on. The product contains of one master feature which contains all the other sub-features. The master feature also contains the Eclipse platform (which contains all the P2 bundles).


The product build generates a âbuildRepoâ directory. In that directory there are âbinaryâ, âfeatureâ and âpluginsâ folder, and âcontent.xmlâ and âartifacts.xmlâ file.


We have daily builds. Each build increase the build qualifier in the product ID (e.g. to The main features and sub-features also has build qualifier increased daily.


I run build and add a new update site URL pointing to the âbuildRepoâ from build However when I run âCheck for updateâ I get âThere is nothing to updateâ message.


Is there anything wrong with my config? Can I use the âbuildRepoâ directly as update site?




p2-dev mailing list


R. Ian Bull | EclipseSource Victoria | +1 250 477 7484

http://eclipsesource.com | http://twitter.com/eclipsesource_______________________________________________
p2-dev mailing list