Thanks — the class is now showing up but I’m still getting a class not found
error. I decided to back up, duplicate the sample step and rename it to my
desired class/page. When I run it with the sample step, it works but with the
new class name it doesn’t — the new class is being included in the jar and I’ve
included in the import of the jspui handler class but the dspace-api class is
still not found. Any further suggestions?
Thanks again,
Tim
From: Andrea Schweer <[email protected]<mailto:[email protected]>>
Date: Wed, 21 Jan 2015 14:31:15 +1300
To:
<[email protected]<mailto:[email protected]>>
Cc: Tim Au Yeung <[email protected]<mailto:[email protected]>>
Subject: Re: [Dspace-tech] Submission class not being added to
dspace-api-4.2.jar
Hi Tim,
On 21/01/15 12:31, Tim Au Yeung wrote:
I’m trying to add a step to the submission workflow. I’ve created the jsp page
and the corresponding classes in the dspace-api and dspace-jspui according the
sample step example. I’m doing a mvn clean package but it’s not adding the
dspace-api class in into the dspace-api-4.2.jar. When I compile using my IDE,
the class gets created with no problems though. Any suggestions for what I
might be missing here?
What directory are you running the mvn clean package in? If you place things in
dspace-api and dspace-jspui, you will need to run mvn from the top-level source
directory ([dspace-src] in the documentation). My guess is that you're using
the quick build option in [dspace-src]/dspace; in order for that to work, you
will need to place your custom code under [dspace-src]/dspace/modules instead,
see also https://wiki.duraspace.org/display/DSDOC4x/Advanced+Customisation
cheers,
Andrea
--
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette