Hi Folks,

A little further question about this ...

I have had to work around the lack of support for adding code modules
to the core of DSpace by patching the dspace-api pom.xml file so that
my dependencies get pulled in everywhere they are relevant.  I have
encountered a strange problem though, which I haven't been able to
resolve:

In some environments, when I mvn clean package DSpace, my code
library's jar file gets pulled in to all the webapps and to the core
dspace lib directory, but none of /that/ library's dependencies get
pulled in.  So, the application doesn't work because whenever my code
calls out to another library upon which it uniquely depends, there is
a ClassNotFound exception.

Perhaps there is an exclude filter somewhere in the build system, or a
rule which says not to pull in certain dependencies?

Cheers,

Richard


On Thu, Nov 1, 2012 at 10:37 AM, Richard Jones <[email protected]> wrote:
> Hi Folks,
>
> Great, thanks for that - I think this is probably what I want, so when
> we move to DSpace 3.0 I'll use that approach.
>
> Cheers,
>
> Richard
>
> On Tue, Oct 30, 2012 at 8:52 AM, helix84 <[email protected]> wrote:
>> Hi Richard,
>>
>> Kevin just added this, I think it's related to what you're asking:
>>
>> https://wiki.duraspace.org/display/DSDOC3x/Advanced+Customisation#AdvancedCustomisation-Additionsmodule
>>
>> The change itself came from here:
>> https://github.com/DSpace/DSpace/pull/3
>>
>> Regards,
>> ~~helix84

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to