Re: [Dspace-tech] How to create a Dspace project in Eclipse

2014-02-13 Thread Christian Scheible
Ok, I changed the location of the information to 
https://wiki.duraspace.org/display/DSPACE/DSpace+IDE+-+Eclipse%2C+Git%2C+Maven%2C+and+Tomcat.
 




Am 12.02.2014 16:30, schrieb helix84:
 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


[Dspace-tech] Previous step in Configurable Reviewer Workflow

2014-02-13 Thread Daniel Garcia Mejia

Hi,

I've a repository with DSpace 3.2 which I want to do an adaptation of 
the default workflow. I enabled the ' Configurable Reviewer Workflow ' 
and I've adapted to the roles and steps I need and it works perfectly .


My workflow consists of 2 steps with 2 different roles. I would like to 
make in the last step a button that would make a 'reject' to return item 
revision to the previous step and NO the first step. At this time, the 
'reject ' button that comes by default in DSpace returns the item to the 
submitter , but I DON'T want this, I want to return to the PREVIOUS step 
for review item to the corresponding group , NO to the submitter of the 
item .


I have reviewed the code of the step that offers 'reject' button by 
default in DSpace and I've observed that Java method ' WorkspaceItem 
sendWorkflowItemBackSubmission ' in class ' XmlWorkflowManager ' but 
this method NOT done what I want , because it returns the item to 
submitters.


Is there any method done in DSpace that a reject returns the item back 
to the previous step and NO the first? Any indication that anybody can 
give me to do it?



Thanks in advance




Dani

--
- no title specified


Daniel Garcia Mejia

Tècnic de projectes - Càlcul i Aplicacions

Consorci de Serveis Universitaris de Catalunya (CSUC)

Gran Capità, 2 (Edifici Nexus) ?08034 Barcelona

T. 93 551 6210 ?F. 93 205 6979 ?daniel.gar...@csuc.cat

www.csuc.cat ?Twitter @CSUC_info ?Facebook ?Linkedin

Subscriu-te al butlletí; (www.csuc.cat/butlleti)


--
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] FW: OAI Validation (step 1): http://wiredspace.wits.ac.za/oai/request

2014-02-13 Thread Lewatle Phaladi
Hi Team,

Please if there is anyone who has ever registered DSPACE site on this site 
http://www.openarchives.org/Register/BrowseSites  could advise on how to 
resolve the following error indicated, I was registering our institutional 
repository with the site.

Regards,
Lewatle 

-Original Message-
From: Apache [mailto:apa...@victoria01.serverfarm.cornell.edu] 
Sent: 13 February 2014 10:51 AM
To: Lewatle Phaladi
Subject: OAI Validation (step 1): http://wiredspace.wits.ac.za/oai/request

We received a request to validate (but not register) the following repository:

Base URL: http://wiredspace.wits.ac.za/oai/request
adminEmail: lewatle.phal...@wits.ac.za

..

Unfortunately your repository did not validate at version 2.0 of the OAI-PMH 
according to our OAI protocol conformance tester. The errors received during 
testing are listed below.

[1] The baseURL supplied
http://wiredspace.wits.ac.za/oai/request
does not match the baseURL provided in the Identify response 
http://146.141.12.21/oai/request The baseURL you enter must EXACTLY match the 
baseURL returned in the Identify response. It must match in case 
(http://Wibble.org/ does not match
http://wibble.org/) and include any trailing slashes etc.

Aborting tests because of errors in the Identify response, you must correct 
these errors before tests can continue.

..

To help find your errors, you might use Hussein Suleman's Repository Explorer 
at http://purl.org/net/oai_explorer. Note that the Repository Explorer has 
less stringent tests than this validation service but provides a very 
convenient way to examine and navigate OAI responses.

If you wish to rerun the validation tests when you have corrected the errors 
shown, you may do so by from http://www.openarchives.org/Register/ValidateSite

If there is something you do not understand about these validation tests or 
something you think is in error, please email simeon.war...@cornell.edu.

The OAI validation service is supported through NSF award number 0127308.

table width=100% border=0 cellspacing=0 cellpadding=0 
style=width:100%; 
tr
td align=left style=text-align:justify;font face=arial,sans-serif 
size=1 color=#99span style=font-size:11px;This communication is 
intended for the addressee only. It is confidential. If you have received this 
communication in error, please notify us immediately and destroy the original 
message. You may not copy or disseminate this communication without the 
permission of the University. Only authorised signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary. /span/font/td
/tr
/table


--
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] FW: OAI Validation (step 1): http://wiredspace.wits.ac.za/oai/request

2014-02-13 Thread Hilton Gibson
Hi Lewatle

I also do not get any records from this URLL
http://wiredspace.wits.ac.za/oai/request?verb=ListRecordsmetadataPrefix=oai_dc

Perhaps check:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Harvesting/3.2#Urgent_Noticeas
well.

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


