Seems like your just asking for
./dspace import *--add* *--eperson*[email protected] *--collection*
=2121/39071 *--source*=/dspace/tmp/imported/articles****
*--mapfile*=/dspace/outfiles/imports/20090326_Articles.map >
/dspace/outfiles/imports/20090326_Articles.out
Mark
On Tue, Jun 21, 2011 at 2:27 PM, Stuart Lewis <[email protected]>wrote:
> Hi Sue,
>
> Have you tried using the <argument> options?
>
> <command>
> <name>stat-general</name>
> <description>Compile the general statistics</description>
> <step passuserargs="false">
> <class>org.dspace.app.statistics.CreateStatReport</class>
> <argument>-r</argument>
> <argument>stat-general</argument>
> </step>
> </command>
>
> You should be able to pass in command line options, and state whether or
> not you allow further parameters to be passed from the user calling the
> script.
>
> Thanks,
>
>
> Stuart Lewis
> Digital Development Manager
> Te Tumu Herenga The University of Auckland Library
> Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
> Ph: +64 (0)9 373 7599 x81928
>
>
>
> On 22/06/2011, at 4:47 AM, Thornton, Susan M. (LARC-B702)[LITES] wrote:
>
> > 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 --eperson=
> [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
>
>
>
>
> ------------------------------------------------------------------------------
> 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
>
--
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium
------------------------------------------------------------------------------
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