[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] Re: Why is org.eclipse.equinox.simpleconfigurator.configUrl setting in config.ini cleared during update from 3.4 to 3.5?

If somebody ever encounters this problem, I solved it by adding a
p2.inf file next to my .product file with following content:

instructions.configure = \
  setProgramProperty(propName:org.eclipse.equinox.simpleconfigurator.configUrl,
propValue:file:org.eclipse.equinox.simpleconfigurator/bundles.info);
instructions.unconfigure = \
  setProgramProperty(propName:org.eclipse.equinox.simpleconfigurator.configUrl,
propValue:);

Kind regards,
Hendrik.

On Mon, Jul 13, 2009 at 4:35 PM, Hendrik
Eeckhaut<hendrik.eeckhaut@xxxxxxxxxx> wrote:
> Hi all,
>
> I am updating our RCP application from Ganymede to Galileo. Everything
> went fine except for the automatic p2 update.
> After updating the old version (based on Ganymede) to the newly built
> RCP (based on Eclipse Galileo) our application will not start.
>
> Turns out the config.ini file is not correctly modified and contains
> this invalid line:
> org.eclipse.equinox.simpleconfigurator.configUrl=
>
> When I change it to this back to:
> org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info
> it works again as expected.
>
> Any idea why config.ini is broken and how to avoid this?
>
> Thanks,
> Hendrik.
> --
> Hendrik Eeckhaut, PhD
> T: +32 485 06 18 93
> http://www.sigasi.com
>



-- 
Hendrik Eeckhaut, PhD
T: +32 485 06 18 93
http://www.sigasi.com