On 13 February 2014 10:54, Lewatle Phaladi lewatle.phal...@wits.ac.zawrote:

 Hi Team,

 Please if there is anyone who has ever registered DSPACE site on this site
 http://www.openarchives.org/Register/BrowseSites  could advise on how to
 resolve the following error indicated, I was registering our institutional
 repository with the site.

 Regards,
 Lewatle

 -Original Message-
 From: Apache [mailto:apa...@victoria01.serverfarm.cornell.edu]
 Sent: 13 February 2014 10:51 AM
 To: Lewatle Phaladi
 Subject: OAI Validation (step 1): http://wiredspace.wits.ac.za/oai/request

 We received a request to validate (but not register) the following
 repository:

 Base URL: http://wiredspace.wits.ac.za/oai/request
 adminEmail: lewatle.phal...@wits.ac.za


 ..

 Unfortunately your repository did not validate at version 2.0 of the
 OAI-PMH according to our OAI protocol conformance tester. The errors
 received during testing are listed below.

 [1] The baseURL supplied
 http://wiredspace.wits.ac.za/oai/request
 does not match the baseURL provided in the Identify response
 http://146.141.12.21/oai/request The baseURL you enter must EXACTLY match
 the baseURL returned in the Identify response. It must match in case (
 http://Wibble.org/ does not match
 http://wibble.org/) and include any trailing slashes etc.

 Aborting tests because of errors in the Identify response, you must
 correct these errors before tests can continue.


 ..

 To help find your errors, you might use Hussein Suleman's Repository
 Explorer at http://purl.org/net/oai_explorer. Note that the Repository
 Explorer has less stringent tests than this validation service but provides
 a very convenient way to examine and navigate OAI responses.

 If you wish to rerun the validation tests when you have corrected the
 errors shown, you may do so by from
 http://www.openarchives.org/Register/ValidateSite

 If there is something you do not understand about these validation tests
 or something you think is in error, please email simeon.war...@cornell.edu
 .

 The OAI validation service is supported through NSF award number 0127308.

 table width=100% border=0 cellspacing=0 cellpadding=0
 style=width:100%;
 tr
 td align=left style=text-align:justify;font face=arial,sans-serif
 size=1 color=#99span style=font-size:11px;This communication
 is intended for the addressee only. It is confidential. If you have
 received this communication in error, please notify us immediately and
 destroy the original message. You may not copy or disseminate this
 communication without the permission of the University. Only authorised
 signatories are competent to enter into agreements on behalf of the
 University and recipients are thus advised that the content of this message
 may not be legally binding on the University and may contain the personal
 views and opinions of the author, which are not necessarily the views and
 opinions of The University of the Witwatersrand, Johannesburg. All
 agreements between the University and outsiders are subject to South
 African Law unless the University agrees in writing to the contrary.
 /span/font/td
 /tr
 /table



 --
 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

Re: [Dspace-tech] FW: OAI Validation (step 1): http://wiredspace.wits.ac.za/oai/request

2014-02-13 Thread Lewatle Phaladi
Thanks Hilton,

I will do.

Regards,
Lewatle

From: Hilton Gibson [mailto:hilton.gib...@gmail.com]
Sent: 13 February 2014 11:10 AM
To: Lewatle Phaladi
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] FW: OAI Validation (step 1): 
http://wiredspace.wits.ac.za/oai/request

Hi Lewatle

I also do not get any records from this URLL 
http://wiredspace.wits.ac.za/oai/request?verb=ListRecordsmetadataPrefix=oai_dc

Perhaps check: 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Harvesting/3.2#Urgent_Notice as 
well.

Cheers

hg

Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson

On 13 February 2014 10:54, Lewatle Phaladi 
lewatle.phal...@wits.ac.zamailto:lewatle.phal...@wits.ac.za wrote:
Hi Team,

Please if there is anyone who has ever registered DSPACE site on this site 
http://www.openarchives.org/Register/BrowseSites  could advise on how to 
resolve the following error indicated, I was registering our institutional 
repository with the site.

Regards,
Lewatle

-Original Message-
From: Apache 
[mailto:apa...@victoria01.serverfarm.cornell.edumailto:apa...@victoria01.serverfarm.cornell.edu]
Sent: 13 February 2014 10:51 AM
To: Lewatle Phaladi
Subject: OAI Validation (step 1): http://wiredspace.wits.ac.za/oai/request

We received a request to validate (but not register) the following repository:

Base URL: http://wiredspace.wits.ac.za/oai/request
adminEmail: lewatle.phal...@wits.ac.zamailto:lewatle.phal...@wits.ac.za

..

Unfortunately your repository did not validate at version 2.0 of the OAI-PMH 
according to our OAI protocol conformance tester. The errors received during 
testing are listed below.

[1] The baseURL supplied
http://wiredspace.wits.ac.za/oai/request
does not match the baseURL provided in the Identify response 
http://146.141.12.21/oai/request The baseURL you enter must EXACTLY match the 
baseURL returned in the Identify response. It must match in case 
(http://Wibble.org/ does not match
http://wibble.org/) and include any trailing slashes etc.

Aborting tests because of errors in the Identify response, you must correct 
these errors before tests can continue.

..

To help find your errors, you might use Hussein Suleman's Repository Explorer 
at http://purl.org/net/oai_explorer. Note that the Repository Explorer has 
less stringent tests than this validation service but provides a very 
convenient way to examine and navigate OAI responses.

If you wish to rerun the validation tests when you have corrected the errors 
shown, you may do so by from http://www.openarchives.org/Register/ValidateSite

If there is something you do not understand about these validation tests or 
something you think is in error, please email 
simeon.war...@cornell.edumailto:simeon.war...@cornell.edu.

The OAI validation service is supported through NSF award number 0127308.

table width=100% border=0 cellspacing=0 cellpadding=0 
style=width:100%;
tr
td align=left style=text-align:justify;font face=arial,sans-serif 
size=1 color=#99span style=font-size:11px;This communication is 
intended for the addressee only. It is confidential. If you have received this 
communication in error, please notify us immediately and destroy the original 
message. You may not copy or disseminate this communication without the 
permission of the University. Only authorised signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary. /span/font/td
/tr
/table


--
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.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


table width=100% border=0 cellspacing=0 cellpadding=0 

Re: [Dspace-tech] Solr Queries and Item IDs

2014-02-13 Thread Benjamin Ryan
If you know the item id then you can find stats for bitstreams as they have the 
owningItem field that contains the item id.

Ben

--
Dr Ben Ryan
Jorum Technical Coordinator (Services)

5.13 Roscoe Building
The University of Manchester
Oxford Road
Manchester
M13 9PL
Tel: 0161 275 0632
E-mail: benjamin.r...@manchester.ac.uk
--


-Original Message-
From: helix84 [mailto:heli...@centrum.sk] 
Sent: 13 February 2014 07:43
To: Sean Carte
Cc: dspace-tech
Subject: 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

--
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] Hide bitstreams with restricted access?

2014-02-13 Thread Joan Caparrós
Hi to everybody,
after reading all the messages I don't see it clear, I have a file in a 
bundle that I embbed in a viewer.
I would like to check if the user has the privileges to access to the 
file to include or not the viewer, I think that this is only possible 
modifying some code to delete the reference of the file.
Someone know how to check it? In this way (modifying the code) or 
modifying the theme?

