Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » p2.inf
p2.inf [message #552363] Wed, 11 August 2010 21:57 Go to next message
Austin Morgan is currently offline Austin MorganFriend
Messages: 42
Registered: July 2009
Member
I am trying to add some property metadata to an feature for my p2
repository. I add the following lines to my p2.inf which is located in
the same directory as my features.xml but nothing happens.

Marigold_Poky_SDK.properties.0.name = org.eclipse.pulsar.category.name
Marigold_Poky_SDK.properties.0.value = Garmin SDKs
Marigold_Poky_SDK.properties.1.name =
org.ecllpse.pulsar.category.description
Marigold_Poky_SDK.properties.1.value = SDKs for the Marigold Product
Marigold_Poky_SDK.properties.2.name = org.eclipse.pulsar.type
Marigold_Poky_SDK.properties.2.value = ziparchive

I am working of infomration I got from
http://wiki.eclipse.org/Equinox/p2/Customizing_Metadata

Any suggestions for how to get these setting to appear in the
content.xml?

Austin
Re: p2.inf [message #552813 is a reply to message #552363] Fri, 13 August 2010 15:46 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
You don't want the "Marigold_Poky_SDK." prefix, try just

properties.0.name = org.eclipse.pulsar.category.name
properties.0.value = Garmin SDKs
properties.1.name = org.ecllpse.pulsar.category.description
properties.1.value = SDKs for the Marigold Product
properties.2.name = org.eclipse.pulsar.type
properties.2.value = ziparchive

-Andrew
Austin Morgan wrote:

> I am trying to add some property metadata to an feature for my p2
> repository. I add the following lines to my p2.inf which is located in
> the same directory as my features.xml but nothing happens.
>
> Marigold_Poky_SDK.properties.0.name = org.eclipse.pulsar.category.name
> Marigold_Poky_SDK.properties.0.value = Garmin SDKs
> Marigold_Poky_SDK.properties.1.name =
> org.ecllpse.pulsar.category.description
> Marigold_Poky_SDK.properties.1.value = SDKs for the Marigold Product
> Marigold_Poky_SDK.properties.2.name = org.eclipse.pulsar.type
> Marigold_Poky_SDK.properties.2.value = ziparchive
>
> I am working of infomration I got from
> http://wiki.eclipse.org/Equinox/p2/Customizing_Metadata
>
> Any suggestions for how to get these setting to appear in the
> content.xml?
>
> Austin
Re: p2.inf [message #553171 is a reply to message #552813] Mon, 16 August 2010 15:17 Go to previous messageGo to next message
Austin Morgan is currently offline Austin MorganFriend
Messages: 42
Registered: July 2009
Member
Andrew that worked great, I have a follow up issue. I tried adding a
touchpoint id with the following lines and they don't seem to be picked
up. Any suggestions?

touchpoint.0.id = org.eclipse.equinox.p2.native
touchpoint.0.version = 1.0.0
instructions.install = unzip(source:@artifact, target:${installFolder}/sdk/Marigold-0.1.0/)
instructions.uninstall = remove(path:${installFolder}/sdk/Marigold-0.1.0/)

The instructions lines work as I would expect, but the touchpoint id is
always null with a version of 0.0.0

On Fri, Aug 13, 2010 at 11:46:23AM -0400, Andrew Niefer wrote:
> You don't want the "Marigold_Poky_SDK." prefix, try just
>
> properties.0.name = org.eclipse.pulsar.category.name
> properties.0.value = Garmin SDKs
> properties.1.name = org.ecllpse.pulsar.category.description
> properties.1.value = SDKs for the Marigold Product
> properties.2.name = org.eclipse.pulsar.type
> properties.2.value = ziparchive
>
> -Andrew
> Austin Morgan wrote:
>
> > I am trying to add some property metadata to an feature for my p2
> > repository. I add the following lines to my p2.inf which is located in
> > the same directory as my features.xml but nothing happens.
> >
> > Marigold_Poky_SDK.properties.0.name = org.eclipse.pulsar.category.name
> > Marigold_Poky_SDK.properties.0.value = Garmin SDKs
> > Marigold_Poky_SDK.properties.1.name =
> > org.ecllpse.pulsar.category.description
> > Marigold_Poky_SDK.properties.1.value = SDKs for the Marigold Product
> > Marigold_Poky_SDK.properties.2.name = org.eclipse.pulsar.type
> > Marigold_Poky_SDK.properties.2.value = ziparchive
> >
> > I am working of infomration I got from
> > http://wiki.eclipse.org/Equinox/p2/Customizing_Metadata
> >
> > Any suggestions for how to get these setting to appear in the
> > content.xml?
> >
> > Austin
>
Re: p2.inf [message #553467 is a reply to message #553171] Tue, 17 August 2010 15:24 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
There can only be one touchpoint on an IU, so you don't need the ".0":
> touchpoint.id = org.eclipse.equinox.p2.native
> touchpoint.version = 1.0.0

Austin Morgan wrote:

> Andrew that worked great, I have a follow up issue. I tried adding a
> touchpoint id with the following lines and they don't seem to be picked
> up. Any suggestions?
>
> touchpoint.0.id = org.eclipse.equinox.p2.native
> touchpoint.0.version = 1.0.0
> instructions.install = unzip(source:@artifact,
> target:${installFolder}/sdk/Marigold-0.1.0/) instructions.uninstall =
> remove(path:${installFolder}/sdk/Marigold-0.1.0/)
>
> The instructions lines work as I would expect, but the touchpoint id is
> always null with a version of 0.0.0
>
> On Fri, Aug 13, 2010 at 11:46:23AM -0400, Andrew Niefer wrote:
>> You don't want the "Marigold_Poky_SDK." prefix, try just
>>
>> properties.0.name = org.eclipse.pulsar.category.name
>> properties.0.value = Garmin SDKs
>> properties.1.name = org.ecllpse.pulsar.category.description
>> properties.1.value = SDKs for the Marigold Product
>> properties.2.name = org.eclipse.pulsar.type
>> properties.2.value = ziparchive
>>
>> -Andrew
>> Austin Morgan wrote:
>>
>> > I am trying to add some property metadata to an feature for my p2
>> > repository. I add the following lines to my p2.inf which is located in
>> > the same directory as my features.xml but nothing happens.
>> >
>> > Marigold_Poky_SDK.properties.0.name = org.eclipse.pulsar.category.name
>> > Marigold_Poky_SDK.properties.0.value = Garmin SDKs
>> > Marigold_Poky_SDK.properties.1.name =
>> > org.ecllpse.pulsar.category.description
>> > Marigold_Poky_SDK.properties.1.value = SDKs for the Marigold Product
>> > Marigold_Poky_SDK.properties.2.name = org.eclipse.pulsar.type
>> > Marigold_Poky_SDK.properties.2.value = ziparchive
>> >
>> > I am working of infomration I got from
>> > http://wiki.eclipse.org/Equinox/p2/Customizing_Metadata
>> >
>> > Any suggestions for how to get these setting to appear in the
>> > content.xml?
>> >
>> > Austin
>>
Re: p2.inf [message #606464 is a reply to message #552363] Fri, 13 August 2010 15:46 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
You don't want the "Marigold_Poky_SDK." prefix, try just

properties.0.name = org.eclipse.pulsar.category.name
properties.0.value = Garmin SDKs
properties.1.name = org.ecllpse.pulsar.category.description
properties.1.value = SDKs for the Marigold Product
properties.2.name = org.eclipse.pulsar.type
properties.2.value = ziparchive

-Andrew
Austin Morgan wrote:

> I am trying to add some property metadata to an feature for my p2
> repository. I add the following lines to my p2.inf which is located in
> the same directory as my features.xml but nothing happens.
>
> Marigold_Poky_SDK.properties.0.name = org.eclipse.pulsar.category.name
> Marigold_Poky_SDK.properties.0.value = Garmin SDKs
> Marigold_Poky_SDK.properties.1.name =
> org.ecllpse.pulsar.category.description
> Marigold_Poky_SDK.properties.1.value = SDKs for the Marigold Product
> Marigold_Poky_SDK.properties.2.name = org.eclipse.pulsar.type
> Marigold_Poky_SDK.properties.2.value = ziparchive
>
> I am working of infomration I got from
> http://wiki.eclipse.org/Equinox/p2/Customizing_Metadata
>
> Any suggestions for how to get these setting to appear in the
> content.xml?
>
> Austin
Re: p2.inf [message #606470 is a reply to message #552813] Mon, 16 August 2010 15:17 Go to previous message
Austin Morgan is currently offline Austin MorganFriend
Messages: 42
Registered: July 2009
Member
Andrew that worked great, I have a follow up issue. I tried adding a
touchpoint id with the following lines and they don't seem to be picked
up. Any suggestions?

touchpoint.0.id = org.eclipse.equinox.p2.native
touchpoint.0.version = 1.0.0
instructions.install = unzip(source:@artifact, target:${installFolder}/sdk/Marigold-0.1.0/)
instructions.uninstall = remove(path:${installFolder}/sdk/Marigold-0.1.0/)

The instructions lines work as I would expect, but the touchpoint id is
always null with a version of 0.0.0

On Fri, Aug 13, 2010 at 11:46:23AM -0400, Andrew Niefer wrote:
> You don't want the "Marigold_Poky_SDK." prefix, try just
>
> properties.0.name = org.eclipse.pulsar.category.name
> properties.0.value = Garmin SDKs
> properties.1.name = org.ecllpse.pulsar.category.description
> properties.1.value = SDKs for the Marigold Product
> properties.2.name = org.eclipse.pulsar.type
> properties.2.value = ziparchive
>
> -Andrew
> Austin Morgan wrote:
>
> > I am trying to add some property metadata to an feature for my p2
> > repository. I add the following lines to my p2.inf which is located in
> > the same directory as my features.xml but nothing happens.
> >
> > Marigold_Poky_SDK.properties.0.name = org.eclipse.pulsar.category.name
> > Marigold_Poky_SDK.properties.0.value = Garmin SDKs
> > Marigold_Poky_SDK.properties.1.name =
> > org.ecllpse.pulsar.category.description
> > Marigold_Poky_SDK.properties.1.value = SDKs for the Marigold Product
> > Marigold_Poky_SDK.properties.2.name = org.eclipse.pulsar.type
> > Marigold_Poky_SDK.properties.2.value = ziparchive
> >
> > I am working of infomration I got from
> > http://wiki.eclipse.org/Equinox/p2/Customizing_Metadata
> >
> > Any suggestions for how to get these setting to appear in the
> > content.xml?
> >
> > Austin
>
Re: p2.inf [message #606475 is a reply to message #553171] Tue, 17 August 2010 15:24 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
There can only be one touchpoint on an IU, so you don't need the ".0":
> touchpoint.id = org.eclipse.equinox.p2.native
> touchpoint.version = 1.0.0

Austin Morgan wrote:

> Andrew that worked great, I have a follow up issue. I tried adding a
> touchpoint id with the following lines and they don't seem to be picked
> up. Any suggestions?
>
> touchpoint.0.id = org.eclipse.equinox.p2.native
> touchpoint.0.version = 1.0.0
> instructions.install = unzip(source:@artifact,
> target:${installFolder}/sdk/Marigold-0.1.0/) instructions.uninstall =
> remove(path:${installFolder}/sdk/Marigold-0.1.0/)
>
> The instructions lines work as I would expect, but the touchpoint id is
> always null with a version of 0.0.0
>
> On Fri, Aug 13, 2010 at 11:46:23AM -0400, Andrew Niefer wrote:
>> You don't want the "Marigold_Poky_SDK." prefix, try just
>>
>> properties.0.name = org.eclipse.pulsar.category.name
>> properties.0.value = Garmin SDKs
>> properties.1.name = org.ecllpse.pulsar.category.description
>> properties.1.value = SDKs for the Marigold Product
>> properties.2.name = org.eclipse.pulsar.type
>> properties.2.value = ziparchive
>>
>> -Andrew
>> Austin Morgan wrote:
>>
>> > I am trying to add some property metadata to an feature for my p2
>> > repository. I add the following lines to my p2.inf which is located in
>> > the same directory as my features.xml but nothing happens.
>> >
>> > Marigold_Poky_SDK.properties.0.name = org.eclipse.pulsar.category.name
>> > Marigold_Poky_SDK.properties.0.value = Garmin SDKs
>> > Marigold_Poky_SDK.properties.1.name =
>> > org.ecllpse.pulsar.category.description
>> > Marigold_Poky_SDK.properties.1.value = SDKs for the Marigold Product
>> > Marigold_Poky_SDK.properties.2.name = org.eclipse.pulsar.type
>> > Marigold_Poky_SDK.properties.2.value = ziparchive
>> >
>> > I am working of infomration I got from
>> > http://wiki.eclipse.org/Equinox/p2/Customizing_Metadata
>> >
>> > Any suggestions for how to get these setting to appear in the
>> > content.xml?
>> >
>> > Austin
>>
Previous Topic:How to define "dynamic" target definitions?
Next Topic:How to load IBuildModel using only API?
Goto Forum:
  


Current Time: Tue Apr 16 04:13:54 GMT 2024

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

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

Back to the top