Re: [Dspace-tech] Question regarding handle.jar

2008-10-01 Thread Graham Triggs
Mark Diggory wrote:
 I will ask why are you trying to alter the existing handle.jar? The
 current one we publish into the maven repository (which your build
 has downloaded) should be adequate for DSpace 1.5.1 and the current
 Handle service. Are you encountering problems running the handle
 service?

I will note that there is a known problem with some handle server 
versions - which I believe includes the one that 'ships' with DSpace - 
that the handle server will take 100% CPU utilization on a day when the 
logs are configured to rollover.

This is fixed in the latest handle versions. Although we know that we 
can't simply ship the latest version for everyone due to the terms of 
use changes.

I think we need to ensure (if possible) that the latest versions of the 
handle.jar are in the Maven repository, along with the 'standard' 
version, and make it easier - possibly even through a profile - for 
people to simply switch to the newer versions, without having to go 
through the Maven artifact installation routine.

G

 
 
This e-mail is confidential and should not be used by anyone who is not the 
original intended recipient. BioMed Central Limited does not accept liability 
for any statements made which are clearly the sender's own and not expressly 
made on behalf of BioMed Central Limited. No contracts may be concluded on 
behalf of BioMed Central Limited by means of e-mail communication. BioMed 
Central Limited Registered in England and Wales with registered number 3680030 
Registered Office Middlesex House, 34-42 Cleveland Street, London W1T 4LB
This email has been scanned by Postini.
For more information please visit http://www.postini.com


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Batch Import: multiple authors problem

2008-10-01 Thread Panagiotis Kontaxis
Yes, I tried it. But the two authors are imported as one.
I modified the source of MetaDataImport.java and I added the possibility to
generate xml tags for three more colunms. I named the columns
ContributorAuthor1, ContributorAuthor2, ContributorAuthor3,
ContributorAuthor4 and the generated xml tag the same for each column:
dcvalue element=contributor qualifier=author . So the authors added as
separate entities.
Thank you for your help and let me know if there is a more elegant way to do
it.

I thought that a cool idea would be to name the columns contributor-author,
contributor-editor, contributor-advisor (to be able to extract the element
from qualifier), and make a loop to run each column on each ResultSet. So no
need for modifying the java code to add a new column!

Regards,
Panagiotis

2008/10/1 Blooma Mohan John [EMAIL PROTECTED]

 Hi

 In the author column in excel sheet give multiple author names as Rick
 Thomas #59; Rinny Tom. This would be displayed as Rick Thomas; Rinny Tom
 on dpsace interface.
 If you want to use other character set pl refer
 http://www.natural-innovations.com/wa/doc-charset.html Do let me know if
 you could get it work.

 thanks for trying out this solution.

 Regards,
 Blooma

 --- On *Wed, 1/10/08, Panagiotis Kontaxis [EMAIL PROTECTED]* wrote:

 From: Panagiotis Kontaxis [EMAIL PROTECTED]
 Subject: [Dspace-tech] Batch Import: multiple authors problem
 To: dspace-tech@lists.sourceforge.net
 Date: Wednesday, 1 October, 2008, 12:58 AM


  Hi!
 I 'm trying to import a lot of publications to a DSpace 1.4 installation.
 I've found this guide/solution:
 http://wiki.dspace.org/index.php/Google_Summer_of_Code_2008_Batch_Import
 My problem is that this solution don't allow me import a publication with
 multiple authors. In the xls file I can have only one column with one
 author!
 Have anyone meet the same problem? Also is there any other solution/guide
 to batch import items in DSpace?

 Thanks in advance for any help :-)
 Panagiotis

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the 
 worldhttp://moblin-contest.org/redirect.php?banner_id=100url=/

 ___
 DSpace-tech mailing [EMAIL 
 PROTECTED]://lists.sourceforge.net/lists/listinfo/dspace-tech


 --
 Get an email ID as [EMAIL PROTECTED] or [EMAIL PROTECTED] Click
 here.http://in.rd.yahoo.com/tagline_dbid_4/*http://in.promos.yahoo.com/address
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Question regarding handle.jar

2008-10-01 Thread Jason Fowler
Mark,

I am currently using the handle.jar that came as the default in DSpace. I was 
just trying to get my handle configuration set up because this is a new 
repository.

The handle.jar I was going to use is the one that can be downloaded at 
http://www.handle.net/upgrade_6-2_DSpace.html after you unzip the archive. That 
may be the one that is included now.

Thanks,
Jason Fowler, CA
Archives and Special Collections Librarian
The Southern Baptist Theological Seminary
502-897-4573
[EMAIL PROTECTED]

From: Mark Diggory [EMAIL PROTECTED] On Behalf Of Diggory Mark [EMAIL PROTECTED]
Sent: Wednesday, October 01, 2008 2:24 PM
To: Jason Fowler
Cc: DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Question regarding handle.jar