Best Regards
Joan Caparrós

On 18/06/13 12:31, helix84 wrote:
 On Tue, Jun 18, 2013 at 12:06 PM, M. Àngels Pulido
 m.angels.pul...@uvic.cat wrote:
 Yes Helix, to us this approach works because we want to hide the bitstream 
 that is a .pdf where the user put the permission to publish their work: 
 article, book, etc.  in our repository and therefore, this document contains 
 personal data. So we are interested that are not indexed in the search 
 engines and is a document that can only access the administrators.
 I'm not sure if this is what Jessica hopes ...
 That's a good approach for your use case - storing permissions in the
 repository. But let me give you a suggestion. If you create a new
 bundle, it will be listed in the METS file and unless you restrict the
 bitstrean access rights, it will be accessible (if you know how to
 find out its URL from the METS file). A better way would be to use the
 LICENSE bundle for storing permissions, because it' not shown in the
 list of bundles by defaut.

 In either case, you should still make sure to remove Anonymous READ
 access from the file. You probably do that, I'm just making sure.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 ___
 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


-- 
.

Joan Caparrós
Tècnic de Projectes
Consorci de Serveis Universitaris de Catalunya (CSUC)

Gran Capità, 2 (Edifici Nexus)•08034 Barcelona
T.93 551 6204•F.93 205 6979•joan.capar...@csuc.cat
www.csuc.cat •Twitter @CSUC_info•Facebook•Linkedin
Subscriu-te al butlletí; (www.csuc.cat/butlleti)
.


--
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

2014-02-13 Thread helix84
On Thu, Feb 13, 2014 at 10:22 AM, Benjamin Ryan
benjamin.r...@manchester.ac.uk wrote:
 If you know the item id then you can find stats for bitstreams as they have 
 the owningItem field that contains the item id.

I see, yes. Then you can facet them by id to get counts for
individual bitstreams. You'll also want to filter only by
bundleName:ORIGINAL.

This will work only for bitstreams that have at least one usage event.


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

2014-02-13 Thread Webshet, Sisay (ILRI)
Sorry it was my mistake the  element  
id='aspect_discovery_SimpleSearch_field_scope and 
aspect.discovery.SimpleSearch.div.discovery-search-box
 are  together

Thanks
Sisay

-Original Message-
From: Webshet, Sisay (ILRI) 
Sent: Thursday, February 13, 2014 12:13 PM
To: 'heli...@centrum.sk'
Cc: 'dspace-tech@lists.sourceforge.net'
Subject: RE: [Dspace-tech] Remove search filter from Discovery



Here is attaches a screenshot
I want to hide the above search box who has a default value All of CGSPACE.

Thanks
sisay
-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Thursday, February 13, 2014 10:44 AM
To: Webshet, Sisay (ILRI)
Cc: dspace-tech@lists.sourceforge.net
Subject: 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


Re: [Dspace-tech] FW: OAI Validation (step 1): http://wiredspace.wits.ac.za/oai/request

2014-02-13 Thread helix84
On Thu, Feb 13, 2014 at 9:54 AM, Lewatle Phaladi
lewatle.phal...@wits.ac.za wrote:
 [1] The baseURL supplied
 http://wiredspace.wits.ac.za/oai/request
 does not match the baseURL provided in the Identify response 
 http://146.141.12.21/oai/request The baseURL you enter must EXACTLY match the 
 baseURL returned in the Identify response. It must match in case 
 (http://Wibble.org/ does not match
 http://wibble.org/) and include any trailing slashes etc.

You registered your OAI endpoint at openarchives as
http://wiredspace.wits.ac.za/oai/request, but you configured your
DSpace URL in dspace.cfg as http://146.141.12.21/. OAI takes this
configured URL and reports it in the OAI Identify response. Then
openarchives compares these two values, sees that they don't match and
doesn't like it. Change your DSpace URL to your hostname instead of
IP.

In addition to that, you either have not imported anything to OAI or
are affected by the No matches for the query bug Hilton mentioned (I
can't help you with that one at this point).


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] Hide bitstreams with restricted access?

2014-02-13 Thread helix84
On Thu, Feb 13, 2014 at 10:31 AM, Joan Caparrós joan.capar...@csuc.cat wrote:
 Hi to everybody,
 after reading all the messages I don't see it clear, I have a file in a
 bundle that I embbed in a viewer.
 I would like to check if the user has the privileges to access to the
 file to include or not the viewer, I think that this is only possible
 modifying some code to delete the reference of the file.
 Someone know how to check it? In this way (modifying the code) or
 modifying the theme?

Hi Joan,

you can see the users/groups with read access to the bitstream in DRI.
The code that reads this information looks like this:

https://github.com/DSpace/DSpace/pull/188/files

Unfortunately, there is currently no information about the current
user/group in DRI. So the only other easy option I see is to try to
access it and check the HTTP return code.


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] Simple Archive Format item directory names

2014-02-13 Thread Vika Zafrin
Hello list,

Recently I batch-imported some items via the CLI without changing the 
item directory names to item_000, item_001, etc. This was a mistake, but 
to my great surprise, it worked.

I've searched the archives and documentation, but can't actually come up 
with the answer to whether this is legitimately permissible. Is it? If 
yes, my map files become MUCH more useful. Was the convention item_000, 
item_001, etc adopted in the documentation for illustration purposes, or 
do I actually HAVE to name my item folders according to this scheme?

Thanks,
-Vika

-- 
Vika Zafrin
Institutional Repository Librarian
Boston University
+1 617.358.6370 | http://open.bu.edu/

--
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] Simple Archive Format item directory names

2014-02-13 Thread Claudia Jürgen
Hello Vika,

this form was only choosen for illustration purpose. You need one 
directory per item, that's all. How you name the directories is up to you.

Hope this helps

Claudia


Am 13.02.2014 14:15, schrieb Vika Zafrin:
 Hello list,

 Recently I batch-imported some items via the CLI without changing the
 item directory names to item_000, item_001, etc. This was a mistake, but
 to my great surprise, it worked.

 I've searched the archives and documentation, but can't actually come up
 with the answer to whether this is legitimately permissible. Is it? If
 yes, my map files become MUCH more useful. Was the convention item_000,
 item_001, etc adopted in the documentation for illustration purposes, or
 do I actually HAVE to name my item folders according to this scheme?

 Thanks,
 -Vika


