is working now.
The problem was with Maven build project.
Thanks for reply.
Daniel
Message: 1
Date: Mon, 7 May 2012 13:12:50 -0300
From: Daniel Shin danielshin...@gmail.com
Subject: [Dspace-tech] Execute Java Class Problem
To: dspace-tech@lists.sourceforge.net
Message-ID:
CA
-0300
From: Daniel Shin danielshin...@gmail.com
Subject: [Dspace-tech] Execute Java Class Problem
To: dspace-tech@lists.sourceforge.net
Message-ID:
CA+8XBTSMZryCKvBuQ2nCn78BNFQgGAV6SRf2VT1c3B2JG=k...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1
Hi,
I created a simple Java
Date: Mon, 7 May 2012 13:12:50 -0300
From: Daniel Shin danielshin...@gmail.com
Subject: [Dspace-tech] Execute Java Class Problem
To: dspace-tech@lists.sourceforge.net
Message-ID:
CA+8XBTSMZryCKvBuQ2nCn78BNFQgGAV6SRf2VT1c3B2JG=k...@mail.gmail.com
Content-Type: text/plain; charset=iso
$ ./dspace test
Have I mistake something?
Date: Mon, 07 May 2012 18:32:05 +0200
From: Claudia J?rgen claudia.juer...@ub.tu-dortmund.de
Subject: Re: [Dspace-tech] Execute Java Class Problem
To: dspace-tech@lists.sourceforge.net
Message-ID: 4fa7f905.4080...@ub.tu-dortmund.de
Content-Type: text/plain
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
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
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
7 matches
Mail list logo