> > I like it doing this - see the "Generated class comments" thread. In > > there, I was asking for feedback/suggestions for changes to the class > > comments bits that I'm working on (if I can ever persuade > > WinCvs/prettyprinter to let me build the damn thing again). I'll see > if I > > can add a parameter to make the timestamp optional while I'm at it, so > > it'll cater for us both. > > Andrew, > It's overkill to implement a compare old/new logic. I think that's the > only way for preventing the unneeded updates. But that means we should > load old classes to memory, probably .hashCode() it to get a > checksum-like thing and compare it to hashcode of what writer printed so > far, if equal nothing changed, if not overwrite it. > > I suggest you to set destdir to somewhere else and use Ant's <Uptodate/> > task with type="merge". I've never tested it but I think it can handle > it.
Oops, that was irrelevant. Someone got to write a <compare/> task for Ant :-) Ara. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
