Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » problem with p2 update site for application with feature
problem with p2 update site for application with feature [message #546929] Wed, 14 July 2010 16:09
Eclipse UserFriend
Originally posted by:


I am using 3.5 PDE Build to create and package my RCP application. The build
is product-based where my .product file has a single feature. My problem is
that after the build creates my repository, and I deploy the repository, the
'Check for Updates' never shows my feature in the list of items that can be
updated. However, if I do the following:

1. Select Help->About 'MyProduct'
2. Click on 'Installation Details'
3. Select the installed product from the list (MyProduct) (I can see that my
feature is a child of the product)
4. Click the Update... button on the bottom of the screen.

Then my updates are found and everything works fine.

In my file are the following:

p2.metadata.repo=file:/${build.dir}/myproduct_repo Update Repository
p2.artifact.repo=file:/${build.dir}/myproduct_repo Artifact Repository

I am also using a transformed repo location for other features that I


I have tried numerous variations by adding the following properties:


I also install other features via the customAssembly.xml 'pre.archive'

<target name="pre.archive">
<ant antfile="${genericTargets}" target="runDirector" inheritAll="true">
<property name="p2.repo" value="file:${buildDirectory}/transformed"/>
<property name="p2.director.iu"
<property name="p2.director.installPath" value="${eclipse.base}"/>

I'm not sure what the problem is, but I think it has to do with the fact
that my product is installed and that the Check for Updates is possibly
looking just for features. Any help in figuring it out would be greatly
appreciated. What is interesting is that all of the features that I install
via pre-archive always show up in the Check for Updates dialog.

BTW, in the myproduct.product file, the application attribute is:


I'm thinking that perhaps i should break out my 'feature' build from the
'product' build and simply do an install like I do with the other features.
I'm not sure why I would have to do that, but I need to find a solution.


Previous Topic:build updatesite outside of eclipse IDE
Next Topic:problem with p2 update site for application with feature
Goto Forum:

Current Time: Mon Jun 18 19:34:06 GMT 2018

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

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

Back to the top