Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Features not installed during product install
Features not installed during product install [message #68353] Fri, 17 July 2009 15:48 Go to next message
Paul Warren is currently offline Paul WarrenFriend
Messages: 34
Registered: July 2009
Member
I'm pde building a product based on a feature.

Only plugins are getting installed during the p2.director install phase of
the build.

I can see the features get generated to the p2 repo and if I inspect
content.xml I can see my product requires the feature's feature.group which
in turns requires the feature.jar, etc.

However, as I say, during the p2.director install phase of the build, where
I install the product to get final the product image, my feature is
missing. It's bundles are there but no feature.

Am I missing some setting?

Cheers
_Paul
Re: Features not installed during product install [message #68366 is a reply to message #68353] Fri, 17 July 2009 17:03 Go to previous messageGo to next message
Paul Warren is currently offline Paul WarrenFriend
Messages: 34
Registered: July 2009
Member
Answered my own question. Use p2.direcrtor parameter -profileProperties
org.eclipse.install.features=true

Thanks
_Paul

"Paul Warren" <warren_paul@emc.com> wrote in message
news:h3q6fk$bhb$1@build.eclipse.org...
> I'm pde building a product based on a feature.
>
> Only plugins are getting installed during the p2.director install phase of
> the build.
>
> I can see the features get generated to the p2 repo and if I inspect
> content.xml I can see my product requires the feature's feature.group
> which in turns requires the feature.jar, etc.
>
> However, as I say, during the p2.director install phase of the build,
> where I install the product to get final the product image, my feature is
> missing. It's bundles are there but no feature.
>
> Am I missing some setting?
>
> Cheers
> _Paul
>
Re: Features not installed during product install [message #68424 is a reply to message #68366] Mon, 20 July 2009 15:04 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
For completeness, in 3.4 when building with "generate.p2.metadata=true",
you need to do the director call yourself. as Paul is doing.

In 3.5 when building with the new "p2.gathering=true", PDE/Build will do
the director call automatically for you.

In this case, there is a property "p2.director.extraArgs", and the
default value is
p2.director.extraArgs=-profileProperties \
org.eclipse.update.install.features=true


-Andrew
Paul Warren wrote:
> Answered my own question. Use p2.direcrtor parameter -profileProperties
> org.eclipse.install.features=true
>
> Thanks
> _Paul
>
> "Paul Warren" <warren_paul@emc.com> wrote in message
> news:h3q6fk$bhb$1@build.eclipse.org...
>> I'm pde building a product based on a feature.
>>
>> Only plugins are getting installed during the p2.director install phase of
>> the build.
>>
>> I can see the features get generated to the p2 repo and if I inspect
>> content.xml I can see my product requires the feature's feature.group
>> which in turns requires the feature.jar, etc.
>>
>> However, as I say, during the p2.director install phase of the build,
>> where I install the product to get final the product image, my feature is
>> missing. It's bundles are there but no feature.
>>
>> Am I missing some setting?
>>
>> Cheers
>> _Paul
>>
>
>
Re: Features not installed during product install [message #599536 is a reply to message #68353] Fri, 17 July 2009 17:03 Go to previous message
Paul Warren is currently offline Paul WarrenFriend
Messages: 34
Registered: July 2009
Member
Answered my own question. Use p2.direcrtor parameter -profileProperties
org.eclipse.install.features=true

Thanks
_Paul

"Paul Warren" <warren_paul@emc.com> wrote in message
news:h3q6fk$bhb$1@build.eclipse.org...
> I'm pde building a product based on a feature.
>
> Only plugins are getting installed during the p2.director install phase of
> the build.
>
> I can see the features get generated to the p2 repo and if I inspect
> content.xml I can see my product requires the feature's feature.group
> which in turns requires the feature.jar, etc.
>
> However, as I say, during the p2.director install phase of the build,
> where I install the product to get final the product image, my feature is
> missing. It's bundles are there but no feature.
>
> Am I missing some setting?
>
> Cheers
> _Paul
>
Re: Features not installed during product install [message #599583 is a reply to message #68366] Mon, 20 July 2009 15:04 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
For completeness, in 3.4 when building with "generate.p2.metadata=true",
you need to do the director call yourself. as Paul is doing.

In 3.5 when building with the new "p2.gathering=true", PDE/Build will do
the director call automatically for you.

In this case, there is a property "p2.director.extraArgs", and the
default value is
p2.director.extraArgs=-profileProperties \
org.eclipse.update.install.features=true


-Andrew
Paul Warren wrote:
> Answered my own question. Use p2.direcrtor parameter -profileProperties
> org.eclipse.install.features=true
>
> Thanks
> _Paul
>
> "Paul Warren" <warren_paul@emc.com> wrote in message
> news:h3q6fk$bhb$1@build.eclipse.org...
>> I'm pde building a product based on a feature.
>>
>> Only plugins are getting installed during the p2.director install phase of
>> the build.
>>
>> I can see the features get generated to the p2 repo and if I inspect
>> content.xml I can see my product requires the feature's feature.group
>> which in turns requires the feature.jar, etc.
>>
>> However, as I say, during the p2.director install phase of the build,
>> where I install the product to get final the product image, my feature is
>> missing. It's bundles are there but no feature.
>>
>> Am I missing some setting?
>>
>> Cheers
>> _Paul
>>
>
>
Previous Topic:Update Site: Categories don't work
Next Topic:Debugging org.eclipse.compare
Goto Forum:
  


Current Time: Tue Apr 23 10:39:47 GMT 2024

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

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

Back to the top