cleanappl.sh
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Fri, 19 Mar 2010 19:21:31 +0100
changeset 4964 d9e8af8a7a42
parent 0 b97547f5f1fa
permissions -rwxr-xr-x
[source] implement storages right in the source rather than in hooks The problem is that Storage objects will most probably change entity's dictionary so that values are correctly set before the source's corresponding method (e.g. entity_added()) is called. For instance, the BFSFileStorage will change the original binary data and replace it with the destination file path in order to store the file path in the database. This change must be local to the source in order not to impact other hooks or attribute access during the transaction, the whole idea being that the same application code should work exactly the same whether or not a BFSStorage is used or not.

#!/bin/sh

rm -f web/test/tmpdb*
rm -f web/tali18n.py

rm -f applications/*/test/tmpdb*
rm -f applications/*/tali18n.py
rm -f applications/*/i18n/*_full.po
rm -f applications/*/data/Schema.dot