Release test step: Install Preingest Package

Install the preingester module

cd doms/gentofte_preingest
ant release.bin
cp dist/doms-gentofte_preingest-0.0.1.zip ../../
cd ../..
unzip doms-gentofte_preingest-0.0.1.zip
rm -f doms-gentofte_preingest-0.0.1.zip
mkdir preingester
mv doms-gentofte_preingest-0.0.1/* preingester/
rm -r doms-gentofte_preingest-0.0.1/

export GENTOFTE=~/gentofte/gentofte/

Copy a bit of the gentofte collection to test the preingester.

mkdir fedora_install/ingest/input/gentofte
mkdir fedora_install/ingest/input/gentofte/data
mkdir fedora_install/ingest/input/gentofte/data/bil-revyen
cp -r $GENTOFTE/images/bil-revyen/1987 fedora_install/ingest/input/gentofte/data/bil-revyen/
mkdir fedora_install/ingest/input/gentofte/data/mc-revyen
cp -r $GENTOFTE/images/mc-revyen/1987 fedora_install/ingest/input/gentofte/data/mc-revyen/

Run the preingester

cd preingester
bin/preingest.sh ../fedora_install/ingest/input/gentofte/data/ ../fedora_install/ingest/input/gentofte/ gentofte
cd ..

If the preingester only spits out a long list of premature end of file and nothing else, everything should have worked.

InstallPreIngestPackageTestStep (last edited 2010-03-17 13:13:00 by localhost)