-- 
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@ub.tu-dortmund.de
www.ub.tu-dortmund.de


Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie 
ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der 
für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den 
Absender und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail sind unsere Erklärungen 
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher 
Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung 
eines solchen Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. 
It is solely intended for the recipient. If you are not the intended 
recipient of this e-mail please contact the sender and delete this 
message. Thank you.
Without prejudice of e-mail correspondence our statements are only 
legally binding when they are made in the conventional written form 
(with personal signature) or when such documents are sent by fax.

--
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] Simple Archive Format item directory names

2014-02-13 Thread Vika Zafrin
Thanks, Claudia! This is brilliant news. How do I make a request that 
this be made clear in the documentation? I've been batch uploading to 
DSpace for five years now, and didn't know this.

-Vika

-- 
Vika Zafrin
Institutional Repository Librarian
Boston University
+1 617.358.6370 | http://open.bu.edu/


Claudia Jürgen wrote:
 Hello Vika,

 this form was only choosen for illustration purpose. You need one
 directory per item, that's all. How you name the directories is up to you.

 Hope this helps

 Claudia


 Am 13.02.2014 14:15, schrieb Vika Zafrin:
 Hello list,

 Recently I batch-imported some items via the CLI without changing the
 item directory names to item_000, item_001, etc. This was a mistake, but
 to my great surprise, it worked.

 I've searched the archives and documentation, but can't actually come up
 with the answer to whether this is legitimately permissible. Is it? If
 yes, my map files become MUCH more useful. Was the convention item_000,
 item_001, etc adopted in the documentation for illustration purposes, or
 do I actually HAVE to name my item folders according to this scheme?

 Thanks,
 -Vika



--
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

2014-02-13 Thread Nemiz, Elvi
Hello Solomon,

I'm sorry if I can't pinpoint what's causing that error but here's what I
did in our repository. In your item-view.xsl, locate this line of code:

xsl:template name=itemSummaryView-DIM
!-- Generate the info about the item from the metadata section --
xsl:apply-templates
select=./mets:dmdSec/mets:mdWrap[@OTHERMDTYPE='DIM']/mets:xmlData/dim:dim
mode=itemSummaryView-DIM/

After that piece of code, copy paste these javascript code:

script type=text/javascript
xsl:text disable-output-escaping=yes
document.write('lt;script type=text/javascript src=
http://api.elsevier.com/javascript/scopussearch.jspgt; lt;/' +
'scriptgt;');

