Home › Forums › DITA and XMetaL Discussion › File Usage Report › Reply To: File Usage Report
sandvik October 27, 2010 at 5:51 pm
Reply to: File Usage ReportOctober 27, 2010 at 5:51 pm
If you build a DITA map, the DITA-OT generates a dita.xml.properties file in its temporary directory. This XML file contains lists of referenced files in various categories (topics included in maps, topics referenced by conref, referenced image files, etc.)
The file is generated by the debug-filter target in the Ant build files. It would not be too hard to create an Ant script that invoked this target and used the results to populate a second directory with only referenced files.
Sybase (where our CMS does this kind of thing for us)