Re: [Dspace-tech] How to create a Dspace project in Eclipse
I have done this one month ago. It seems that the m2e plugin doesn't work in this case so you have to use Maven and the CLI. Then it is easy it's just: $ cd dspace # enter the folder with the dspace sources mvn package # Build DSpace mvn -Declipse.workspace=YOUR_DSPACE_FOLDER eclipse:configure-workspace # Create DSpace workspace mvn eclipse:eclipse # Create Eclipse config files Then you can do the import in Eclipse: 1. File - Import - General - Existing Projects Into Workspace - Next 2. Choose YOUR_DSPACE_FOLDER 3. Choose all the projects 4. Click finish For debugging with tomcat you have to: 1. Open tomcat settings in (on Ubuntu) /etc/default/tomcat7 2. Uncomment line: JAVA_OPTS=${JAVA_OPTS} -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n 3. Restart tomcat like: sudo service tomcat7 restart 4. In Eclipse choose a module like dspace-api click on Debug Configurations... - Remote Java Applications 5. Enter your tomcat address (like localhost) and the Port 8000. 6. At tab source add the other modules (like dspace-xmlui) 7. You can start the debugging Am 11.02.2014 18:21, schrieb Alcides Carlos de Moraes Neto: Hello everyone, I've been working with dspace for a while now, but I have never been able to create an error-free workspace in Eclipse. Is there documentation or a guide for this? I downloaded the source and imported it with the Eclipse m2e plugin. All sub-projects are identified correctly, but I get loads of XSL, JSP and Maven problems. Ats, Alcides Carlos de Moraes Neto Sometimes I think we're alone. Sometimes I think we're not. In either case, the thought is staggering. - R. Buckminster Fuller -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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 -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___ 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] How to create a Dspace project in Eclipse
Hi Christian, could you please update the relevant wiki page with your instructions? People might not find it buried in the archive, but that page should be their first place to look. Thanks in advance. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___ 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] Remove search filter from Discovery
We are using DSpace 3.2 xmlui version with enabled discovery and I want to remove/hide the search filter. Is there someone a hint on this. Thnask sisay -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___ 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] Remove search filter from Discovery
On Wed, Feb 12, 2014 at 12:38 PM, Webshet, Sisay (ILRI) s.webs...@cgiar.org wrote: We are using DSpace 3.2 xmlui version with enabled discovery and I want to remove/hide the search filter. Is there someone a hint on this. What part of a page exactly do you mean by search filter? Mark it on a screenshot. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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] How to create a Dspace project in Eclipse
Sure but I think i don't have the permission (can't log in) to make changes. Am 12.02.2014 12:17, schrieb helix84: Hi Christian, could you please update the relevant wiki page with your instructions? People might not find it buried in the archive, but that page should be their first place to look. Thanks in advance. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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] How to create a Dspace project in Eclipse
To everyone: Actually, wiki/Jira registration was disabled in December due to a large number of spam accounts being created, so in order to register, let me know and I'll send you a registration link right away, Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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] Remove search filter from Discovery
Since you already know how to find its element name and attribute value, you already know how to disable any element: https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-HowdoIremovethesearchboxfromthefrontpageinXMLUI? Here's what you asked for: xsl:template name=disable_discovery-filters1 match=dri:div[@id='aspect.discovery.SimpleSearch.div.search-filters'] /xsl:template xsl:template name=disable_discovery-filters2 match=dri:div[@id='aspect.discovery.SimpleSearch.div.discovery-filters-wrapper'] /xsl:template xsl:template name=disable_discovery-filters3 match=dri:div[@id='aspect.discovery.SimpleSearch.div.iscovery-search-box'] /xsl:template In addition, you will want to remove the link: xsl:template name=disable_discovery-filters-link match=dri:xref[@target='display-filters'] /xsl:template Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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] dSpace 3.2 - Type field in Submission Process
Hi, During the default submission process you are prompted with the option to select a 'type' e.g. Image, Presentation and so forth. Is there a way in which I could change the submission process so that when a user selects a specific 'type' the requested metadata changes accordingly. Example: If they select 'presentation' on the next page they will be prompted with metadata fields relevant to this - presenters/authors/location etc. If they select 'image' they will be presented with different metadata fields relevant to image and not nothing else - format/size etc. Is this possible at all? Regards, Anthony __ Anthony Prodromou ITS Intern Schlumberger Gould Research High Cross, Madingley Road, Cambridge, CB3 0EL Tel: +44 1223 325455 Mob: +44 7904 903998 __ Registered Name: Schlumberger Cambridge Research Limited Registered Office: Victory House, Churchill Court, Manor Royal, Crawley, West Sussex, RH10 9LU Registered in England and Wales No. 606177 -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___ 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] Remove search filter from Discovery
Thanks Helix, Though I see some error like org.xml.sax.SAXParseException: Element type xsl:template must be followed by either attribute specifications, or /. context:/jndi:/localhost/xmlui/themes/CGSPACE/lib/xsl/core/page-structure.xsl - 436:48 I will read more on xslt sisay -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Wednesday, February 12, 2014 3:22 PM To: Webshet, Sisay (ILRI) Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Remove search filter from Discovery Since you already know how to find its element name and attribute value, you already know how to disable any element: https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-HowdoIremovethesearchboxfromthefrontpageinXMLUI? Here's what you asked for: xsl:template name=disable_discovery-filters1 match=dri:div[@id='aspect.discovery.SimpleSearch.div.search-filters'] /xsl:template xsl:template name=disable_discovery-filters2 match=dri:div[@id='aspect.discovery.SimpleSearch.div.discovery-filters-wrapper'] /xsl:template xsl:template name=disable_discovery-filters3 match=dri:div[@id='aspect.discovery.SimpleSearch.div.iscovery-search-box'] /xsl:template In addition, you will want to remove the link: xsl:template name=disable_discovery-filters-link match=dri:xref[@target='display-filters'] /xsl:template Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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] Scopus Citations Count Integration
Hi Colleagues I am trying to display scopus citation counts in our repository and found the following code to begin with: https://gist.github.com/aschweer/6772579 When I add the code in item-view.xml, mirage theme, xmlui i get an error 'javax.xml.transform.TransformerException: a is not allowed in this position in the stylesheet!' Here is a snippet of my snippet of the code I am testing with, has anyone ever deployed it in their server: script type=text/javascript src=http://api.elsevier.com/javascript/scopussearch.jsp; /script script type=text/javascript xsl:text var strQuery = DOI(/xsl:textxsl:value-of select=dim:field[@element='identifier' and @qualifier='doi']/xsl:text disable-output-escaping=yes); callbackCitedbycount = function(){ if (sciverse.areSearchResultsValid()) { var resultObj = sciverse.getSearchResults(); if (resultObj.returnedResults 0) { citedbycount = resultObj.results[0].citedbycount; eid = resultObj.results[0].eid; if (citedbycount 0) { citeHtml = 'Scopus times cited'; if (eid != null) { citeHtml += 'a href=http://www.scopus.com/scopus/search/submit/citedby.url?src=sorigin=recordpageeid=' ( http://www.scopus.com/scopus/search/submit/citedby.url?src=sorigin=recordpageeid=' ); citeHtml += eid; citeHtml += ' class=citing-link target=_new title=View citing articles in Scopus'; citeHtml += citedbycount; citeHtml += '/a'; } articleLink = resultObj.results[0].inwardurl; if (articleLink != null) { citeHtml += ' small(a href='; citeHtml += articleLink; citeHtml += ' class=article-link target=_new title=View record in Scopus '; citeHtml += 'View record in Scopus'; citeHtml += '/a)/small'; } $(#citecounts-scopus).html(citeHtml); $(#citecounts-scopus).removeClass('hidden'); $(#citecounts-scopus).show('blind'); $(#citecounts-scopus a.citing-link).click(function(){ if (_gaq != null) { _gaq.push(['_trackEvent', 'Citecount links', 'Scopus citing items', 'http://hdl.handle.net/10566/707']); } }); $(#citecounts-scopus a.article-link).click(function(){ if (_gaq) { _gaq.push(['_trackEvent', 'Citecount links', 'Scopus article', 'http://hdl.handle.net/10566/707']); } }); } } } }; runSearch = function() { //setting defaults sciverse.setApiKey([MfNDmWCAIjZPVC2tStf8OOlrAGWO3N]); sciverse.setCallback(callbackCitedbycount); //setting search query // var strQuery = DOI(10.1002/rra.2609); var varSearchObj = new searchObj(); varSearchObj.setSearch(strQuery); varSearchObj.setNumResults('1'); //launching search try { sciverse.runSearch(varSearchObj); } catch(err) { } }; runAfterJSImports.add(runSearch);]] /xsl:text /script Regards Solomon -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___ 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] How to update database schema into Window
I'm not sure what is happening in the lower window. In the upper window: 1. ./something isn't a path to something on Windows; use .\something. 2. There is no pgsql command; use psql. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___ 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] Solr Queries and Item IDs
Is it possible to query solr for download statistics of a particular item over a specified duration? This is the query I've got so far: wget localhost:8080/solr/statistics/select?q=id:866+AND+type:0+AND+isBot:false+AND+time\:\[2013-01-01T00:00:00Z+TO+2014-01-01T00:00:00Z\]\indent=on\rows=1000 and this is the response: ?xml version=1.0 encoding=UTF-8? response lst name=responseHeader int name=status0/int int name=QTime0/int lst name=params str name=indenton/str str name=qid:866 AND type:0 AND isBot:false AND time:[2013-01-01T00:00:00Z TO 2014-01-01T00:00:00Z]/str str name=rows1000/str /lst /lst result name=response numFound=0 start=0 /result /response If I look up item ID 866 in DSpace, it corresponds to handle: 10321/623 and http://dspace/handle/10321/623/statistics shows 148 file visits to the only bitstream in that item over the past year. I suspect my idea of an id is different to what solr and DSpace think, but then what should I use in the query? Sean -- -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___ 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] dSpace 3.2 - Enabling Disocvery XMLUI
Hi, I am getting this error whilst trying to enable discovery for XMLUI: [cid:image001.png@01CF27FA.D7C394A0] I have followed the steps from https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-StepsrequiredforXMLUI Does anyone have a solution to this problem? Regards, Anthony __ Anthony Prodromou ITS Intern Schlumberger Gould Research High Cross, Madingley Road, Cambridge, CB3 0EL Tel: +44 1223 325455 Mob: +44 7904 903998 __ Registered Name: Schlumberger Cambridge Research Limited Registered Office: Victory House, Churchill Court, Manor Royal, Crawley, West Sussex, RH10 9LU Registered in England and Wales No. 606177 inline: image001.png-- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___ 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] How to update database schema into Window
In the first screenshot (command shell), a) either define full path to the psql command (something like c:\Program Files\Postgres\psql.exe) b) or add the full path to the psql command (c:\Program Files\Postgres\) to your PATH environment variable. OR c) In the second screenshot (psql shell) dspace= \i c:\something\something\database_schema_3-4.sql Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___ 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] Solr Queries and Item IDs
On Wed, Feb 12, 2014 at 2:47 PM, Sean Carte sean.ca...@gmail.com wrote: str name=qid:866 AND type:0 AND isBot:false AND time:[2013-01-01T00:00:00Z TO 2014-01-01T00:00:00Z]/str ... If I look up item ID 866 in DSpace, it corresponds to handle: 10321/623 id is internal id that depends on the object type. So for an item, you would use the value of item_id as id. But you're asking for type:0 which is bitstream and you're, presumably, using item_id as id. So you can either to ask about the bitstream: id: AND type:0 AND isBot:false AND time:[2013-01-01T00:00:00Z TO 2014-01-01T00:00:00Z] or about the item (assuming 866 is item_id): id:866 AND type:2 AND isBot:false AND time:[2013-01-01T00:00:00Z TO 2014-01-01T00:00:00Z] Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___ 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] Scopus Citations Count Integration
Hello Solomon, Perhaps this thread might help you. http://dspace.2283337.n4.nabble.com/Scopus-Integration-Cited-By-Count-API-td4667632.html . Regards, Elvi -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___ 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] dSpace 3.2 - Type field in Submission Process
Hi Anthony, type-based submission is documented here: https://wiki.duraspace.org/display/DSDOC3x/Submission+User+Interface#SubmissionUserInterface-ItemtypeBasedMetadataCollection Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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] Remove search filter from Discovery
On Wed, Feb 12, 2014 at 2:24 PM, Webshet, Sisay (ILRI) s.webs...@cgiar.org wrote: org.xml.sax.SAXParseException: Element type xsl:template must be followed by either attribute specifications, or /. context:/jndi:/localhost/xmlui/themes/CGSPACE/lib/xsl/core/page-structure.xsl - 436:48 It should work just as I pasted it. You probably made some syntactic error. Make sure to put it inside xsl:stylesheet but outside any xsl:template (xsl:template cannot be nested). From the message it seems like you put something else than attributes (name, match) after the xsl:template element opening before the closing bracket (). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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] dSpace 3.2 - Enabling Disocvery XMLUI
What's your value of search.server in [dspace]/config/modules/discovery.cfg? Is the hostname and port correct? Usually it would be search.server = http://localhost:8080/solr/search;, though it depends on how you configured your servlet container. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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] Hit Highlight functionality in JSPUI
On Tue, Feb 11, 2014 at 7:33 PM, Iyer M rajiyer...@gmail.com wrote: Can we do hit highlight in JSPUI. No, this currently works only in DSpace 3 XMLUI, see [1]. In DSpace 4, XMLUI we just discovered a bug that probably affects this [2]. [1] https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-Customizinghithighlightingsearchsnippets [2] https://jira.duraspace.org/browse/DS-1907 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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] How to create a Dspace project in Eclipse
I just finished the Wiki page on https://wiki.duraspace.org/display/DSPACE/IDE+Integration+-+DSpace%2C+Eclipse+and+Tomcat. The procedure is not as simple and nice as with Netbeans but it's a working setup. Regards Christian -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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] dSpace 3.2 - Enabling Disocvery XMLUI
Hi, Before I was using a hostname 'localhost' on port '8080'. In the [dspace]/config/modules/discovery.cfg file I had tried both search.server = http://localhost:8080/solr/search; and solr.search.server = http://localhost:8080/solr/search; and still received that error message. Now I am using a different hostname but updated the search.server accordingly but am still facing the same error when running 'dspace update-discovery-index' as before. Any ideas Regards, Anthony -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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] dSpace 3.2 - Enabling Disocvery XMLUI
What's your output for the following command? netstat -tulpn | grep 8080 Did you deploy the solr webapp in Tomcat? This is described in Step 9 here: https://wiki.duraspace.org/display/DSDOC3x/Installation#Installation-Installation Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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] How to create a Dspace project in Eclipse
In case this is helpful to the discussion, here are some notes that I have shared regarding my configuration. I do not build a running instance of the webapp locally. I build on my server. *1. Create an Eclipse project containing the dspace source release.* Configure the following source paths on the Eclipse build path. classpathentry kind=src path=dspace-api/src/main/java/ classpathentry kind=src path=dspace-api/src/test/java/ classpathentry kind=src path=dspace-jspui/src/main/java/ classpathentry kind=src path=dspace-lni/dspace-lni-client/src/main/java/ classpathentry kind=src path=dspace-lni/src/main/java/ classpathentry kind=src path=dspace-oai/src/main/java/ classpathentry kind=src path=dspace-services/src/main/java/ classpathentry kind=src path=dspace-services/src/test/java/ classpathentry kind=src path=dspace-sword/src/main/java/ classpathentry kind=src path=dspace-swordv2/src/main/java/ classpathentry kind=src path=dspace-xmlui/src/main/java/ classpathentry kind=src path=dspace/modules/additions/src/main/java/ classpathentry kind=con path=org.eclipse.jdt.launching.JRE_CONTAINER/ *2. Run the Maven build to generate all of the project jar files.* *3. Create an Eclipse project for my DSpace instance. I only include the source folders that I have modified directly.* Configure the following source paths on my project's Eclipse build path. classpathentry kind=src path=dspace/modules/additions/src/main/java/ classpathentry kind=src path=dspace-xmlui/src/main/java/ classpathentry kind=src path=dspace-oai/src/main/java/ classpathentry kind=con path=org.eclipse.jdt.launching.JRE_CONTAINER/ Include all of the maven-generated JAR files in my project build path classpathentry kind=lib path=C:/workspace/GUDSpace3.1/dspace/target/dspace-3.1-build/lib/activation-1.1.jar/ ... Terry On Wed, Feb 12, 2014 at 10:30 AM, helix84 heli...@centrum.sk wrote: On Wed, Feb 12, 2014 at 4:09 PM, Christian Scheible christian.schei...@uni-konstanz.de wrote: I just finished the Wiki page on https://wiki.duraspace.org/display/DSPACE/IDE+Integration+-+DSpace%2C+Eclipse+and+Tomcat . The procedure is not as simple and nice as with Netbeans but it's a working setup. Ouch, you edited the outdated page, not the new one updated with current information after we moved to Git... I specifically said which one is which. You may want to update the new one instead and revert the changes in the old one (which was kept for archiving purposes). In any case, thank you for your work. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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 -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 202-687-7053 -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___ 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] How to update database schema into Window
Yes... Thanks for reply. Your reply is work for me. Now I am able to update schema on DSpace4 in window. I have set the environment variable path for postgresql and it's work for me (as per your first reply a) and b) ) Thanks, Bhavesh Thanks Regards, *Bhavesh R. Patel * - www.bhaveshpatel.info - www.onlinequizportal.com - www.hindisuvichar.com Never leave till tomorrow which you can do today *Please consider the environment before printing this e-mail.* On Wed, Feb 12, 2014 at 7:41 PM, helix84 heli...@centrum.sk wrote: In the first screenshot (command shell), a) either define full path to the psql command (something like c:\Program Files\Postgres\psql.exe) b) or add the full path to the psql command (c:\Program Files\Postgres\) to your PATH environment variable. OR c) In the second screenshot (psql shell) dspace= \i c:\something\something\database_schema_3-4.sql Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___ 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] Caching is not supported by the ItemCountDAOSolr
On Wed, Feb 12, 2014 at 6:17 PM, Bhavesh Patel bhavesh.bece...@gmail.com wrote: See the screen sort for the command output Caching is not supported by the ItemCountDAOSolr Also read the rest of the message: as it is not really needed, Solr is faster! The default is still webui.strengths.cache = true which was the default in previous versions and can still be used if you decide to switch away from Solr to the legacy DB-based DAO. To silence the harmless message, it should be enough to just set webui.strengths.cache = false Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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] Remove search filter from Discovery
Thanks it works! -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Wednesday, February 12, 2014 4:58 PM To: Webshet, Sisay (ILRI) Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Remove search filter from Discovery On Wed, Feb 12, 2014 at 2:24 PM, Webshet, Sisay (ILRI) s.webs...@cgiar.org wrote: org.xml.sax.SAXParseException: Element type xsl:template must be followed by either attribute specifications, or /. context:/jndi:/localhost/xmlui/themes/CGSPACE/lib/xsl/core/page-struct ure.xsl - 436:48 It should work just as I pasted it. You probably made some syntactic error. Make sure to put it inside xsl:stylesheet but outside any xsl:template (xsl:template cannot be nested). From the message it seems like you put something else than attributes (name, match) after the xsl:template element opening before the closing bracket (). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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] Remove search filter from Discovery
Thanks The syntax error is corrected, However when I enabled or comment ' aspect.discovery.SimpleSearch.div.discovery-search-box' the page for the element aspect_discovery_SimpleSearch_field_scope will appear. That means I want the page for aspect.discovery.SimpleSearch.div.discovery-search-box' to be viewed and to hide the page for the aspect_discovery_SimpleSearch_field_scope to be hidden. Thanks Sisay -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Wednesday, February 12, 2014 4:58 PM To: Webshet, Sisay (ILRI) Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Remove search filter from Discovery On Wed, Feb 12, 2014 at 2:24 PM, Webshet, Sisay (ILRI) s.webs...@cgiar.org wrote: org.xml.sax.SAXParseException: Element type xsl:template must be followed by either attribute specifications, or /. context:/jndi:/localhost/xmlui/themes/CGSPACE/lib/xsl/core/page-struct ure.xsl - 436:48 It should work just as I pasted it. You probably made some syntactic error. Make sure to put it inside xsl:stylesheet but outside any xsl:template (xsl:template cannot be nested). From the message it seems like you put something else than attributes (name, match) after the xsl:template element opening before the closing bracket (). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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] Solr Queries and Item IDs
On 12 February 2014 16:05, helix84 heli...@centrum.sk wrote: On Wed, Feb 12, 2014 at 2:47 PM, Sean Carte sean.ca...@gmail.com wrote: str name=qid:866 AND type:0 AND isBot:false AND time:[2013-01-01T00:00:00Z TO 2014-01-01T00:00:00Z]/str ... If I look up item ID 866 in DSpace, it corresponds to handle: 10321/623 id is internal id that depends on the object type. So for an item, you would use the value of item_id as id. But you're asking for type:0 which is bitstream and you're, presumably, using item_id as id. So you can either to ask about the bitstream: id: AND type:0 AND isBot:false AND time:[2013-01-01T00:00:00Z TO 2014-01-01T00:00:00Z] or about the item (assuming 866 is item_id): id:866 AND type:2 AND isBot:false AND time:[2013-01-01T00:00:00Z TO 2014-01-01T00:00:00Z] Thanks, Ivan. I guess then my question is even more basic than that: given a handle 10321/623 for an item that contains one bitstream, how can I find out what the id of that bitstream is? Sean -- -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___ 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] Solr Queries and Item IDs
On Thu, Feb 13, 2014 at 8:00 AM, Sean Carte sean.ca...@gmail.com wrote: Thanks, Ivan. I guess then my question is even more basic than that: given a handle 10321/623 for an item that contains one bitstream, how can I find out what the id of that bitstream is? I don't think you can find out from any of the Solr cores. I looked and didn't see it. You can find out from the database (handle, item2bundle, bundle2bitstream tables) or via the REST API (provided that you know item_id, which you can look up in the Solr search core). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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] Remove search filter from Discovery
On Thu, Feb 13, 2014 at 7:58 AM, Webshet, Sisay (ILRI) s.webs...@cgiar.org wrote: The syntax error is corrected, However when I enabled or comment ' aspect.discovery.SimpleSearch.div.discovery-search-box' the page for the element aspect_discovery_SimpleSearch_field_scope will appear. That means I want the page for aspect.discovery.SimpleSearch.div.discovery-search-box' to be viewed and to hide the page for the aspect_discovery_SimpleSearch_field_scope to be hidden. Screenshot again? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ 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