callbackCitedbycount = function(){
if (sciverse.areSearchResultsValid()) {
var resultObj = sciverse.getSearchResults();
if (resultObj.returnedResults gt;0) {
citedbycount = resultObj.results[0].citedbycount;
eid = resultObj.results[0].eid;
if (citedbycount gt; 0) {
citeHtml = 'lt;span
class=boldgt;Cited:lt;/spangt; ';

if (eid != null) {
citeHtml += 'lt;a href=
http://www.scopus.com/scopus/search/submit/citedby.url?src=samp;origin=recordpageamp;eid=
';
citeHtml += eid;
citeHtml += ' class=citing-link
target=_new title=View citing articles in Scopusgt;';
citeHtml += citedbycount;
citeHtml += 'lt;/agt;#160;times in
lt;span class=boldgt;Scopuslt;/spangt;';
}

articleLink = resultObj.results[0].inwardurl;

if (articleLink != null) {
citeHtml +=
'#160;#160;lt;smallgt;(lt;a href=';
citeHtml += articleLink;
citeHtml += ' class=article-link
target=_new title=View record in Scopus gt;';
citeHtml += 'View record in Scopus';
citeHtml += 'lt;/agt;)lt;/smallgt;';
}
/xsl:text
var citecountsScopus = $(#citecounts-scopus);
citecountsScopus.html(citeHtml);
citecountsScopus.removeClass('hidden');
citecountsScopus.show('blind');
$(#citecounts-scopus
a.citing-link).click(function(){
if (_gaq != null) {
_gaq.push(['_trackEvent', 'Citecount
links','Scopus citing items','xsl:value-of
select=./mets:dmdSec/mets:mdWrap[@OTHERMDTYPE='DIM']/mets:xmlData/dim:dim/dim:field[@element='identifier'
and @qualifier='uri']/']);
}
});
$(#citecounts-scopus
a.article-link).click(function(){
if (_gaq) {
_gaq.push(['_trackEvent','Citecount
links','Scopus article','xsl:value-of
select=./mets:dmdSec/mets:mdWrap[@OTHERMDTYPE='DIM']/mets:xmlData/dim:dim/dim:field[@element='identifier'
and @qualifier='uri']/']);
}
});
}
}
}
}

runSearch = function() {
//setting defaults
sciverse.setApiKey(*REPLACE-THIS-WITH-YOUR-SCOPUS-API-KEY*);
sciverse.setCallback(callbackCitedbycount);

//setting search query
xsl:text disable-output-escaping=yesvar strQuery =
DOI(/xsl:textxsl:value-of
select=./mets:dmdSec/mets:mdWrap[@OTHERMDTYPE='DIM']/mets:xmlData/dim:dim/dim:field[@element='identifier'
and @qualifier='doi']/xsl:text disable-output-escaping=yes);

var varSearchObj = new searchObj();
varSearchObj.setSearch(strQuery);
varSearchObj.setNumResults('1');

//launching search
try {
sciverse.runSearch(varSearchObj);
} catch(err) { }
};
runAfterJSImports.add(runSearch);
/xsl:text
/script

And then paste the code in *bold* where you want the scopus citation count
to appear. In our case, I put it under the citation field (I assumed that
you already knew how to customize what fields to display in simple item
view):

!-- Citation row --
xsl:when test=$clause = 9 and
(dim:field[@element='identifier' and @qualifier='citation' and
descendant::text()])
*div id=citecounts-scopus class=simple-item-view-other
citecounts hidden#160;/div*


Hoped this helps,

P.S. Please take note that I have created a custom tag, dc.identifier.doi
that holds the value for the item's DOI (without the http://dx.doi.org/).

Re: [Dspace-tech] Simple Archive Format item directory names

2014-02-13 Thread Peter Dietz
Hi Vika,

I guess the SimpleArchiveFormat structure isn't too strict, or overly
defined, its simple after all.

As far as DSpace is concerned, it takes your Simple Archive Format (parent)
directory, and then iterates over the list of subfolders, processing each
folder as an Item. If your in to code:
https://github.com/DSpace/DSpace/blob/93fc28277e2414ffe8da4f9c5da453bc597104bc/dspace-api/src/main/java/org/dspace/app/itemimport/ItemImport.java#L768


String[] dircontents = d.list(directoryFilter);
Arrays.sort(dircontents);
for (int i = 0; i  dircontents.length; i++)
{
addItem(c, mycollections, sourceDir, dircontents[i],
mapOut, template);



So, they don't even have to be numbered, just unique (filesystem
requirement), but if your using a tool to generate the SAF package, a
simple way to make unique, is to increment a number.

You can find a description on SAFPackager (a tool I use to create
batch packages):
https://wiki.duraspace.org/display/DSPACE/Simple+Archive+Format+Packager
Official docs for DSpace Item Import (that uses a SAF Package):
https://wiki.duraspace.org/display/DSDOC4x/Importing+and+Exporting+Items+via+Simple+Archive+Format



Peter Dietz


On Thu, Feb 13, 2014 at 8:56 AM, Vika Zafrin vzaf...@bu.edu wrote:

 Thanks, Claudia! This is brilliant news. How do I make a request that
 this be made clear in the documentation? I've been batch uploading to
 DSpace for five years now, and didn't know this.

 -Vika

 --
 Vika Zafrin
 Institutional Repository Librarian
 Boston University
 +1 617.358.6370 | http://open.bu.edu/


 Claudia Jürgen wrote:
  Hello Vika,
 
  this form was only choosen for illustration purpose. You need one
  directory per item, that's all. How you name the directories is up to
 you.
 
  Hope this helps
 
  Claudia
 
 
  Am 13.02.2014 14:15, schrieb Vika Zafrin:
  Hello list,
 
  Recently I batch-imported some items via the CLI without changing the
  item directory names to item_000, item_001, etc. This was a mistake, but
  to my great surprise, it worked.
 
  I've searched the archives and documentation, but can't actually come up
  with the answer to whether this is legitimately permissible. Is it? If
  yes, my map files become MUCH more useful. Was the convention item_000,
  item_001, etc adopted in the documentation for illustration purposes, or
  do I actually HAVE to name my item folders according to this scheme?
 
  Thanks,
  -Vika
 
 


 --
 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] Handle assignment strangeness

2014-02-13 Thread helix84
Hooray! Someone to test the fix!

https://jira.duraspace.org/browse/DS-1536
--
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] Handle assignment strangeness

2014-02-13 Thread Jeffrey A Trimble
Oh gee! Thanks guys!I'll look at this is better detail over the weekend.

-Jeff

Jeffrey Trimble
Associate Director 
Head of Information Services
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
jatrim...@ysu.edu
http://www.maag.ysu.edu
http://digital.maag.ysu.edu
The spice must flow


From: helix84 heli...@centrum.skmailto:heli...@centrum.sk
Reply-To: heli...@centrum.skmailto:heli...@centrum.sk 
heli...@centrum.skmailto:heli...@centrum.sk
Date: Thursday, February 13, 2014 at 1:57 PM
To: Jeffrey Trimble jatrim...@ysu.edumailto:jatrim...@ysu.edu
Cc: dspace-tech 
dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Handle assignment strangeness


Hooray! Someone to test the fix!

https://jira.duraspace.org/browse/DS-1536
--
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] Pre-DSpace 3 Embargo

2014-02-13 Thread Smith, Andrew J
Hello,

After a recent upgrade from 1.7 - 3.2, embargoing no longer appears to work. 
For now, we are still using the old pre-Dspace 3 embargo functions. However, 
when an item is submitted with an embargo we are receiving the following error:

2014-02-12 16:39:06,217 ERROR org.dspace.submit.step.CompleteStep @ Caught 
exception in submission step:
java.lang.NullPointerException
at 
org.dspace.embargo.DefaultEmbargoSetter.setEmbargo(DefaultEmbargoSetter.java:89)
at org.dspace.embargo.EmbargoManager.setEmbargo(EmbargoManager.java:102)
at org.dspace.content.InstallItem.finishItem(InstallItem.java:218)
at org.dspace.content.InstallItem.installItem(InstallItem.java:78)
at org.dspace.content.InstallItem.installItem(InstallItem.java:44)
at org.dspace.workflow.WorkflowManager.archive(WorkflowManager.java:724)
………..

Running the migrate-embargo –a script  produced the following error (for each 
currently embargoed item I think):

2014-02-13 14:04:40,782 ERROR org.dspace.embargo.EmbargoManager @ Failed 
attempting to lift embargo, item=1805/3743:
java.lang.NullPointerException
at 
org.dspace.embargo.DefaultEmbargoSetter.setEmbargo(DefaultEmbargoSetter.java:89)
at 
org.dspace.embargo.EmbargoManager.processOneItem(EmbargoManager.java:350)
at org.dspace.embargo.EmbargoManager.main(EmbargoManager.java:303)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
2014-02-13 14:04:40,793 ERROR org.dspace.embargo.EmbargoManager @ Failed 
attempting to lift embargo, item=1805/3745:

In dspace.cfg, we have:

 Embargo Settings 
# DC metadata field to hold the user-supplied embargo terms
embargo.field.terms = dc.description.embargo

# DC metadata field to hold computed lift date of embargo
embargo.field.lift = dc.description.embargo

# string in terms field to indicate indefinite embargo
embargo.terms.open = forever

# emabargo periods
# embargo.terms.days = 6 months:182,1 year:365
embargo.terms.days = 3 months:91,6 months:182,9 months:274,12 months:365,1 
year:365,15 months:456,18 months:548,21 months:639,24 months:730

# implementation of embargo setter plugin - replace with local implementation 
if applicable
plugin.single.org.dspace.embargo.EmbargoSetter = 
org.dspace.embargo.DayTableEmbargoSetter

# implementation of embargo lifter plugin - - replace with local implementation 
if applicable
plugin.single.org.dspace.embargo.EmbargoLifter = 
org.dspace.embargo.DefaultEmbargoLifter

These match the settings we were using in 1.7.2.

Any suggestions on what might be the issue?

Thanks,
Andy

--
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] using a new commons-pool.jar

2014-02-13 Thread Jose Blanco
We have seen the connection pool grow on occasion and want to try
using a new commons-pool.jar file to see how this affects things.  I
have place the new file in

~/.m2/repository/commons-pool/commons-pool/2-2.1

and have tried a few changes to the pom.xml file to use it, but it
still wants to go to
http://oss.sonatype.org/content/repositories/releases/ to grab it.
Could some one put it there for me? Or give me guidelines on how to
change the pom to go to the one I have in ~/.m2.  Thank you! Jose

[ERROR] Failed to execute goal on project dspace-api: Could not
resolve dependencies for project org.dspace:dspace-api:jar:3.0:
Failure to find commons-pool.commons-pool.2-2.1:commons-pool:jar:2-2.1
in http://oss.sonatype.org/content/repositories/releases/ was cached
in the local repository, resolution will not be reattempted until the
update interval of sonatype-releases has elapsed or updates are forced
- [Help 1]

--
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] ldap authentication after upgrade 1.8 to 3.2

