Hi Mark,

right in 1.4.2 the only additional information in the contents file is the bundle.

Have a nice day

Claudia


Am 14.04.2010 00:53, schrieb Mark Jordan:
Hi again Claudia,

This is not working for me -- I'm assuming because support for 'description' 
wasn't added until after DSpace 1.4.2 (which is what I'm running). Here's the 
output when I try to import an item with the contents file that reads 
'test01.txt      description:Testing to see if this works.' (with a tab after 
the filename):

Adding item from directory test01
         Loading dublin core from /tmp/dspacetest/test01/dublin_core.xml
         Schema: dc Element: contributor Qualifier: author Value: Jordan, Mark
         Schema: dc Element: title Qualifier: none Value: Testing batch 
ingestion of bitstream descriptions
         Schema: dc Element: date Qualifier: issued Value: 2010
         Schema: dc Element: language Qualifier: iso Value: en
         Schema: dc Element: rights Qualifier: none Value: Copyright remains 
with the author
         Processing contents file: /tmp/dspacetest/test01/contents
java.io.FileNotFoundException: /tmp/dspacetest/test01/test01.txt        
description:Testing to see if this works. (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at 
org.dspace.app.itemimport.ItemImport.processContentFileEntry(ItemImport.java:1073)
         at 
org.dspace.app.itemimport.ItemImport.processContentsFile(ItemImport.java:1038)
         at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:639)
         at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:506)
         at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:415)
java.io.FileNotFoundException: /tmp/dspacetest/test01/test01.txt        
description:Testing to see if this works. (No such file or directory)

I tried this with 'bundle:THUMBNAIL' instead of 'description: Testing [...]' 
and it loaded. It appears from the error that DSpace is interpreting the entire 
line in my content file as a file path.

Mark


Mark Jordan
Head of Library Systems
W.A.C. Bennett Library, Simon Fraser University
Burnaby, British Columbia, V5A 1S6, Canada
Voice: 778.782.5753 / Fax: 778.782.3023
[email protected]

----- "Claudia Juergen"<[email protected]>  wrote:

Hello Mark,

you can add the description to the contents file line describing the
bitstream in the form
<tabulator>  description:[Text of Description]

Bundles are containers for different type of bitstreams, there are
original, metadata, license, text and thumbnail.

So if you want to ingest an item and it's license text you can do this
by
adding the licens to the import item and listing it in the contents
file
with the bundle LICENSE specified as destination:
license.txt bundle:LICENSE

If no bundle is give the bundle ORIGINAL is assumed.

Hope that helps

Claudia Jürgen

Hello,

Does anyone know if it is possible to populate the bitstream
'description'
field for items that are imported using the item importer? I've
looked at
the docs and they refer to using the 'contents' file to add a
'bundlename'
value, but before I try this myself, can someone tell me if
'bundlename'
is the same as 'description' in the UI? I'm assuming not, since the
bitstream display in the Edit item interface also has a field
called
'Name'.

We're still on 1.4.2 but are starting to plan for upgrading to 1.6.

TIA,

Mark

Mark Jordan
Head of Library Systems
W.A.C. Bennett Library, Simon Fraser University
Burnaby, British Columbia, V5A 1S6, Canada
Voice: 778.782.5753 / Fax: 778.782.3023
[email protected]


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspace-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-general



--
Claudia Jürgen
Eldorado - Repositorium der TU Dortmund

Universitätsbibliothek Dortmund
Vogeplothsweg 76
D-44227 Dortmund
Tel.: 0049-231-755-4043

<<attachment: Claudia_Juergen.vcf>>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspace-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-general

Reply via email to