[
http://jira.dspace.org/jira/browse/DS-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeffrey Trimble resolved DS-321.
--------------------------------
Documentation Status: Complete or Committed (was: In Description)
Resolution: Fixed
Documentation has been created and committed.
> DSpace command launcher
> -----------------------
>
> Key: DS-321
> URL: http://jira.dspace.org/jira/browse/DS-321
> Project: DSpace 1.x
> Issue Type: New Feature
> Components: DSpace API
> Reporter: Stuart Lewis
> Assignee: Jeffrey Trimble
> Priority: Minor
> Attachments: dspace-shell.patch, patch-version2.patch,
> patch-version3.patch
>
>
> In order to stop the proliferation of [dspace]/bin/scripts, and to maintain
> parity between windows and unix, I have created a DSpace shell.
> Most scripts can be replaced with:
> [dspace]/bin/dspace {script-name}
> or
> [dspace]\bin\dspace.bat {script-name}
> E.g.
> Instead of running "[dspace]/bin/filter-media -xyz" you can run
> "[dspace]/bin/dspace filter-media -xyz"
> I've not tested dspace.bat so it may not work.
> The scripts are defined in [dspace]/config/launcher.xml. Running the shell
> with no parameters will display a list of known commands.
> launcher.xml looks like (just an excerpt):
> <command>
> <name>index-update</name>
> <description>Update the search and browse indexes</description>
> <step>
> <class>org.dspace.browse.IndexBrowse</class>
> <arguments>-i</arguments>
> <passargs>false</passargs>
> </step>
> <step>
> <class>org.dspace.browse.ItemCounter</class>
> <passargs>false</passargs>
> </step>
> <step>
> <class>org.dspace.search.DSIndexer</class>
> <passargs>false</passargs>
> </step>
> </command>
> <command>
> <name>itemcounter</name>
> <description>Update the item strength counts in the user
> interface</description>
> <step>
> <class>org.dspace.browse.ItemCounter</class>
> <passargs>false</passargs>
> </step>
> </command>
> <command>
> <name>metadata-export</name>
> <description>Export metadata for batch editing</description>
> <step>
> <class>org.dspace.app.bulkedit.MetadataExport</class>
> </step>
> </command>
> </commands>
> There can be multiple steps for each command, extra parameters can optionally
> be inserted using <arguments>-foo bar</arguments> and the arguments passed in
> by a user can be removed from the command run if <passargs>false</passargs>
> is inserted for a step.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel