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.




|------------>
| From:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Samuel Wu/Toronto/IBM@IBMCA                                                  
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |P2 developer discussions <[email protected]>                                
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |2011/10/25 05:09 PM                                                          
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |[p2-dev] Is there a way to update the file config.ini?                       
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Sent by:   |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |[email protected]                                                   
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|





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
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

Reply via email to