On Tue, 11 Dec 2001, Adam Heath wrote: > On Tue, 11 Dec 2001, Vincent Harcq wrote: > > > > Is there a reasonably simple way to make xdoclet only > > > run if one of the files it is processing has changed? > > > Most of the time for my server module builds seems > > > to be taken with xdoclet, and I never change stuff > > > it starts with. > > > > Xdoclet checks the timestamp of the file, if newer that the generated, then >regenerate. > > Shouldn't it check if the timestamp has *changed*? What happens when a file > is restored from backup? Any generated files that are built from this > modified file should be rebuilt.
but the generated timestamp cant be assumed to be the same as the source timestamp, which means that xdoclet would need to map the source timestamp to generated file(s) timestamp(s) and store this info. it is a valid problem, but nothing that an "ant clean main" wouldn't fix... and if its a case of restoring from backup, then I wouldn't see that as an issue. cheers dim ps - took this off list, as not really a jboss thing, but appreciate the point. _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