Jason,

We definitely need such cases reported so we can assure the next round
of documentation has a fix in it, thanks.

Graham makes a good point about the handles jar and versioning.  Could
you point me to the latest version of the jar you are using and I'll
publish it into the maven repository, then one only has to alter the
dependencyManagement section of the dspace parent pom to retrieve the
newer version. Once I have it uploaded, I'll show you how to change
that in the pom.xml

-Mark


On Oct 1, 2008, at 11:07 AM, Jason Fowler wrote:

 Mark,

 Ok. I understand now. Thanks for clearing that up for me. I was
 going by what the pdf version of the DSpace 1.5.1 Manual says on
 page 28. It appears the Manual is incorrect.

 Jason Fowler, CA
 Archives and Special Collections Librarian
 The Southern Baptist Theological Seminary
 502-897-4573
 [EMAIL PROTECTED]
 
 From: Mark Diggory [EMAIL PROTECTED]
 Sent: Tuesday, September 30, 2008 10:55 PM
 To: DSpace Tech
 Subject: Re: [Dspace-tech] Question regarding handle.jar

 The current 1.5.1 deployment provides a reference to an existing
 handle.jar which is retrieved from the maven repository and placed
 into the installed dspace/lib and dspace/webapp/*/WEB-INF/lib when
 DSpace is built.

 The Maven build process works best when one does not try to alter the
 jars provided in the lib directory.  I recommend reading up on the
 Maven build process via the documentation provided and that found on
 the maven.apache.org website.  There is no lib directory in the
 1.5.1 source tree because it retrieves the dependencies from maven
 directly rather than you downloading them.

 If you do truly need to change this jar for a newer version, we had a
 recent conversation on the list about installing jars if you need to
 use something different than what we provide.

 http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/
 msg05386.html

 I will ask why are you trying to alter the existing handle.jar? The
 current one we publish into the maven repository (which your build
 has downloaded) should be adequate for DSpace 1.5.1 and the current
 Handle service. Are you encountering problems running the handle
 service?

 Cheers,
 Mark

 On Sep 30, 2008, at 1:31 PM, Jason Fowler wrote:

 Hello all,

 I am new to DSpace, and I am trying to get our installation up and
 running. I appreciate your patience in advance.

 I am trying to install the new handle.jar, and according to the
 documentation, I need to replace the existing handle.jar in the
 [dspace-source]/lib directory with the new handle.jar. I have
 downloaded the new one, but I have a problem. I have no lib
 directory in [dspace-source]. I have one in [dspace], but I do not
 have one in [dspace-source]. Is the documentation correct, or is
 there something wrong with my installation? I initially downloaded
 dspace-1.5.1-src-release.tar.gz because I thought that was what I
 needed. Did I download the wrong thing?

 Jason Fowler, CA
 Archives and Special Collections Librarian
 The Southern Baptist Theological Seminary
 502-897-4573
 [EMAIL PROTECTED]

 --
 ---
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win
 great prizes
 Grand prize is a trip for two to an Open Source event anywhere in
 the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

 ~
 Mark R. Diggory
 Home Page: http://purl.org/net/mdiggory/homepage
 Blog: http://purl.org/net/mdiggory/blog






 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win
 great prizes
 Grand prize is a trip for two to an Open Source event anywhere in
 the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 

Re: [Dspace-tech] Question regarding handle.jar

2008-10-01 Thread Diggory Mark

Jason,

Within the next four hours the copy I've placed into the maven  
repository will be propagated such that it can be gotten from the  
central repository. At that point you can change the version of the  
org:dspace:handle jar entry in the [dspace-source]/pom.xml to 6.2.5.02


This is on line 294 of that file:


 dependency
groupIdorg.dspace/groupId
artifactIdhandle/artifactId
version5.3.4/version
 /dependency


and should be changed to


 dependency
groupIdorg.dspace/groupId
artifactIdhandle/artifactId
version6.2.5.02/version
 /dependency


We will have this fix available in the next maintenance release  
(though we have no date for that release ATM), but until then, we  
should recommend to those in the community that they need to make this  
alteration to dspace 1.5.1 if they wish to use the newer handle  
infrastructure.


Cheers,
Mark

On Oct 1, 2008, at 11:44 AM, Jason Fowler wrote:


Mark,

I am currently using the handle.jar that came as the default in  
DSpace. I was just trying to get my handle configuration set up  
because this is a new repository.


The handle.jar I was going to use is the one that can be downloaded  
at http://www.handle.net/upgrade_6-2_DSpace.html after you unzip the  
archive. That may be the one that is included now.


Thanks,
Jason Fowler, CA
Archives and Special Collections Librarian
The Southern Baptist Theological Seminary
502-897-4573
[EMAIL PROTECTED]

From: Mark Diggory [EMAIL PROTECTED] On Behalf Of Diggory Mark [EMAIL PROTECTED] 
]

Sent: Wednesday, October 01, 2008 2:24 PM
To: Jason Fowler
Cc: DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Question regarding handle.jar

Jason,

We definitely need such cases reported so we can assure the next round
of documentation has a fix in it, thanks.

Graham makes a good point about the handles jar and versioning.  Could
you point me to the latest version of the jar you are using and I'll
publish it into the maven repository, then one only has to alter the
dependencyManagement section of the dspace parent pom to retrieve the
newer version. Once I have it uploaded, I'll show you how to change
that in the pom.xml

-Mark


On Oct 1, 2008, at 11:07 AM, Jason Fowler wrote:


Mark,

Ok. I understand now. Thanks for clearing that up for me. I was
going by what the pdf version of the DSpace 1.5.1 Manual says on
page 28. It appears the Manual is incorrect.

Jason Fowler, CA
Archives and Special Collections Librarian
The Southern Baptist Theological Seminary
502-897-4573
[EMAIL PROTECTED]

From: Mark Diggory [EMAIL PROTECTED]
Sent: Tuesday, September 30, 2008 10:55 PM
To: DSpace Tech
Subject: Re: [Dspace-tech] Question regarding handle.jar

The current 1.5.1 deployment provides a reference to an existing
handle.jar which is retrieved from the maven repository and placed
into the installed dspace/lib and dspace/webapp/*/WEB-INF/lib when
DSpace is built.

