On 4/7/06, Thorsten Scherler <[EMAIL PROTECTED]> wrote: > El vie, 07-04-2006 a las 14:02 -0400, [EMAIL PROTECTED] escribió: > > On 4/7/06, Tim Hannigan <[EMAIL PROTECTED]> wrote: > > > It appears that my sitetree.xml file has gotten out of sync with the > > > files present in the content/authoring directory. > > > > > > Is there any way to resync the sitetree without going into the xml > > > file and doing it manually? > > > > Aggregate the current sitetree.xml with a "directory" generator. Have > > fun with XSL. Then "write-source" transform. > > jeje ;) > > > This is easy. I'll do it later today if nobody has the solution ready. > > Can you add it to the rep, that is nice to have. :)
Done. (I should not have promised any work on a Friday evening.) Posted at: http://solprovider.com/lenya/sitetreefixer2 It adds any new files to sitetree.xmap for the specified Area with the NavigationTitle "MISSING", maintaining the order as well as possible. It does not remove (or even check for the existence of) entries in sitetree.xmap that do not have files; there is no destructive behavior. Would someone test it with 1.2? My current development setup is testing 1.3: modules (without Java) and flat storage (without JCR). --- Thorsten, Please add it wherever it belongs. solprovider --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
