Skip to main content

Delta Generation - Deleted Files - Clear generation directory beforehand?

Comments

3 comments

  • Zendesk API User
    Author: pavone - 5/17/2017 15:26

    Hi Liam,

    a delta generation never deletes any files from the generation directory. Therefore it is always advisable to check the "Clear generation directory beforehand" option when using a delta generation.

    Probably a delta generation isn't what you really need?

    Best regards

    Tim

    0
  • Zendesk API User
    Author: marza - 5/31/2017 11:53

    Hello Liam, 

    do you need further help or did Tim's reply already help you? If so, it would be great if you marked his  reply as "correct answer" so that other community users find the solution easily. If you have already found a solution by yourself, it would be very kind of you, if you posted it here. 

    Best regards

    Marian

    0
  • Zendesk API User
    Author: liam_davison - 6/26/2017 13:23

    Thank you Tim,

    That is unfortunate. It can take over two hours to perform a full publish to JBoss Portal, so we rely on delta generation to make small changes with shorter publishing times. But if delta generation does not delete anything from the generation directory, then we cannot use delta generation when pages are deleted.

    Unfortunately, all it takes is one mistaken attempt to delta-publish after a page has deleted for the delta generation folder to become "corrupted" with files that should no longer be there.

    I will look again at our delta generation scripts to make sure that delta generation is aborted when elements have been deleted.

    Regards,

    Liam

    0

Please sign in to leave a comment.