Hello Daniel,

since 1.6 the DSpace Command Launcher is used.

You got to add the class to the configuration file
[dspace]/config/launcher.xml


Then you can execute it using
[dspace]/bin/dspace [Name as configured in launcher.xml]

For Details see the Documentation
https://wiki.duraspace.org/display/DSDOC18/Application+Layer#ApplicationLayer-DSpaceCommandLauncher

Hope this helps

Claudia Jürgen


Am 07.05.2012 18:12, schrieb Daniel Shin:
> Hi,
>
> I created a simple Java Class for test in
> [dspace-src]/dspace-api/src/main/java/org/dspace/test that print "test".
> I typed the command in [dspace]/bin: "./dspace dsrun
> org.dspace.test.TestPrint"
>
> Follow the message error: " Error in launcher.xml: Invalid class name:
> org.dspace.test.TestPrint".
>
> I executed the maven to compile the class before.
>
> Any suggestion?
>
>
> Thanks,
>
> Daniel
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
>
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to