Thank you!!! On Thu, May 3, 2018 at 3:21 PM, Tim Donohue <[email protected]> wrote: > Hi Jose, > > You can compile dspace-replicate in the same manner that you compile DSpace. > So, from the commandline you can just use Maven, e.g. "mvn -U clean package" > will compile dspace-replicate and create a JAR in the > [dspace-replicate]/target/ folder. That JAR should then be installable in > DSpace. For DSpace commandline tools support, you'd place the JAR in > [dspace]/lib/ (and remove any existing dspace-replicate.jar there). For > DSpace UI support, you'd also copy the JAR to > [dspace]/webapps/[webapp]/WEB-INF/lib/ (and remove any existing > dspace-replicate.jar there). > > Good luck, > > - Tim > > On Thu, May 3, 2018 at 2:01 PM Jose Blanco <[email protected]> wrote: >> >> Tim, If I clone https://github.com/DSpace/dspace-replicate, how do I >> compile the code and create a jar file that I can then test? >> >> I don't have eclipse on my machine. Would this be the only way to do it? >> >> Thank you! >> -Jose >> >> On Thu, May 3, 2018 at 11:41 AM, Jose Blanco <[email protected]> wrote: >> > The isssue is this: >> > >> > version 3 of dspace has this: public DCValue[] getDC(String element, >> > String qualifier, String lang) >> > >> > but version 5 has this: Metadatum[] getDC(String element, String >> > qualifier, String lang) >> > >> > and the bagit code wants DCValue >> > >> > On Wed, May 2, 2018 at 2:49 PM, Tim Donohue <[email protected]> >> > wrote: >> >> Hi Jose, >> >> >> >> It sounds like a possible bug to me -- almost like part of the BagIt >> >> export >> >> it calling an invalid method in the DSpace Java API? >> >> >> >> At this time, I'd recommend against using the BagIt export/import >> >> functionality in dspace-replicate, as it's still "beta" as noted in the >> >> documentation here: >> >> >> >> https://wiki.duraspace.org/display/DSPACE/ReplicationTaskSuite#ReplicationTaskSuite-AIPFormatOptions >> >> >> >> That said, if you (or anyone else listening in) are interested in >> >> helping >> >> enhance the BagIt export (to move it out of beta), I'd love to see that >> >> work >> >> happen. Unfortunately, while BagIt was always hoped to be as functional >> >> as >> >> the METS based export/import, it has yet to catch on in terms of usage. >> >> I'm >> >> unaware of anyone who currently uses it (while there are several >> >> institutions who regularly use the METS based export/import). It also >> >> is >> >> very limited in its functionality when compared to the current METS >> >> export >> >> (see the comparison table of METS vs BagIt in the above link). >> >> >> >> Tim >> >> >> >> On Wed, May 2, 2018 at 1:11 PM Jose Blanco <[email protected]> wrote: >> >>> >> >>> I have dspace 5.1, >> >>> >> >>> I configured my pom.xml file to use dspace-replicate (3.4) and >> >>> followed the instructions on the documentation page >> >>> >> >>> >> >>> (https://wiki.duraspace.org/display/DSPACE/ReplicationTaskSuite#ReplicationTaskSuite-InstallationonDSpace3.x,4.xor5.x). >> >>> >> >>> And I'm getting this error: >> >>> >> >>> ./dspace curate -t transmitaip -i TEMP-BOGUS/314891 -v >> >>> Adding task: transmitaip >> >>> Starting curation >> >>> Curating id: TEMP-BOGUS/314891 >> >>> Exception: >> >>> >> >>> org.dspace.content.Item.getMetadata(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[Lorg/dspace/content/DCValue; >> >>> java.lang.NoSuchMethodError: >> >>> >> >>> >> >>> org.dspace.content.Item.getMetadata(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[Lorg/dspace/content/DCValue; >> >>> at org.dspace.pack.bagit.ItemPacker.pack(ItemPacker.java:96) >> >>> >> >>> -- >> >>> 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 [email protected]. >> >>> To post to this group, send email to [email protected]. >> >>> Visit this group at https://groups.google.com/group/dspace-tech. >> >>> For more options, visit https://groups.google.com/d/optout. >> >> >> >> -- >> >> Tim Donohue >> >> Technical Lead for DSpace & DSpaceDirect >> >> DuraSpace.org | DSpace.org | DSpaceDirect.org > > -- > Tim Donohue > Technical Lead for DSpace & DSpaceDirect > DuraSpace.org | DSpace.org | DSpaceDirect.org
-- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
