For example, I export a document from dspace. I got that file *$ /dspace/bin/dspace export -t ITEM -d ~/ -i 123456789/5 -n 1* *Exporting Item 4 to /home/dspace/1* *Attempting to create file /home/dspace/1/dublin_core.xml*
I changed some articles inside and how can i import this? *$ /dspace/bin/dspace import -a -e [email protected] -c 123456789/7 -s /home/dspace/1/dublin_core.xml -m mapfile* *Destination collections:* *Started: 1471603444680* *Ended: 1471603445293* *Elapsed time: 0 secs (613 msecs)* *Exception: org.dspace.content.Community cannot be cast to org.dspace.content.Collection* *java.lang.ClassCastException: org.dspace.content.Community cannot be cast to org.dspace.content.Collection* * at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:448)* * at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)* * at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)* * at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)* * at java.lang.reflect.Method.invoke(Method.java:606)* * at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)* * at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)* 19 Ağustos 2016 Cuma 12:36:11 UTC+3 tarihinde Claudia Jürgen yazdı: > > Hello Ahmet, > > there are a lot of ways to import items into DSpace see > https://wiki.duraspace.org/display/DSDOC5x/Ingesting+Content+and+Metadata > > If midas supports has an OAI-PMH interface you can even harvest from midas > > https://wiki.duraspace.org/display/DSDOC5x/OAI#OAI-OAI-PMH/OAI-OREHarvester(Client) > > > Hope this helps > > Claudia Jürgen > > > Am 19.08.2016 um 11:12 schrieb Ahmet Melih Başbuğ: > > Hello. I try to transfer items data from midas application (mysql) to > > dspace application (postgresql), I match columns of tables. However, I > > don'T have any idea about bitstreams and adding pdf or video files to > > dspace's items. I have these files in disk. there are many files and > > customer doesn't want to add manually again. Any idea? > > > > -- > Claudia Juergen > Eldorado > > Technische Universität Dortmund > Universitätsbibliothek > Vogelpothsweg 76 > 44227 Dortmund > > Tel.: +49 231-755 40 43 > Fax: +49 231-755 40 32 > [email protected] <javascript:> > www.ub.tu-dortmund.de > > Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie > ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für > diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender > und vernichten Sie diese Mail. Vielen Dank. > Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen > ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher > Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines > solchen Schriftstücks per Telefax erfolgen. > > Important note: The information included in this e-mail is confidential. > It is solely intended for the recipient. If you are not the intended > recipient of this e-mail please contact the sender and delete this message. > Thank you. Without prejudice of e-mail correspondence, our statements are > only legally binding when they are made in the conventional written form > (with personal signature) or when such documents are sent by fax. > -- You received this message because you are subscribed to the Google Groups "DSpace Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-community. For more options, visit https://groups.google.com/d/optout.