2014-02-13 Thread Erik Guss
Hello,
I upgraded from 1.8.2 to 3.2. The ldap new user registration was not
working properly after the upgrade. A new user could authenticate, and
was registered, but the ldap attributes would not populate
(sn,givenname,mail). Existing users were unaffected.

I was not using ldap-hierarchical, and so the changes for ldap in the
upgrade notes did not apply to me.

I tried adding a search.user and search.password hoping it would then
look up the attributes and got partial results, the mail attribute came
through, but the sn and givenname still did not.

I looked in dspace.log and there was no error, see below for log
details.

I then reverted to dspace 1.8.2 (with no ldap-hierarchical) and verified
that the new users do correctly auto-register with their mail, sn,
givenname attributes populated on the old codebase.

Perhaps this is a bug introduced with the new combining of
ldap-hierarchical and ldap authn methods.

Thanks for any insight.

Erik

from version 3.2 dspace.log 
2014-02-13 11:28:54,045 INFO  org.dspace.authenticate.LDAPAuthentication
@
anonymous:session_id=71264F4ADB19C9EC393AB4AD5D588B3D:ip_addr=153.90.170.8:auth:attempting
 trivial auth of user=h51
2014-02-13 11:28:54,097 INFO  org.dspace.authenticate.LDAPAuthentication
@
anonymous:session_id=71264F4ADB19C9EC393AB4AD5D588B3D:ip_addr=153.90.170.8:autoregister:netid=h51
2014-02-13 11:28:54,100 INFO  org.dspace.eperson.EPerson @
anonymous:session_id=71264F4ADB19C9EC393AB4AD5D588B3D:ip_addr=153.90.170.8:create_eperson:eperson_id=69
2014-02-13 11:28:54,101 INFO  org.dspace.eperson.EPerson @
anonymous:session_id=71264F4ADB19C9EC393AB4AD5D588B3D:ip_addr=153.90.170.8:update_eperson:eperson_id=69
2014-02-13 11:28:54,583 INFO  org.dspace.eperson.EPersonConsumer @
anonymous:session_id=71264F4ADB19C9EC393AB4AD5D588B3D:ip_addr=153.90.170.8:registerion_alert:user=h51null
2014-02-13 11:28:54,584 INFO  org.dspace.authenticate.LDAPAuthentication
@
h51null:session_id=71264F4ADB19C9EC393AB4AD5D588B3D:ip_addr=153.90.170.8:authenticate:type=ldap-login,
 created ePerson
2014-02-13 11:28:54,584 INFO
org.dspace.app.xmlui.utils.AuthenticationUtil @
h51null:session_id=71264F4ADB19C9EC393AB4AD5D588B3D:ip_addr=153.90.170.8:login:type=explicit
2014-02-13 11:28:54,670 INFO
org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
h51null:session_id=71264F4ADB19C9EC393AB4AD5D588B3D:ip_addr=153.90.170.8:view_community_list:



--
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] Adding at Bitstream to an existing item

2014-02-13 Thread Jeffrey A Trimble
I've not been able to get this to work.

I'm using the space item update command:  dspace itemupdate -e user email -s 
/directory/path/ -A -t

Here is the output from my test run:

*Test Run** - not actually updating items.
Add bitstreams
Actions to be performed:
org.dspace.app.itemupdate.AddBitstreamsAction
ItemUpdate - initializing run on Thu Feb 13 20:36:58 GMT-05:00 2014

Done processing.  Successful items: 0 of 0 items in source archive

My source is /storemaag/oralh/oralh_upd/0

Directory 0 has the actual bitstream, contents and a dublin_core.xml with the 
handle URI contained there in.

It is as if it can't see the directory.  I've never used this feature before.  
Any thoughts?  I'm dumbfounded.

Thanks in advance,

-JAT

Jeffrey Trimble
Associate Director 
Head of Information Services
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
jatrim...@ysu.edumailto:jatrim...@ysu.edu
http://www.maag.ysu.eduhttp://www.maag.ysu.edu/
http://digital.maag.ysu.eduhttp://digital.maag.ysu.edu/
For he is the Kwisatz Haderach...
--
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] Handle assignment strangeness

2014-02-13 Thread Jeffrey A Trimble
The fix that is listed on the 4.1 release notes does work perfectly fine.  The 
fix mentioned in the DS-1536 that contains the '#39' in the codes is a boo-boo 
.

The only thing that hasn't been created is sql statements to check one's work. 
(I used pgAdmin because I was too lazy to do that!)

-JAT

