Hi,

seem as if this time there is an error in the command.
Even with --test you need to supply the other arguments like eperson, 
source, target ...

Claudia


upload schrieb:
> Hello,
> 
> dublin_core.xml:
> <dublin_core>
>     <dcvalue element="contributor" qualifier="author">Tom</dcvalue>
>     <dcvalue element="language" qualifier="iso">en</dcvalue>
>     <dcvalue element="subject" qualifier="none">Professor Invites
> Students</dcvalue>
>     <dcvalue element="title" qualifier="none">oldUniversity</dcvalue>
>     <dcvalue element="type" qualifier="none">Vol.1 No.3</dcvalue>
> </dublin_core>
> ~
> ~
> 
> contents:
> U1_001.pdf        bundle:ORIGINAL
> U1_002.pdf        bundle:ORIGINAL
> U1_003.pdf        bundle:ORIGINAL
> U1_004.pdf        bundle:ORIGINAL
> license.txt     bundle:LICENSE
> 
> Directory structure:
> /home/uploads/item01
> /home/uploads/item01/contents
> /home/uploads/item01/dublin_core.xml
> /home/uploads/item01/U1_001.pdf
> /home/uploads/item01/U1_002.pdf
> /home/uploads/item01/U1_003.pdf
> /home/uploads/item01/U1_004.pdf 
> 
> Running it with "--test":
> Exception in thread "main" org.apache.commons.cli.MissingArgumentException:
> no argument for:e
>         at org.apache.commons.cli.Parser.processArgs(Parser.java:239)
>         at org.apache.commons.cli.Parser.processOption(Parser.java:277)
>         at org.apache.commons.cli.Parser.parse(Parser.java:170)
>         at org.apache.commons.cli.Parser.parse(Parser.java:114)
>         at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:171)
> 
> 
> 
> Thomas A McGee wrote:
>> A couple ideas: Can you copy-and-paste what's in your dublin_core.xml and 
>> contents file, and post them here? Also, a quickie map of your directory 
>> structure, similar to what Dorothea has given as an example? 
>>
>> Have you tried running the batch import with the "--test" flag set? Put it 
>> at the end of the command-line string, and it's two dashes followed by 
>> "test". 
>>
>> _____________________
>> Tom McGee
>> Seton Hall University TLTC
>> 973 761 9000 x5021
>> -------------------------------------------------------------------------
>> 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
>>
>>
> 

-------------------------------------------------------------------------
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