--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/8748ffae-215c-47d6-af34-fef0eae6d1b7%40googlegroups.com.
Followup: reading the Advanced Customization page leads me to think I should place that file in [dspace-source]/dspace/modules/additions. Is this correct?
Thanks again for all the help.
Shawn
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/B110A63A-0040-4760-8A01-F7B3648FCDEC%40gmail.com.
So I’ve finally gotten around to trying to compile this with the only changes to the class being class name, group name, and package, and I’m getting compilation errors due to the imports not working. It’s not able to resolve the imported symbols:
[ERROR] /data/prod/src/dspace-6.1-src-release/dspace/modules/additions/src/main/java/edu/uga/dspace/embargo/UGAEmbargoSetter.java:[69,26] cannot find symbol
[ERROR] symbol: variable AuthorizeManager
I’m also getting an error about implementing the interface because certain methods do not throw IOExceptions:
[ERROR] /data/prod/src/dspace-6.1-src-release/dspace/modules/additions/src/main/java/edu/uga/dspace/embargo/UGAEmbargoSetter.java:[89,19] parseTerms(org.dspace.core.Context,org.dspace.content.Item,java.lang.String) in edu.uga.dspace.embargo.UGAEmbargoSetter cannot implement parseTerms(org.dspace.core.Context,org.dspace.content.Item,java.lang.String) in org.dspace.embargo.EmbargoSetter
[ERROR] overridden method does not throw java.io.IOException
Suggestions?
This is a gist of my code: https://gist.github.com/smkiewel/f78b1ded9e4f9be38272e1ff44346e15
From: Shawn Kiewel <smki...@gmail.com>
Date: Wednesday, September 11, 2019 at 9:23 AM
To: DSpace Technical Support <dspac...@googlegroups.com>
Subject: Re: [dspace-tech] Custom EmbargoSetter allowing on campus access
So I’ve finally gotten around to trying to compile this with the only changes to the class being class name, group name, and package, and I’m getting compilation errors due to the imports not working. It’s not able to resolve the imported symbols:
[ERROR] /data/prod/src/dspace-6.1-src-release/dspace/modules/additions/src/main/java/edu/uga/dspace/embargo/UGAEmbargoSetter.java:[69,26] cannot find symbol
[ERROR] symbol: variable AuthorizeManager
I’m also getting an error about implementing the interface because certain methods do not throw IOExceptions:
[ERROR] /data/prod/src/dspace-6.1-src-release/dspace/modules/additions/src/main/java/edu/uga/dspace/embargo/UGAEmbargoSetter.java:[89,19] parseTerms(org.dspace.core.Context,org.dspace.content.Item,java.lang.String) in edu.uga.dspace.embargo.UGAEmbargoSetter cannot implement parseTerms(org.dspace.core.Context,org.dspace.content.Item,java.lang.String) in org.dspace.embargo.EmbargoSetter
[ERROR] overridden method does not throw java.io.IOException
Suggestions?
Date: Thursday, August 15, 2019 at 10:34 AM
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/341DC142-5F96-4D6F-A325-97BCD7D6A255%40gmail.com.
Thanks. This compiled with no trouble at all.