I'm currently building a .NET library that constructs .MHT files, aka single file web page archives. That's what you get when you perform a File | Save As | Web Archive, Single File operation in IE6. HTML is a great, standard format for building richly formatted one-off reports, but once you start including images, it becomes a pain to manage a set of files. Thus, the utility of combining everything into a single file.
Surprisingly, instead of some crazy proprietary Microsoft format like you'd expect, the file follows the simple Multipart MIME Message RFC standard. Building an .MHT file is sort of like sending an email to yourself-- go figure. It also works in via extension in your precious Firefox, for those of you that enjoy slow rendering.
During development, I needed to reverse engineer what IE6 constructs, and use that as a comparison point for the output from my application. Unfortunately, the only file comparison tool I had access to was the crappy default "compare versions" function in Visual SourceSafe. It's workable, but it's kind of.. ghetto.
Every developer should have a good diff tool in their toolkit. After a bit of research, I settled on Araxis Merge as my preferred tool for visual comparisons.
It's a pricey tool, but it's come in very handy so far. The only regret I have is that VSS doesn't allow the use of any external comparison tools, so you can't integrate Merge with Visual Studio .NET.
Anyway, if like me, the only diff tool you ever used was the one in VSS-- you may not know how much you're missing.
Actually, VS .Net does allow you to specify external programs for doing diffs, etc. In VS.Net, go to Tools, Options, Source Control, SCC Provider, then click on the advanced button. In the resulting dialog box, click on the custom editors tab and enter your editor's information.
I, for instance, put an operation of 'File Difference', for .vb and .cs files, and set my command line arg to "C:\Program Files\WinMerge\WinMergeU.exe" %1 %2.
Enjoy con leche.
Matt
Matt W on November 3, 2006 10:03 AMMaybe this comment is waaay to late. But my personal favorite is tortoisemerge.
It's a part of the tortoisesvn client. You can rip out all the SVN related stuff if you dont need it and it'll work fine.
you can find it at:
http://tortoisesvn.tigris.org/
XCode has a very nice diff visualizer. But I guess that is not your platform.
Scott M on February 3, 2009 1:59 AMperforce's merge tool appears similar to the araxis. best part is that is is free (last i looked anyway).
scott on March 19, 2009 1:05 PMHi Jeff, I spent the last 4 days with evaluating diff/merge tools. There are a lot out there but very few usable when you start comparing large directories and like to integrate it with code repositories.
Then I stumbled upon DeltaWalker: a href=http://www.deltopia.com/compare-merge-sync/http://www.deltopia.com/compare-merge-sync//a">http://www.deltopia.com/compare-merge-sync//a">http://www.deltopia.com/compare-merge-sync/http://www.deltopia.com/compare-merge-sync//a
Finally suitable tool for these crappy compare jobs I have strugled with. It also works remotely via sftp and is cross platform compatible (Mac OS X, Linux and Windows) as it is based on Eclipse RCP.
The comments to this entry are closed.
|
|
Traffic Stats |