[Dspace-tech] Fwd: PasswordLogin.java

2012-04-18 Thread Priya S
Hi, I am making changes to PasswordLogin.java accessing the file from eclipse platform. How to compile the modified file, could you please let me know. Should I come to command prompt execute javac PasswordLogin.java or any other way to do it in dspace. I am pretty new to this need to quickly

Re: [Dspace-tech] OAI question

2012-04-18 Thread Alexandre Magaz Graça
On dt 17 abr 2012 10:24:19 CEST, Robert Ruiz wrote: Hi everyone, We're using DSpace 1.7.1 with XMLUI. We're harvesting some collections via OAI-PMH protocol, making weekly harvest. Besides, we also have our own content that are not harvest, and are loaded by ourselves. In addition, some

Re: [Dspace-tech] Fwd: PasswordLogin.java

2012-04-18 Thread helix84
On Wed, Apr 18, 2012 at 12:45, Priya S priya579...@googlemail.com wrote: Should I come to command prompt execute javac PasswordLogin.java or any No, you cannot compile just one class, there are a lot of dependencies between classes. That's what maven is for, it will compile the whole DSpace for

Re: [Dspace-tech] OAI question

2012-04-18 Thread helix84
Would this help? https://wiki.duraspace.org/display/DSPACE/DSpaceOAISets Regards, ~~helix84 -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second

Re: [Dspace-tech] Fwd: PasswordLogin.java

2012-04-18 Thread helix84
I just realized you might be trying to change the way DSpace authenticates the user. In that case, there are authentication plugins that you can either use or base your own plugin on. Configuration: https://wiki.duraspace.org/display/DSDOC18/Authentication+Plugins Development:

Re: [Dspace-tech] Remove Communities in DSpace and add advanced search option on home page in xmlui/Manakin

2012-04-18 Thread helix84
On Wed, Apr 18, 2012 at 14:45, Alain Tschanz atsch...@njstatelib.org wrote: Thank you for your response. Sorry I wasn't clear about question 2 (Search DSpace). I'm referring to Search DSpace under Communities in DSpace. I would like to display the form AND an Advanced Search link below it

[Dspace-tech] DSpace statistics: Top country and Top city views

2012-04-18 Thread Smith, Ina ism...@sun.ac.za
Good day all We experience trouble getting our Top country and Top city views display correctly. See for example http://scholar.sun.ac.za/handle/10019.1/5194/statistics Does somebody maybe have a solution to this? Many thanks Ina Ina Smith

Re: [Dspace-tech] change to mirage.

2012-04-18 Thread Blanco, Jose
Helix84, So I should put my variable where we are processing DRI, but where would that be in the item-view.xsl file? Or would it be in some other file. I would assume each xsl file has one and only one xml file that is fed to it, and that there must be a hierarchy of xsl files. Is that

Re: [Dspace-tech] Remove Communities in DSpace and add advanced search option on home page in xmlui/Manakin

2012-04-18 Thread helix84
On Wed, Apr 18, 2012 at 16:17, Alain Tschanz atsch...@njstatelib.org wrote: Pardon my ignorance, but I have another question. I created a new theme. Do I have to add your code to the xsl file of the new theme (theme.xsl) or can I add it to structural.xsl? No problem, everyone started once.

Re: [Dspace-tech] change to mirage.

2012-04-18 Thread helix84
On Wed, Apr 18, 2012 at 16:20, Blanco, Jose blan...@umich.edu wrote: So I should put my variable where we are processing DRI, but where would that be in the item-view.xsl file?  Or would it be in some other file. It doesn't matter which file (unless you want to override one template with

Re: [Dspace-tech] DSpace statistics: Top country and Top city views

2012-04-18 Thread helix84
On Wed, Apr 18, 2012 at 16:18, Smith, Ina ism...@sun.ac.za ism...@sun.ac.za wrote: We experience trouble getting our Top country and Top city views display correctly. See for example http://scholar.sun.ac.za/handle/10019.1/5194/statistics Do you have this file? [dspace]/config/GeoLiteCity.dat

Re: [Dspace-tech] DSpace statistics: Top country and Top city views

2012-04-18 Thread Blanco, Jose
OK, I think I may have something wrong with my xsl. I'm expecting the code inside the if to show up (I'm just experimenting here), but it does not. Can you tell why? xsl:variable name='requestcopy'xsl:value-of select=available//xsl:variable xsl:if test=$requestcopy='available'

