FileStorageMigration
Migrating to the new Filestore Based File Storage Interface
- Checkout the tdar.filestore branch from Subversion
- HTTP http://dev.tdar.org/svn/tdar.struts/branches/tdar.filestore/
- SVN+SSH svn+ssh://dev.tdar.org/svn/tdar.struts/branches/tdar.filestore/
- Apply appropriate changes from src/main/db/upgrade-db.sql
- Set the following parameters to values appropriate to your environment in migrate-filestore.ant.xml
<property name="filestore.location.old" value="/home/mcordial/hd2/nbws/tdar/src/main/webapp/data"/> <property name="filestore.location.new" value="/home/mcordial/filestoretest"/> <property name="filestore.migrator.errorFile" value="/home/mcordial/Desktop/errors.txt"/>
- In the base directory (where pom.xml resides) run:
mvn compile
mvn -P migrate-filestore
- Set the value of the file.store.location property in src/main/resources/tdar.properties to the new filestore location.
- Start tDAR and test.