The Maven build process works best when one does not try to alter the
jars provided in the lib directory.  I recommend reading up on the
Maven build process via the documentation provided and that found on
the maven.apache.org website.  There is no lib directory in the
1.5.1 source tree because it retrieves the dependencies from maven
directly rather than you downloading them.

If you do truly need to change this jar for a newer version, we had a
recent conversation on the list about installing jars if you need to
use something different than what we provide.

http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/
msg05386.html

I will ask why are you trying to alter the existing handle.jar? The
current one we publish into the maven repository (which your build
has downloaded) should be adequate for DSpace 1.5.1 and the current
Handle service. Are you encountering problems running the handle
service?

Cheers,
Mark

On Sep 30, 2008, at 1:31 PM, Jason Fowler wrote:


Hello all,

I am new to DSpace, and I am trying to get our installation up and
running. I appreciate your patience in advance.

I am trying to install the new handle.jar, and according to the
documentation, I need to replace the existing handle.jar in the
[dspace-source]/lib directory with the new handle.jar. I have
downloaded the new one, but I have a problem. I have no lib
directory in [dspace-source]. I have one in [dspace], but I do not
have one in [dspace-source]. Is the documentation correct, or is
there something wrong with my installation? I initially downloaded
dspace-1.5.1-src-release.tar.gz because I thought that was what I
needed. Did I download the wrong thing?

Jason Fowler, CA
Archives and Special Collections Librarian
The Southern Baptist Theological Seminary
502-897-4573
[EMAIL PROTECTED]

--
---
This SF.Net email is sponsored by 

Re: [Dspace-tech] Question regarding handle.jar

2008-10-01 Thread Jason Fowler
Thanks, Mark.

Jason Fowler, CA
Archives and Special Collections Librarian
The Southern Baptist Theological Seminary
502-897-4573
[EMAIL PROTECTED]

From: Diggory Mark [EMAIL PROTECTED]
Sent: Wednesday, October 01, 2008 3:14 PM
To: Tech DSpace
Subject: Re: [Dspace-tech] Question regarding handle.jar

Jason,

Within the next four hours the copy I've placed into the maven repository will 
be propagated such that it can be gotten from the central repository. At that 
point you can change the version of the org:dspace:handle jar entry in the 
[dspace-source]/pom.xml to 6.2.5.02

This is on line 294 of that file:

 dependency
groupIdorg.dspace/groupId
artifactIdhandle/artifactId
version5.3.4/version
 /dependency

and should be changed to

 dependency
groupIdorg.dspace/groupId
artifactIdhandle/artifactId
version6.2.5.02/version
 /dependency

We will have this fix available in the next maintenance release (though we have 
no date for that release ATM), but until then, we should recommend to those in 
the community that they need to make this alteration to dspace 1.5.1 if they 
wish to use the newer handle infrastructure.

Cheers,
Mark

On Oct 1, 2008, at 11:44 AM, Jason Fowler wrote:

Mark,

I am currently using the handle.jar that came as the default in DSpace. I was 
just trying to get my handle configuration set up because this is a new 
repository.

The handle.jar I was going to use is the one that can be downloaded at 
http://www.handle.net/upgrade_6-2_DSpace.html after you unzip the archive. That 
may be the one that is included now.

