[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.equinox] Re: [p2] use p2.inf to configure bundles within feature

"Luzi Anderegg" <luzi.anderegg@xxxxxxxx> wrote in message 
news:h6gpjh$3cq$1@xxxxxxxxxxxxxxxxxxxx
> Thanks for the info. I tried with your proposal, but it did not work. The 
> bundle is installed, but my settings are not taken into consideration. 
> Moreover, the bundle does not show up in the bundles.info.

Doh. We of course still need the fragment to provide install and uninstall 
instructions

e.g.
units.1.instructions.install = 
org.eclipse.equinox.p2.touchpoint.eclipse.installBundle(bundle:${artifact})
units.1.instructions.uninstall = 
org.eclipse.equinox.p2.touchpoint.eclipse.uninstallBundle(bundle:${artifact})

units.2.instructions.install = 
org.eclipse.equinox.p2.touchpoint.eclipse.installBundle(bundle:${artifact})
units.2.instructions.uninstall = 
org.eclipse.equinox.p2.touchpoint.eclipse.uninstallBundle(bundle:${artifact})


The IU xml looks ok for me but my experience with IU xml's
> is very limited. Any tipps, how I can debug the installation procedure or 
> verify the IU xml?

You can post the IUs that were generated for the feature, two bundles, and 
two fragments and I (or others) can take a look.
-Simon