Re: [Dspace-tech] Fwd: PasswordLogin.java

2012-04-18 Thread revskill
As i know ( in my experience) , if your dspace source is in Dspace-src-1.8.x directory, you should run command: mvn package in that directory to build again all system. Then you could use command dspace dsrun my.java.class to run your class. Hope this helps. 2012/4/18 Priya S

Re: [Dspace-tech] DSpace statistics: Top country and Top city views

2012-04-18 Thread Blanco, Jose
Never mind, I see I should have done: xsl:variable name='requestcopy'xsl:value-of select='available'//xsl:variable -Original Message- From: Blanco, Jose [mailto:blan...@umich.edu] Sent: Wednesday, April 18, 2012 10:50 AM To: heli...@centrum.sk; Smith, Ina Cc:

Re: [Dspace-tech] change to mirage.

2012-04-18 Thread helix84
On Wed, Apr 18, 2012 at 16:49, Blanco, Jose blan...@umich.edu wrote: xsl:variable name='requestcopy'xsl:value-of select=available//xsl:variable This is probably not what you expect. Here you're testing whether the current DRI node is available, i.e. whether you have an available/ element in

Re: [Dspace-tech] regarding dspace customization

2012-04-18 Thread Tim Donohue
Lokesh, I'm copying back in the dspace-tech listserv. Please send your messages/questions to this mailing list. Posting your questions to the mailing list ensures that others can help you resolve your problems (which is extremely useful when it is a problem that others may have encountered in

[Dspace-tech] Way of Finding if a File is Attached to a Record?

2012-04-18 Thread Ben Mettey
Hi all, I was wondering if there is a simple way (or any way, I guess!) of finding out how many records in a given collection are missing attached files/bitstreams. We recently batch imported a number of records from another SQL-based database, but for some reason some of the records did not

Re: [Dspace-tech] Remove Communities in DSpace and add advanced search option on home page in xmlui/Manakin

2012-04-18 Thread helix84
On Wed, Apr 18, 2012 at 18:28, Alain Tschanz atsch...@njstatelib.org wrote: Thank you for your response. I believe the code below removes browsing capability from the sidebar (div id=ds-options/div, not the body content block (div id=body/div).    xsl:template name=disable_frontpage_browse

Re: [Dspace-tech] DSpace statistics: Top country and Top city views

2012-04-18 Thread helix84
On Wed, Apr 18, 2012 at 18:09, Hilton Gibson hilton.gib...@gmail.com wrote: Done - still not working. So the file was missing? Maybe there's some other part of that database I don't know about. You should figure out why it's not being downloaded during mvn package. The reason is usually that

Re: [Dspace-tech] Way of Finding if a File is Attached to a Record?

2012-04-18 Thread helix84
On Wed, Apr 18, 2012 at 18:04, Ben Mettey bmet...@bostonbiomed.com wrote: I was wondering if there is a simple way (or any way, I guess!) of finding out how many records in a given collection are missing attached files/bitstreams. Depending on whether you prefer to use Java or SQL for that

[Dspace-tech] creating a new page in Mirage

2012-04-18 Thread Blanco, Jose
I have added this link from one of the pages: http://x.lib.umich.edu/request-item?handle=TEMP-BOGUS/200308bitstream-id=487539 and I added a transform by the name RequestItem.java and I added the following !-- restricted resource -- map:match pattern=request-item

Re: [Dspace-tech] Remove Communities in DSpace and add advanced search option on home page in xmlui/Manakin

2012-04-18 Thread Alain Tschanz
Got it! Thank you very much. I think I got the hang of it now. Alain -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Wednesday, April 18, 2012 12:40 PM To: Alain Tschanz Cc: dspace-tech Subject: Re: [Dspace-tech] Remove Communities

Re: [Dspace-tech] Remove Communities in DSpace and add advanced search option on home page in xmlui/Manakin

2012-04-18 Thread Alain Tschanz
Now I have two new problems. 1. I disabled the frontpage browse block, but when I try to browse communities collections etc. (hyperlink menu in div id=options/div; see below) the body block of the front page is now empty and no items to browse are listed at all. 2. After inserting the Advanced

[Dspace-tech] (no subject)

2012-04-18 Thread paras jain
sir i want to add few new options for searching or browsing in dspace and for that i want to configure dspace.cfg and message.xml file.but after that when i redeploy index-init or restart tomcat i cannot find any new option that i have added in dpace browsing or searching list.so please guide me