Thanks,
Jason Fowler, CA
Archives and Special Collections Librarian
The Southern Baptist Theological Seminary
502-897-4573
[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]

From: Mark Diggory [EMAIL PROTECTED] On Behalf Of Diggory Mark [EMAIL PROTECTED]
Sent: Wednesday, October 01, 2008 2:24 PM
To: Jason Fowler
Cc: DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Question regarding handle.jar

Jason,

We definitely need such cases reported so we can assure the next round
of documentation has a fix in it, thanks.

Graham makes a good point about the handles jar and versioning.  Could
you point me to the latest version of the jar you are using and I'll
publish it into the maven repository, then one only has to alter the
dependencyManagement section of the dspace parent pom to retrieve the
newer version. Once I have it uploaded, I'll show you how to change
that in the pom.xml

-Mark


On Oct 1, 2008, at 11:07 AM, Jason Fowler wrote:

Mark,

Ok. I understand now. Thanks for clearing that up for me. I was
going by what the pdf version of the DSpace 1.5.1 Manual says on
page 28. It appears the Manual is incorrect.

Jason Fowler, CA
Archives and Special Collections Librarian
The Southern Baptist Theological Seminary
502-897-4573
[EMAIL PROTECTED]

From: Mark Diggory [EMAIL PROTECTED]
Sent: Tuesday, September 30, 2008 10:55 PM
To: DSpace Tech
Subject: Re: [Dspace-tech] Question regarding handle.jar

The current 1.5.1 deployment provides a reference to an existing
handle.jar which is retrieved from the maven repository and placed
into the installed dspace/lib and dspace/webapp/*/WEB-INF/lib when
DSpace is built.

The Maven build process works best when one does not try to alter the
jars provided in the lib directory.  I recommend reading up on the
Maven build process via the documentation provided and that found on
the maven.apache.org website.  There is no lib directory in the
1.5.1 source tree because it retrieves the dependencies from maven
directly rather than you downloading them.

If you do truly need to change this jar for a newer version, we had a
recent conversation on the list about installing jars if you need to
use something different than what we provide.

http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/
msg05386.html

I will ask why are you trying to alter the existing handle.jar? The
current one we publish into the maven repository (which your build
has downloaded) should be adequate for DSpace 1.5.1 and the current
Handle service. Are you encountering problems running the handle
service?

Cheers,
Mark

On Sep 30, 2008, at 1:31 PM, Jason Fowler wrote:

Hello all,

I am new to DSpace, and I am trying to get our installation up and
running. I appreciate your patience in advance.

I am trying to install the new handle.jar, and according to the
documentation, I need to replace the existing handle.jar in the
[dspace-source]/lib directory with the new handle.jar. I have
downloaded the new one, but I have a problem. I have no lib
directory in [dspace-source]. I have one in [dspace], but I do not
have one in [dspace-source]. Is the documentation correct, or is
there something wrong with my installation? I initially downloaded

Re: [Dspace-tech] plugins and custom classes in 1.5.x

2008-10-01 Thread Diggory Mark
Yes, this is a safe place to put such a customization if you want it  
to be part of more than one of your webapplications (if it is just one  
webapplication that will be using it,  just place it in that  
webapplications src/main/java directory).  You will do the following:

1.) Create an api directory
2.) create a api/pom.xml that has a artifactId, groupId and version  
that is the same as your current dspace version.
3.) make sure it is also dependent on org.dspace:dspace-api:version

4.) put you code in api/src/main/java
5.) add the api directory to the modules/pom.xml as both a module and  
a dependency

when you now build, the api will be included into the modules list for  
modules being built and the dependency will make sure it shows up in  
you WEB-INF/lib of your compiled webapplications.

Finally, if you want your project to show up in the [dspace.dir]/lib,  
you'll want to also add the dependency to the dspace/pom.xml

Don't hesitate to ask any questions if you get hung up on any of this.

Cheers,
Mark

On Oct 1, 2008, at 2:44 PM, Jason Stirnaman wrote:

 Follow up to my question:
 Is
 [dspace-source]/dspace/modules/api/src/main/java/org/dspace/ 
 authenticate
 the correct place to put a custom authentication method?

 ***
 Can anyone point to good documentation about where to place plugins  
 and
 custom class files in 1.5.x?  It's not clear from the 1.5.1 manual.
 Specifically, in what directory would I place a custom authentication
 method like the MIT-Special-Groups in 1.4.x?
 Thanks,
 Jason
 -- 

 Jason Stirnaman
 Digital Projects Librarian/School of Medicine Support
 A.R. Dykes Library, University of Kansas Medical Center
 [EMAIL PROTECTED]
 913-588-7319


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's  
 challenge
 Build the coolest Linux based applications with Moblin SDK  win  
 great prizes
 Grand prize is a trip for two to an Open Source event anywhere in  
 the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech