Skip to content
Success

Changes

Summary

  1. Added speaking (and unambigues) filenames. We use a transformed version of the title field plus the URI plus a content type specific extension. To remove the URI from the file name we would need to extract the filename policy and keep track of file names we already used to avoid duplicates.
  2. Set zip entries' date to the object's last modified date
  3. Added rewriting support to the ZIP export
  4. Actually return a ZIP. This version does not have any fancy features yet, i.e. neither link rewriting nor cool file names
  5. Added skeleton zip generator (doesn't generate actual zips yet)
  6. Fixed tree building and filename generation
  7. Improved mime.types parser RE. Previously, lines containing a comment at the end and lines starting with whitespace were not recognized.
  8. Simple file name generation (URI + Extension)
  9. Added TextGrid MIME types
  10. toString methods for testing & debugging
  11. Factory actually produces something
  12. Eclipse/m2e: Ignore unknown execution
  13. Added a representation for mapping MIME types to filename extensions.
  14. Basic tree factory
  15. Skeleton for infrastructure to collect aggregation trees
Revision 14101 by vitt:
Added speaking (and unambigues) filenames.

We use a transformed version of the title field plus the URI plus
a content type specific extension. To remove the URI from the file name
we would need to extract the filename policy and keep track of file
names we already used to avoid duplicates.
Change TypePath in RepositoryPath in Workspace
The file was modified/trunk/services/aggregator/pom.xmlN/A
The file was modified/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/AggregationEntry.javaN/A
The file was added/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/FilenamePolicy.javaN/A
Revision 14100 by vitt:
Set zip entries' date to the object's last modified date
Change TypePath in RepositoryPath in Workspace
The file was modified/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/zip/ZipResult.javaN/A
Revision 14099 by vitt:
Added rewriting support to the ZIP export
Change TypePath in RepositoryPath in Workspace
The file was modified/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/AggregationEntry.javaN/A
The file was modified/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/zip/ZipResult.javaN/A
Revision 14098 by vitt:
Actually return a ZIP.

This version does not have any fancy features yet, i.e. neither link
rewriting nor cool file names
Change TypePath in RepositoryPath in Workspace
The file was modified/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/AggregationEntry.javaN/A
The file was modified/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/zip/ZIP.javaN/A
The file was added/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/zip/ZipResult.javaN/A
Revision 14097 by vitt:
Added skeleton zip generator (doesn't generate actual zips yet)
Change TypePath in RepositoryPath in Workspace
The file was added/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/zipN/A
The file was added/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/zip/ZIP.javaN/A
The file was modified/trunk/services/aggregator/src/main/webapp/WEB-INF/beans.xmlN/A
Revision 14096 by vitt:
Fixed tree building and filename generation
Change TypePath in RepositoryPath in Workspace
The file was modified/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/Aggregation.javaN/A
The file was modified/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/AggregationEntry.javaN/A
The file was modified/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/AggregationTreeFactory.javaN/A
Revision 14095 by vitt:
Improved mime.types parser RE.

Previously, lines containing a comment at the end and lines starting
with whitespace were not recognized.
Change TypePath in RepositoryPath in Workspace
The file was modified/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/FileExtensionMap.javaN/A
The file was modified/trunk/services/aggregator/src/test/java/info/textgrid/services/aggregator/tree/FileExtensionMapTest.javaN/A
Revision 14094 by vitt:
Simple file name generation (URI + Extension)
Change TypePath in RepositoryPath in Workspace
The file was modified/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/AggregationEntry.javaN/A
Revision 14093 by vitt:
Added TextGrid MIME types
Change TypePath in RepositoryPath in Workspace
The file was modified/trunk/services/aggregator/src/main/resources/mime.typesN/A
Revision 14092 by vitt:
toString methods for testing & debugging
Change TypePath in RepositoryPath in Workspace
The file was modified/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/Aggregation.javaN/A
The file was modified/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/AggregationEntry.javaN/A
Revision 14091 by vitt:
Factory actually produces something
Change TypePath in RepositoryPath in Workspace
The file was modified/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/AggregationTreeFactory.javaN/A
Revision 14090 by vitt:
Eclipse/m2e: Ignore unknown execution
Change TypePath in RepositoryPath in Workspace
The file was modified/trunk/services/aggregator/pom.xmlN/A
Revision 14089 by vitt:
Added a representation for mapping MIME types to filename extensions.
Change TypePath in RepositoryPath in Workspace
The file was added/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/FileExtensionMap.javaN/A
The file was added/trunk/services/aggregator/src/main/resources/mime.typesN/A
The file was added/trunk/services/aggregator/src/test/java/info/textgrid/services/aggregator/treeN/A
The file was added/trunk/services/aggregator/src/test/java/info/textgrid/services/aggregator/tree/FileExtensionMapTest.javaN/A
Revision 14088 by vitt:
Basic tree factory
Change TypePath in RepositoryPath in Workspace
The file was modified/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/Aggregation.javaN/A
The file was modified/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/AggregationEntry.javaN/A
The file was modified/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/AggregationTreeFactory.javaN/A
Revision 14087 by vitt:
Skeleton for infrastructure to collect aggregation trees
Change TypePath in RepositoryPath in Workspace
The file was added/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/treeN/A
The file was added/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/Aggregation.javaN/A
The file was added/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/AggregationEntry.javaN/A
The file was added/trunk/services/aggregator/src/main/java/info/textgrid/services/aggregator/tree/AggregationTreeFactory.javaN/A