[Dspace-tech] [KE1019161] Deploy DSpace as WAR
Hi all, is there a documentation how to get DSpace deployed as WAR? I think the only thing i have to do is to copy the WAR files after mvn package to Tomcat webapps directory? I have done this but after Tomcat had unpacked the WAR the applications can not find the dspace.cfg. I took a look inside the web.xml and saw that the path variable was not replaces by /var/lib/tomcat/dspace... Do i forgot a step to get these information in there? Best regards, Marco -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] [KE1019161] Deploy DSpace as WAR
On Mon, Jan 21, 2013 at 10:12 AM, marco.we...@kesslernetworks.de wrote: is there a documentation how to get DSpace deployed as WAR? Hi Marco, I never tried it. Here's what I'd consider an authoritative answer (I don't believe anything changed since then): http://dspace.2283337.n4.nabble.com/DSpace-1-8-2-war-file-tp4654142p4654616.html Do i forgot a step to get these information in there? Did you run ant update/fresh_install at any stage? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] [KE1019161] Deploy DSpace as WAR
Hi Helix, hm Mark is talking about a JAR there and not a WAR, is that just a typo? However, i think that is the problem that the configuration have to be modified manually... No i don't ran ant because i can't execute this command on an Tomcat hosting farm ... I have to deploy it as a WAR. I think the problem is that after the mvn clean package the files in the ware doesn't contain the configuration files with replaced variables. If the replacing happen by executing ant fresh_install i can't use the maven produced WAR's. Regards, Marco Am 21.01.2013 10:22, schrieb helix84: On Mon, Jan 21, 2013 at 10:12 AM, marco.we...@kesslernetworks.de wrote: is there a documentation how to get DSpace deployed as WAR? Hi Marco, I never tried it. Here's what I'd consider an authoritative answer (I don't believe anything changed since then): http://dspace.2283337.n4.nabble.com/DSpace-1-8-2-war-file-tp4654142p4654616.html Do i forgot a step to get these information in there? Did you run ant update/fresh_install at any stage? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] [KE1019161] Deploy DSpace as WAR
On Mon, Jan 21, 2013 at 10:42 AM, marco.we...@kesslernetworks.de wrote: hm Mark is talking about a JAR there and not a WAR, is that just a typo? I think WAR, what would be the use for such a JAR? However, i think that is the problem that the configuration have to be modified manually... No i don't ran ant because i can't execute this command on an Tomcat hosting farm ... I have to deploy it as a WAR. I think the problem is that after the mvn clean package the files in the ware doesn't contain the configuration files with replaced variables. If the replacing happen by executing ant fresh_install i can't use the maven produced WAR's. Yes, it's ant's responsibility to do the replacement of placeholders (filtering). So you may need to find a substitute for all ant's functions if you want to make it work. Did you consider installing DSpace locally and then creating the war(s) manually from the installed (filtered) webapps? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] LDAP Authentication (Hierarchical) - Dspace 3.0 (No DN found for user)
Thanks Helix as this resolved my query. --- On Thu, 1/17/13, helix84 heli...@centrum.sk wrote: From: helix84 heli...@centrum.sk Subject: Re: [Dspace-tech] LDAP Authentication (Hierarchical) - Dspace 3.0 (No DN found for user) To: mErRYo merryob...@yahoo.com Cc: dspace-tech@lists.sourceforge.net Date: Thursday, January 17, 2013, 5:57 PM The first strange thing from the get-go is that LDAPHierarchicalAuthentication which you're using is no longer in DSpace 3.0, its functionality has been integrated into LDAPAuthentication. So you probably used the old class with the new code. This should work, assuming you compiled it (LDAPHierarchicalAuthentication.java) in the new codebase. If you decide to go use the new LDAPAuthentication class, you should set search.anonymous = false (I'm not sure what the default is if it's not set). About no DN found for user - this is printed when the admin user's DN cannot be found in the LDAP directory. This means that either search.user/search.password is wrong or connection to LDAP couldn't be established (provider_url et al). Try the new LDAPAuthentication class first. Details are in the upgrading notes. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Getting password login form instead of LDAP login form
Hi I am working with Dspace 3.0 with jspui. I am using LDAP and password base authentication, both are working fine. But problem is whatever authentication method i choose from chooser.jsp page I always get user/email field label key value set on jsp.components.login-form.email from Message.properties. I tired and checked it through dry run but chooser.jsp renders password.jsp which inturn renders login-form.jsp in both cases whereas in reality it should have rendered ldap.jsp which inturns rendered ldap-form.jsp in case of ldap authentication. Can some one help me in this. Secondly do i have to rebuild my dspace customization again to work fine or not (I think i don't need to rebuild my dspace again) -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Creative commons in edit item tool
I'm searching also for the same feature! Where it is in the 1.8.2 or 3.0 Dspace version? I can't find it in JSPUI or inthe XMLUI. We recently upgraded to our Dspace 1.5.2 server to Dspace 1.8.2 and noticed that we no longer have the option to add the Creative Commons licence in the edit item tool. Is there still an option to either add the CC licence when submitters forget to add it, or to change the CC licence when the incorrect licence has been selected? -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] [KE1019161] Deploy DSpace as WAR
Am 21.01.2013 10:46, schrieb helix84: On Mon, Jan 21, 2013 at 10:42 AM, marco.we...@kesslernetworks.de wrote: hm Mark is talking about a JAR there and not a WAR, is that just a typo? I think WAR, what would be the use for such a JAR? Ok, it have to be a WAR, but jar is war is zip. You have to create a jar with jar cvf ../myfile.war ./ ./ is the application directory However, i think that is the problem that the configuration have to be modified manually... No i don't ran ant because i can't execute this command on an Tomcat hosting farm ... I have to deploy it as a WAR. I think the problem is that after the mvn clean package the files in the ware doesn't contain the configuration files with replaced variables. If the replacing happen by executing ant fresh_install i can't use the maven produced WAR's. Yes, it's ant's responsibility to do the replacement of placeholders (filtering). So you may need to find a substitute for all ant's functions if you want to make it work. Did you consider installing DSpace locally and then creating the war(s) manually from the installed (filtered) webapps? Hm ok ant is not possible here. Building a war from the installed application had the same problem I now changed the path in all known configuration files. I created the database, restored the schema manually and started up tomcat. Now it works. Thank you again Helix for that amazing support you are doing here! Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Creative commons in edit item tool
Bram and I looked at how DSpace stores the information that an item is CC-licensed. It stores a license bitstream (license_rdf) in the CC-LICENSE bundle and it also adds the dc.rights and dc.rights.uri fields. Anyway, there's no direct support for adding a CC license in XMLUI or JSPUI that we know of AFTER the original submission. I also tried looking at how you can do it manually by editing bitstreams/metadata, but the fact that the bitstreams are stored in the CC-LICENSE bundle together with the fact that you can't add or remove bundles from the UIs means, that it can't be done at this moment. We're assuming the reason for why it's not possible is that even an admin shouldn't be allowed change the license after the item has been submitted, because it's the author's right (it seems DSpace assumes the submitter is the author) to choose the license. Of course, there are cases where this assumption doesn't hold (e.g. importing items by other means than the submission workflow). Here's a proposal that would solve this (among other issues) by letting you re-submit an existing item via the submission workflow again. It may be worthwhile to watch it. https://jira.duraspace.org/browse/DS-1234 What you can currently do is to use the item exporter to export the item, add the bundle and bitstreams and re-import (replace) it. It might be preferable from creating a new item, because it would keep the item's handle, metadata and bitstreams. Feel free to file this as a new Jira issue, that way you'll be able to watch its progress and any comments made. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] [KE1019161] Deploy DSpace as WAR
On Mon, Jan 21, 2013 at 1:40 PM, marco.we...@kesslernetworks.de wrote: I now changed the path in all known configuration files. I created the database, restored the schema manually and started up tomcat. Now it works. Glad to hear that. If you didn't do that already, don't forget to also replace the rest of the placeholders: grep -R '${.*}' [dspace-source]/dspace/config/* Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] [KE1019161] Deploy DSpace as WAR
Am 21.01.2013 14:14, schrieb helix84: On Mon, Jan 21, 2013 at 1:40 PM, marco.we...@kesslernetworks.de wrote: I now changed the path in all known configuration files. I created the database, restored the schema manually and started up tomcat. Now it works. Glad to hear that. If you didn't do that already, don't forget to also replace the rest of the placeholders: grep -R '${.*}' [dspace-source]/dspace/config/* Not necessary in my case, because i used the local installed application and created a WAR Before i created the WAR i only did a grep -R '/opt/dspace/' /opt/dspace/webapps/ And i had to replace the path just in the web.xml of every application (xmlui, jspui, solr ... ) Regards Marco -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] upgrading to 3.0
I'm planning on upgrading to 3.0 this week, and I'm wondering if there is a 3.1 coming out soon with bug fixes, and if so when? Because if that is the case, it might be good to wait and just upgrade to 3.1. Thank you! Jose -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] upgrading to 3.0
On Mon, Jan 21, 2013 at 4:15 PM, Jose Blanco blan...@umich.edu wrote: I'm planning on upgrading to 3.0 this week, and I'm wondering if there is a 3.1 coming out soon with bug fixes, and if so when? Because if that is the case, it might be good to wait and just upgrade to 3.1. Hi Jose, 3.1 will surely be released, but no date has been set so far. You can simply build from the current 3.x branch which already contains several bugfixes that will be part of 3.1: https://github.com/DSpace/DSpace/tree/dspace-3_x If you click on Commits, you will see exactly what they are. Other than those bugfixes, it's the same thing as 3.0. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Creative commons in edit item tool
Dear helix84, Thanks for your research and extensive reply. Strangely enough, it has been possible for the admin to add a CC to item for which the submisser had not supplied one. I have done that as admin in the edit item page. It is our department's policy that CC has to be applied to all documents. Occassionally authors forget this. As we never could see whether a CC was applied until after an item was approved, we have used the admin feature to add CC to submitted items. Now the workflow seems to indicate whether CC is applied to an item, and we can advise authors accordingly. Best wishes, Francis -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Monday, January 21, 2013 2:12 PM To: Jordan Piščanc; Brouns, Francis Cc: DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Creative commons in edit item tool Bram and I looked at how DSpace stores the information that an item is CC-licensed. It stores a license bitstream (license_rdf) in the CC-LICENSE bundle and it also adds the dc.rights and dc.rights.uri fields. Anyway, there's no direct support for adding a CC license in XMLUI or JSPUI that we know of AFTER the original submission. I also tried looking at how you can do it manually by editing bitstreams/metadata, but the fact that the bitstreams are stored in the CC-LICENSE bundle together with the fact that you can't add or remove bundles from the UIs means, that it can't be done at this moment. We're assuming the reason for why it's not possible is that even an admin shouldn't be allowed change the license after the item has been submitted, because it's the author's right (it seems DSpace assumes the submitter is the author) to choose the license. Of course, there are cases where this assumption doesn't hold (e.g. importing items by other means than the submission workflow). Here's a proposal that would solve this (among other issues) by letting you re-submit an existing item via the submission workflow again. It may be worthwhile to watch it. https://jira.duraspace.org/browse/DS-1234 What you can currently do is to use the item exporter to export the item, add the bundle and bitstreams and re-import (replace) it. It might be preferable from creating a new item, because it would keep the item's handle, metadata and bitstreams. Feel free to file this as a new Jira issue, that way you'll be able to watch its progress and any comments made. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en gebruik door anderen is niet toegestaan. Open Universiteit sluit iedere aansprakelijkheid uit die voortvloeit uit elektronische verzending. Aan de inhoud van deze e-mail en/of eventueel toegevoegde bijlagen kunnen geen rechten worden ontleend. This e-mail is intended exclusively for the addressee(s), and may not be passed on to, or made available for use by any person other than the addressee(s). Open Universiteit rules out any and every liability resulting from any electronic transmission. No rights may be derived from the contents of this message. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Creative commons in edit item tool
Hi, On 22/01/13 02:11, helix84 wrote: Anyway, there's no direct support for adding a CC license in XMLUI or JSPUI that we know of AFTER the original submission. I also tried looking at how you can do it manually by editing bitstreams/metadata, but the fact that the bitstreams are stored in the CC-LICENSE bundle together with the fact that you can't add or remove bundles from the UIs means, that it can't be done at this moment. You can add to the CC-LICENSE bundle via edit bitstreams in XMLUI if you add the bundle name to xmlui.bundle.upload in dspace.cfg -- in fact, just un-commenting the default should do it: https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg#L1749 cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Creative commons in edit item tool
Hi folks: Just to add to this thread, I think the best approach is to directly edit these related CC fields (or add/remove bitstreams) as seldom as possible, since it is too easy to introduce inconsistencies among them (e.g. the name doesn't match the URI, or the bitstream, etc). To address this need in a 'safer' way, I just put up some curation task code: https://github.com/richardrodgers/ctask/blob/master/general/src/main/java/org/dspace/ctask/general/CCLicenseLookup.java that does the following: it uses the license URI as the 'key' and then fetches the values (license Name, and license RDF) from CC and assigns them to the item. That way one can be assured of having a consistent set of values (2 metadata fields and a bitstream). In fact, I think the submission UI can be configured to only set the URI, so that you don't need to redo anything but that field, and leave the rest to the task. It's untested as yet, but since we might be needing something like this for local MIT 1.8 upgrade work, I thought I'd share early… Thanks, Richard R. On Jan 21, 2013, at 3:20 PM, Andrea Schweer wrote: Hi, On 22/01/13 02:11, helix84 wrote: Anyway, there's no direct support for adding a CC license in XMLUI or JSPUI that we know of AFTER the original submission. I also tried looking at how you can do it manually by editing bitstreams/metadata, but the fact that the bitstreams are stored in the CC-LICENSE bundle together with the fact that you can't add or remove bundles from the UIs means, that it can't be done at this moment. You can add to the CC-LICENSE bundle via edit bitstreams in XMLUI if you add the bundle name to xmlui.bundle.upload in dspace.cfg -- in fact, just un-commenting the default should do it: https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg#L1749 cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Creative commons in edit item tool
Hi, On 22/01/13 09:46, Richard Rodgers wrote: Just to add to this thread, I think the best approach is to directly edit these related CC fields (or add/remove bitstreams) as seldom as possible, since it is too easy to introduce inconsistencies among them (e.g. the name doesn't match the URI, or the bitstream, etc). I agree -- and I think helix and Bram were just looking for a workaround they could use "right now". To address this need in a 'safer' way, I just put up some curation task code: https://github.com/richardrodgers/ctask/blob/master/general/src/main/java/org/dspace/ctask/general/CCLicenseLookup.java that does the following: it uses the license URI as the 'key' and then fetches the values (license Name, and license RDF) from CC and assigns them to the item. That way one can be assured of having a consistent set of values (2 metadata fields and a bitstream). Great, thanks for sharing! I have one that kindof does the reverse -- it sets the metadata based on the license RDF: https://github.com/lconz-irr/Curation-Tasks/blob/master/src/main/java/nz/ac/lconz/irr/curate/task/AddCCMetadata.java (I ran this as a one-off over my one repository that uses CC licensing and it worked there, but it hasn't been tested extensively) cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] [KE1019161] Get record from OAI with a individual identifier
Hi Marco, sorry for the delay. Unfortunately i've misunderstood, as helix said, it requires code changes. But, i would strongly disencourage you, OAI-PMH protocol is not meant to be used for custom query purposes, you could use some rest-api instead (we are using and it works fine). If you have any further questions (about OAI/rest-api), please, feel free to question. On 18 January 2013 15:12, marco.we...@kesslernetworks.de wrote: Hi Helix, thank you for that link. I now new which direction Joao and you are thinking of but i can't find a documentation what i have to do. Just with the configuration file and the note OAI 2.0 allows you to configure following advanced options ... filters i can't understand what to do. Maybe i'm to stupid to get my gyrus around that, and googling the half day doesn't solve it ;) Maybe Joao can you explain it to me or give me a hint? Regards, Marco Am 17.01.2013 13:35, schrieb helix84: On Thu, Jan 17, 2013 at 1:18 PM, marco.weiss@kesslernetworks.**demarco.we...@kesslernetworks.de wrote: yes we are using DSpace 3.0. Can you provide me a hint where i can find a documentation of these filters? The filters Joao meant are defined and used here: https://github.com/DSpace/**DSpace/blob/dspace-3.0/dspace/** config/crosswalks/oai/xoai.xmlhttps://github.com/DSpace/DSpace/blob/dspace-3.0/dspace/config/crosswalks/oai/xoai.xml I don't know how they allow you to change what identifiers are _accepted_ by oai without writing Java code, but of course Joao knows better, he wrote the code. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/**display/DSPACE/Mailing+List+**Etiquettehttps://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/) DSpace Department *Lyncode*: Official websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ [image: Follow us on Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette