Perfect! That works. Thank you.

Somewhat related, you might want to check the 1.6.0 documentation under "8.5.3 
CLI Examples". I think:

[dspace]/bin/dspace updateitem -e [email protected] -s [path/to/archive] -a 
dc.description

should be

[dspace]/bin/dspace itemupdate -e [email protected] -s [path/to/archive] -a 
dc.description

Cheers,
-Andrew

On 2010-03-29, at 7:32 PM, Stuart Lewis wrote:

> Hi Andrew,
> 
> Try editing [dspace]/config/launcher.xml:
> 
>    <command>
>        <name>itemupdate</name>
>        <description>Item update tool for altering metadata and bitstream 
> content in items</description>
>        <step>
>            <class>org.dspace.app.itemimport.ItemUpdate</class>
>        </step>
>    </command>
> 
> Change the <class> element to:
> 
> <class>org.dspace.app.itemupdate.ItemUpdate</class>
> 
> This should fix it. Thanks for finding this bug! I'll get it reported and 
> fixed.
> 
> Thanks,
> 
> 
> Stuart Lewis
> IT Innovations Analyst and Developer
> Te Tumu Herenga The University of Auckland Library
> Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
> Ph: 64 9 373-7599 x81928
> http://www.library.auckland.ac.nz/
> 
> 
> On 30/03/2010, at 12:03 PM, Andrew Hankinson, Mr wrote:
> 
>> Hi,
>> 
>> I don't know if this is a bug or a misconfiguration on my part. I'm running 
>> DSpace 1.6.0.
>> 
>> I'm trying to run:
>> 
>> [dspace]/bin/dspace itemupdate -h
>> 
>> but keep getting the error:
>> 
>> Error in launcher.xml: Invalid class name: 
>> org.dspace.app.itemimport.ItemUpdate
>> 
>> Running it via "dsrun org.dspace.app.itemimport.ItemUpdate" gives this:
>> 
>> Exception in thread "main" java.lang.NoClassDefFoundError: 
>> org/dspace/app/itemimport/ItemUpdate
>> Caused by: java.lang.ClassNotFoundException: 
>> org.dspace.app.itemimport.ItemUpdate
>>      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>      at java.security.AccessController.doPrivileged(Native Method)
>>      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
>>      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>> 
>> Has anyone else encountered this? If it's genuinely a bug, I'll file it as a 
>> bugreport.
>> 
>> Thanks,
>> -Andrew
>> ------------------------------------------------------------------------------
>> Download Intel&#174; Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Dspace-general mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dspace-general
> 
> 


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspace-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-general

Reply via email to