Features not installed during product install [message #68353] |
Fri, 17 July 2009 11:48  |
Eclipse User |
|
|
|
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 11:04  |
Eclipse User |
|
|
|
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 13:03  |
Eclipse User |
|
|
|
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 11:04  |
Eclipse User |
|
|
|
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
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.24515 seconds