Jeffrey Trimble
Associate Director 
Head of Information Services
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
jatrim...@ysu.edumailto:jatrim...@ysu.edu
http://www.maag.ysu.eduhttp://www.maag.ysu.edu/
http://digital.maag.ysu.eduhttp://digital.maag.ysu.edu/
For he is the Kwisatz Haderach...

From: JEFFREY TRIMBLE jatrim...@ysu.edumailto:jatrim...@ysu.edu
Date: Thursday, February 13, 2014 at 2:12 PM
To: heli...@centrum.skmailto:heli...@centrum.sk 
heli...@centrum.skmailto:heli...@centrum.sk
Cc: dspace-tech 
dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Handle assignment strangeness

Oh gee! Thanks guys!I'll look at this is better detail over the weekend.

-Jeff

Jeffrey Trimble
Associate Director 
Head of Information Services
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
jatrim...@ysu.edumailto:jatrim...@ysu.edu
http://www.maag.ysu.edu
http://digital.maag.ysu.edu
The spice must flow


From: helix84 heli...@centrum.skmailto:heli...@centrum.sk
Reply-To: heli...@centrum.skmailto:heli...@centrum.sk 
heli...@centrum.skmailto:heli...@centrum.sk
Date: Thursday, February 13, 2014 at 1:57 PM
To: Jeffrey Trimble jatrim...@ysu.edumailto:jatrim...@ysu.edu
Cc: dspace-tech 
dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Handle assignment strangeness


Hooray! Someone to test the fix!

https://jira.duraspace.org/browse/DS-1536
--
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] Adding at Bitstream to an existing item

2014-02-13 Thread Jeffrey A Trimble
This has fixed.  It was an error on my part...and a documentation improvement 
moment I need to make.

I guess I need more Melange in my diet to think clearer.  (Refer to signature 
quote below).

Jeffrey Trimble
Associate Director 
Head of Information Services
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
jatrim...@ysu.edumailto:jatrim...@ysu.edu
http://www.maag.ysu.eduhttp://www.maag.ysu.edu/
http://digital.maag.ysu.eduhttp://digital.maag.ysu.edu/
The spice must flow...

From: JEFFREY TRIMBLE jatrim...@ysu.edumailto:jatrim...@ysu.edu
Date: Thursday, February 13, 2014 at 8:41 PM
To: DSpace Tech 
dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Adding at Bitstream to an existing item

I've not been able to get this to work.

I'm using the space item update command:  dspace itemupdate -e user email -s 
/directory/path/ -A -t

Here is the output from my test run:

*Test Run** - not actually updating items.
Add bitstreams
Actions to be performed:
org.dspace.app.itemupdate.AddBitstreamsAction
ItemUpdate - initializing run on Thu Feb 13 20:36:58 GMT-05:00 2014

Done processing.  Successful items: 0 of 0 items in source archive

My source is /storemaag/oralh/oralh_upd/0

Directory 0 has the actual bitstream, contents and a dublin_core.xml with the 
handle URI contained there in.

It is as if it can't see the directory.  I've never used this feature before.  
Any thoughts?  I'm dumbfounded.

Thanks in advance,

-JAT

Jeffrey Trimble
Associate Director 
Head of Information Services
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
jatrim...@ysu.edumailto:jatrim...@ysu.edu
http://www.maag.ysu.eduhttp://www.maag.ysu.edu/
http://digital.maag.ysu.eduhttp://digital.maag.ysu.edu/
For he is the Kwisatz Haderach...
--
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

2014-02-13 Thread Solomon Kapfunde
Hi Nemiz
 
Thanks very much for sharing your code, it's working now.
 
Regards
Solomon

 Nemiz, Elvi esne...@seafdec.org.ph 2014/02/13 03:59 PM 
Hello Solomon,

I'm sorry if I can't pinpoint what's causing that error but here's what I did 
in our repository. In your item-view.xsl, locate this line of code:

xsl:template name=itemSummaryView-DIM
!-- Generate the info about the item from the metadata section --
xsl:apply-templates 
select=./mets:dmdSec/mets:mdWrap[@OTHERMDTYPE='DIM']/mets:xmlData/dim:dim
mode=itemSummaryView-DIM/


After that piece of code, copy paste these javascript code:


script type=text/javascript
xsl:text disable-output-escaping=yes
document.write('lt;script type=text/javascript 
src=http://api.elsevier.com/javascript/scopussearch.jspgt; lt;/' + 
'scriptgt;');


