[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Is there a way to update the file config.ini?

The file is most likely updated when the reconciler is run on startup. What are you changing in the config.ini? There are touchpoint actions for adding/removing/changing properties. Perhaps a better plan would be to use the current touchpoint actions (or write a new one) which would modify the file. We don't encourage (and therefore don't provide means for) clients to replace the whole file because in general this is a bad idea as it doesn't allow everyone to place nice with each other.



Inactive hide details for Samuel Wu---2011/10/25 05:09:27 PM---Hello everyone, We've shipped a config,ini in the product. Now wSamuel Wu---2011/10/25 05:09:27 PM---Hello everyone, We've shipped a config,ini in the product. Now we want to ship a change to


From:

Samuel Wu/Toronto/IBM@IBMCA

To:

P2 developer discussions <p2-dev@xxxxxxxxxxx>

Date:

2011/10/25 05:09 PM

Subject:

[p2-dev] Is there a way to update the file config.ini?

Sent by:

p2-dev-bounces@xxxxxxxxxxx




Hello everyone,

We've shipped a config,ini in the product. Now we want to ship a change to it. We have a touch point action which moves the new file to the configuration directory during the installation of the new feature. But Eclipse overrides the file with its own version during the restart. Wonder how to update the config.ini file during the feature update. Thanks.

Best Regards

Samuel Wu
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev


GIF image

GIF image