Archived

This forum has been archived. Please start a new discussion on GitHub.

IceGrid: patching changes made after addApplication()

I have a question about patching files through IcePatch/IceGrid.

I was trying to add an application and then patch it when needed.

It seems that if some files are changed *after* the application was added, those changes will not get patched until the application is removed and added again.

Is this the expected behavior?

My guess is that IcePatch2 server only reads IcePatch2.sum file when it starts up. Is there a way to force IcePatch server re-scan the distribution dir?
(I haven't found anything on this in the documentation).

Ice 3.2.1, Linux.

thanks, alex

Comments

  • matthew
    matthew NL, Canada
    There is no way to get the IcePatch2 server to re-scan the .sum file since this would not be safe; if a client patched at the wrong time they could get a partial update, which is definitely a bad thing!

    The correct procedure to update the distribution is to:
    - Stop & disable the IcePatch2 server.
    - Copy in the new distribution.
    - Start the IcePatch2 server.
  • thanks Matthew,
    it makes sense now.

    alex