callbackCitedbycount = function(){
if (sciverse.areSearchResultsValid()) {
var resultObj = sciverse.getSearchResults();
if (resultObj.returnedResults gt;0) {
citedbycount = resultObj.results[0].citedbycount;
eid = resultObj.results[0].eid;
if (citedbycount gt; 0) {
citeHtml = 'lt;span class=boldgt;Cited:lt;/spangt; ';


if (eid != null) {
citeHtml += 'lt;a 
href=http://www.scopus.com/scopus/search/submit/citedby.url?src=samp;origin=recordpageamp;eid=
 ( 
http://www.scopus.com/scopus/search/submit/citedby.url?src=samp;origin=recordpageamp;eid=
 )';
citeHtml += eid;
citeHtml += ' class=citing-link target=_new title=View citing articles in 
Scopusgt;';
citeHtml += citedbycount;
citeHtml += 'lt;/agt;#160;times in lt;span 
class=boldgt;Scopuslt;/spangt;';
}


articleLink = resultObj.results[0].inwardurl;


if (articleLink != null) {
citeHtml += '#160;#160;lt;smallgt;(lt;a href=';
citeHtml += articleLink;
citeHtml += ' class=article-link target=_new title=View record in Scopus 
gt;';
citeHtml += 'View record in Scopus';
citeHtml += 'lt;/agt;)lt;/smallgt;';
}
/xsl:text
var citecountsScopus = $(#citecounts-scopus);
citecountsScopus.html(citeHtml);
citecountsScopus.removeClass('hidden');
citecountsScopus.show('blind');
$(#citecounts-scopus a.citing-link).click(function(){
if (_gaq != null) {
_gaq.push(['_trackEvent', 'Citecount links','Scopus citing 
items','xsl:value-of 
select=./mets:dmdSec/mets:mdWrap[@OTHERMDTYPE='DIM']/mets:xmlData/dim:dim/dim:field[@element='identifier'
 and @qualifier='uri']/']);
}
});
$(#citecounts-scopus a.article-link).click(function(){
if (_gaq) {
_gaq.push(['_trackEvent','Citecount links','Scopus article','xsl:value-of 
select=./mets:dmdSec/mets:mdWrap[@OTHERMDTYPE='DIM']/mets:xmlData/dim:dim/dim:field[@element='identifier'
 and @qualifier='uri']/']);
}
});
}
}
}
}


runSearch = function() {
//setting defaults
sciverse.setApiKey(REPLACE-THIS-WITH-YOUR-SCOPUS-API-KEY);
sciverse.setCallback(callbackCitedbycount);


//setting search query
xsl:text disable-output-escaping=yesvar strQuery = 
DOI(/xsl:textxsl:value-of 
select=./mets:dmdSec/mets:mdWrap[@OTHERMDTYPE='DIM']/mets:xmlData/dim:dim/dim:field[@element='identifier'
 and @qualifier='doi']/xsl:text disable-output-escaping=yes);


var varSearchObj = new searchObj();
varSearchObj.setSearch(strQuery);
varSearchObj.setNumResults('1');


//launching search
try {
sciverse.runSearch(varSearchObj);
} catch(err) { }
};
runAfterJSImports.add(runSearch);
/xsl:text
/script

And then paste the code in bold where you want the scopus citation count to 
appear. In our case, I put it under the citation field (I assumed that you 
already knew how to customize what fields to display in simple item view):

!-- Citation row --
xsl:when test=$clause = 9 and (dim:field[@element='identifier' and 
@qualifier='citation' and descendant::text()])
div id=citecounts-scopus class=simple-item-view-other citecounts 
hidden#160;/div




Hoped this helps,


P.S. Please take note that I have created a custom tag, dc.identifier.doi that 
holds the value for the item's DOI (without the http://dx.doi.org/). Feel free 
to 'view page source' items in our repository that have DOIs for example: 
http://repository.seafdec.org.ph/handle/10862/1737 for your reference.


Regards,
Elvi



On Thu, Feb 13, 2014 at 9:07 PM, Solomon Kapfunde skapfu...@uwc.ac.za wrote:


Hi Elvi
This is out of the discussion forum, I have copied the code as you say in the 
link but I can't get it to run as it give me errors on all hyerplink tags in 
the script as stated in the error below.
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!
Can you help?
Regards
Solomon

 Nemiz, Elvi esne...@seafdec.org.ph 2014/02/12 03:48 PM 
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 

Re: [Dspace-tech] ldap authentication after upgrade 1.8 to 3.2

2014-02-13 Thread Hilton Gibson
Hi Erik

I also had problems during an upgrade from 1.8.2 to 3.2 and have documented
fixes here:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Upgrading/DSpace/Release_Notes/3.2
One of them was LDAP authentication.

Regards

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


On 14 February 2014 01:16, Erik Guss eg...@auth.lib.montana.edu wrote:

 Hello,
 I upgraded from 1.8.2 to 3.2. The ldap new user registration was not
 working properly after the upgrade. A new user could authenticate, and
 was registered, but the ldap attributes would not populate
 (sn,givenname,mail). Existing users were unaffected.

 I was not using ldap-hierarchical, and so the changes for ldap in the
 upgrade notes did not apply to me.

 I tried adding a search.user and search.password hoping it would then
 look up the attributes and got partial results, the mail attribute came
 through, but the sn and givenname still did not.

 I looked in dspace.log and there was no error, see below for log
 details.

 I then reverted to dspace 1.8.2 (with no ldap-hierarchical) and verified
 that the new users do correctly auto-register with their mail, sn,
 givenname attributes populated on the old codebase.

 Perhaps this is a bug introduced with the new combining of
 ldap-hierarchical and ldap authn methods.

 Thanks for any insight.

 Erik

 from version 3.2 dspace.log 
 2014-02-13 11:28:54,045 INFO  org.dspace.authenticate.LDAPAuthentication
 @
 anonymous:session_id=71264F4ADB19C9EC393AB4AD5D588B3D:ip_addr=153.90.170.8:auth:attempting
 trivial auth of user=h51
 2014-02-13 11:28:54,097 INFO  org.dspace.authenticate.LDAPAuthentication
 @
 anonymous:session_id=71264F4ADB19C9EC393AB4AD5D588B3D:ip_addr=153.90.170.8:
 autoregister:netid=h51
 2014-02-13 11:28:54,100 INFO  org.dspace.eperson.EPerson @
 anonymous:session_id=71264F4ADB19C9EC393AB4AD5D588B3D:ip_addr=153.90.170.8:
 create_eperson:eperson_id=69
 2014-02-13 11:28:54,101 INFO  org.dspace.eperson.EPerson @
 anonymous:session_id=71264F4ADB19C9EC393AB4AD5D588B3D:ip_addr=153.90.170.8:
 update_eperson:eperson_id=69
 2014-02-13 11:28:54,583 INFO  org.dspace.eperson.EPersonConsumer @
 anonymous:session_id=71264F4ADB19C9EC393AB4AD5D588B3D:ip_addr=153.90.170.8:
 registerion_alert:user=h51null
 2014-02-13 11:28:54,584 INFO  org.dspace.authenticate.LDAPAuthentication
 @

 h51null:session_id=71264F4ADB19C9EC393AB4AD5D588B3D:ip_addr=153.90.170.8:authenticate:type=ldap-login,
 created ePerson
 2014-02-13 11:28:54,584 INFO
 org.dspace.app.xmlui.utils.AuthenticationUtil @

 h51null:session_id=71264F4ADB19C9EC393AB4AD5D588B3D:ip_addr=153.90.170.8:
 login:type=explicit
 2014-02-13 11:28:54,670 INFO
 org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @

 h51null:session_id=71264F4ADB19C9EC393AB4AD5D588B3D:ip_addr=153.90.170.8:
 view_community_list:




 --
 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