Can someone please give me an example of how you would set up the execution of 
a script, for example “import”, in /dspace/config/launcher.xml?  The software 
comes delivered with the following:



<command>

        <name>import</name>

        <description>Import items into DSpace</description>

        <step>

            <class>org.dspace.app.itemimport.ItemImport</class>

        </step>

</command>



Here is the command line from our “import” script in DSpace 1.5.1:



./dsrun org.dspace.app.itemimport.ItemImport --add 
[email protected] --collection=2121/39071 
--source=/dspace/tmp/imported/articles

--mapfile=/dspace/outfiles/imports/20090326_Articles.map > 
/dspace/outfiles/imports/20090326_Articles.out

How do I set all this up in launcher.xml?



Note also that I am writing the output of the script into 
/dspace/outfiles/imports/20090326_Articles.out.  How do I do this in 
launcher.xml?



Thanks in advance,

Sue





Sue Walker-Thornton

Software Developer/Database Administrator

NASA Langley Research Center|LITES Contract

SGT, Inc.|130 Research Drive

Hampton, Va.  23666

Office: (757) 224-4074

Mobile: (757) 506-9903

Fax: (757) 224-4001

[email protected]



------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to