I'm trying to ingest a whole bunch of pdf's using the packager.

The syntax used is /dspace/bin/dsrun org.dspace.app.packager.Packager -c
hp/548 -e b
[EMAIL PROTECTED] -w  -t PDF  /home/dspace/HPL-2007-2.pdf
            
The problem is that the files get renamed to "package.pdf"
(even if I add -o "name=blah.pdf" to the command.).

This seems to happen in the class
org.dspace.content.packager.PDFPackager
 

                bs = original.createBitstream(pkg);
            pkg.close();
            bs.setName("package.pdf");


Does anyone have a workaround that keeps the original pdf file name? is
there something I'm not doing quite right?
Thanks,
Ben Weinberg
HP Digital Library

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to