[
http://jira.dspace.org/jira/browse/DS-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeffrey Trimble closed DS-321.
------------------------------
Documentation Status: Complete or Committed (was: In Comments)
Resolution: Fixed
Fix Version/s: 1.6.0
Document has been updated.
> 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
> Fix For: 1.6.0
>
> 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
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel