Hello,

Please find attached a patch with a quick implementation of post hooks 
for LSC.
This patch add support for two new properties in lsc.properties:
- lsc.tasks.TASKNAME.postSyncHook : fully qualified name of a static 
method to invoke after the synchronization task
- lsc.tasks.TASKNAME.postCleanHook : fully qualified name of a static 
method to invoke after the clean task

This implementation is really simple as the hook can't take any argument 
and must be a static method.

Concerning the code itself, I'm not sure everything is at the place it 
should be as I've put all the logic in SimpleSynchronize class...
A LSC specialist will have to review all that bits ;)

Thanks for developping LSC ;)
-- 
J?r?me Schell
CPE Lyon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lsc-core-post-hook.diff
Type: text/x-patch
Size: 4415 bytes
Desc: not available
URL: 
<http://lists.lsc-project.org/pipermail/lsc-dev/attachments/20090506/dc18c2e0/attachment.bin>

Reply via email to