Hello,

you need one directory per item and the source directory given with -s 
option is the directory where these item directories reside.

So if the elements of the item are really straight under /dspace/run, 
your command should be:
  /dspace/bin/dsrun org.dspace.app.itemimport.ItemImport -a -e 
[EMAIL PROTECTED] -c 123456789/10 -s /dspace -m /dspace/map/mapfile.txt

your info differs as you say
"-s /dspace/run" is your command
and from the output it seems as if you used
"/dspace/batch"


hope that helps

Claudia



upload schrieb:
> Hello, 
> I'm new to dspace and trying to upload using batch import. 
> When I do the batch import, there're no errors generated but when I go to
> the URL for the collection, it doesn't show any submissions. 
> 
> The command I run is: 
> /dspace/bin/dsrun org.dspace.app.itemimport.ItemImport -a -e [EMAIL 
> PROTECTED] -c
> 123456789/10 -s /dspace/run -m /dspace/map/mapfile.txt 
> 
> The contents, dublin_core.xml, and the actual document in pdf are located in
> /dspace/run/ 
> 
> Upon running the command, I get: 
> Destination collections: 
> Owning  Collection: Upload 
> Adding items from directory: /dspace/batch 
> Generating mapfile: /dspace/mapfiles/mapfile.txt 
> 
> And the mapfile.txt is empty. 
> 
> The log doesn't say much in /dspace/log/dspace.log: 
> 2008-08-11 15:21:03,140 INFO  org.dspace.core.ConfigurationManager @ Loading
> from classloader: file:/data/dspace/config/dspace.cfg 
> 2008-08-11 15:21:03,152 INFO  org.dspace.core.ConfigurationManager @ Using
> dspace provided log configuration (log.init.config) 
> 2008-08-11 15:21:03,152 INFO  org.dspace.core.ConfigurationManager @
> Loading: /dspace/config/log4j.properties 
> 
> The system is Redhat 5. 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to