Hi,

it seems like long form of notify option is not implemented in DSpace 
1.6.0. Here's the command and the error I got:

sh-3.2$ /dspace/bin/dsrun org.dspace.app.itemimport.ItemImport  --add 
--notify --workflow --eperson [email protected] 
--collection 123456789/6 --source /tmp/foo --mapfile /tmp/foo/mapfile
Exception in thread "main" 
org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: 
--notify
         at org.apache.commons.cli.Parser.processOption(Parser.java:253)
         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:163)

No problems when importing with the short form "-n".

------------------------------------------------------------------------------
Download Intel® 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-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to