His command should still be reasonable. Where are you placing the
customized java class you are trying to add?
Regards,
Mark
On Monday, May 7, 2012, Claudia Jürgen wrote:
> 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
> > [email protected] <javascript:;>
> > 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
> [email protected] <javascript:;>
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
--
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech