Hello,
OK, the question lacked some fundamental details. I am asking this
question because of the synchronisation I want to implement.
1) I get new stories from the repository and write the groovy scripts
- no problem
2) Some stories are missing in the repository but are available
locally, delete them - no problem
3) Stories have changed in the repository - problem!
Based on the syntax of a story (groovy script), I belief that it's not
an easy task. Parsing the script, updating/delete/add the elements of
the story and do not touch the "glue" the developer has put into the
closures. So I came up it whould be the easier If I am able to read
the story and translate it to domain objects (deserialise), update the
domain objects and then serialise them again to groovy scripts. The
code to deserialise is available in easyb, but not to serialise. I am
not aware of such a framework which supports this requirement. I know
Smooks which supports every type of structured file for
deserialisation, but not for serialisation.
I hope I have described my problem a bit better and maybe someone
comes up with a better idea than mine. Maybe It's not that hard to add
the serialisation code to the existing easyb codebase - I am not a
regular groovy user and do not know it.
Regards,
Cyrill