Hi,
WAAbstractFileLibrary has been introduced which acts as a base for the old file libraries derived from WAFileLibrary and introduces a new subclass WAFileMetadataLibrary. WAFileMetadataLibrary supports resources with paths, which is handy when, for example, the javascript or css in a file library expects its supporting images to be in subdirectories such as img/xxxx.png. WAFileMetadataLibrary also records the original filenames so that when you #deployFiles from the file library on a production server, the exported files will maintain their original names and paths.
WAFileMetadataLibrary allows for the easy integration of libraries such as Twitter Bootstrap.
There's a new method for recursing a sub-directory tree to add all the files and record their relative paths:
MYWAFileMetadataDerivedFileLibrary recursivelyAddAllFilesIn: '/var/www/files/twitterbootstrap'
The work was based on a previous implementation by Avi Shefi with ideas from Boris Popov.
If you're feeling brave, grab the latest code from the tip of the repository or use an image from Lukas's build server [1]. Be great if a few people can try it out. If all is well, we'll take this change and other bug fixes [2] make a point release.
Cheers
Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside