I am trying to build a simple application that creates a diff of the checked-in source code and its previous version and send it as mail to the list of subscribers.
I am stuck with the part where I need to generate the "diff" of the current version and the previous version in HTML format so that I can easily mail it.
Is there any way to do it using ClearCase tools. If so please guide me..
Thanks in advance
Looking at
cleartool diffandcleardiff, it seems you will need to process thecleartoolcommand output in order to generate an html page.For that, you could consider
diff2html.pyto create a side-by-side diff in a static html page from an unified diff input. (andcleartool diffcan produce a unified diff)Or consider
cdiff.