Re: [Dspace-tech] dspace 1.5 ant error(building the dspace binaries)
hello Mark diggory and all Iam back again,Sorry for taking you time. environment variables for the necessary software to run dspace 1.5 are( I have added these on .bashrc file) # java variable export JAVA_HOME=/usr/lib/jvm/java-6-sun export PATH=$PATH:$JAVA_HOME/bin # Maven variable M2_HOME=/usr/local/apache-maven/apache-maven-2.0.9 export M2=$M2_HOME/bin export PATH=$M2:$PATH # Ant variable export ANT_HOME=/usr/local/ant/ export PATH=$PATH:$ANT_HOME/bin:$JAVA_HOME/bin here is the out after running mvn install and mvn package as dspace unix user [EMAIL PROTECTED]:/dspace-source/dspace$ mvn install [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] DSpace Addon Modules [INFO] DSpace XML-UI (Manakin) :: Web Application [INFO] DSpace LNI :: Web Application [INFO] DSpace OAI :: Web Application [INFO] DSpace JSP-UI :: Web Application [INFO] DSpace SWORD :: Web Application [INFO] DSpace Assembly and Configuration [INFO] [INFO] Building DSpace Addon Modules [INFO]task-segment: [install] [INFO] Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom 2K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.jar 15K downloaded [INFO] [site:attach-descriptor] Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.6/maven-project-2.0.6.pom 2K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.6/maven-settings-2.0.6.pom 1K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.6/maven-model-2.0.6.pom 2K downloaded Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.pom 3K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.6/maven-profile-2.0.6.pom 1K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.6/maven-artifact-manager-2.0.6.pom 2K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.6/maven-repository-metadata-2.0.6.pom 1K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registry/2.0.6/maven-plugin-registry-2.0.6.pom 1K downloaded Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom 1K downloaded Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.7/plexus-components-1.1.7.pom 4K downloaded Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar 11K downloaded [INFO] [install:install] [INFO] Installing /dspace-source/dspace/modules/pom.xml to /home/dspace/.m2/repository/org/dspace/modules/1.5.0/modules-1.5.0.pom [INFO] [INFO] Building DSpace XML-UI (Manakin) :: Web Application [INFO]task-segment: [install] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [war:war] [INFO] Packaging webapp [INFO] Assembling webapp[xmlui] in [/dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0] [INFO] Processing war project [WARNING] Not copying webapp webResources[/dspace-source/dspace/modules/xmlui/src/main/webapp]: webapp directory[/dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0] does not exist! [INFO] Copy webapp webResources[/dspace-source/dspace/modules/xmlui/src/main/webapp] to[/dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to copy file for artifact[org.dspace:dspace-xmlui-api:jar:1.5.0:compile] Embedded error: /dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0/WEB-INF/lib/dspace-xmlui-api-1.5.0.jar (No such file or directory) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 48 seconds [INFO] Finished at: Mon Jun 02 11:11:08 EAT 2008 [INFO] Final Memory: 14M/26M [INFO]
Re: [Dspace-tech] Adding Fields to Create Profile
After one step forward, I've gone one step back... Instead of trying to update the database directly in an initEPerson method, metadata fields for an Eperson can be simply set using eperson.setMetadata(field,value). Well that is simple enough. But now, I find out I have another misconception. I thought the user registration in a Manakin interface is handled by the DSpace code. Turns out this must not be the case. After adding a test setMetadata call in PasswordAuthentication, the results work find when registered through the JSP interface. However, no additional data is added when registering from the manakin interface. Could someone point out where to attack this problem (adding additional fields/information to the eperson table on registration) in Manakin 1.1 . Thanks, Andy -Original Message- From: [EMAIL PROTECTED] [mailto:dspace-tech- [EMAIL PROTECTED] On Behalf Of Smith, Andrew J Sent: Thursday, May 29, 2008 1:45 PM To: 'Elliot Metsger'; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Adding Fields to Create Profile Elliot, Thanks for the help. However, I seem to be missing something. When in PasswordAuthentication.initEPerson, a run into two issues. First, a row has not yet been created in the eperson table to store the additional information. Second, the context object does not appear to be able to establish a dbconnection. As a simple test, I tried something like: public void initEPerson(Context context, HttpServletRequest request, EPerson eperson) throws SQLException { String query = SELECT * FROM eperson; TableRow tr = DatabaseManager.querySingle(context, query); tr.setColumn(phone,testing); DatabaseManager.update(context, tr); } I was expecting this to set the phone of the first user to testing. However, dspace crashed returned an internal system error with a NullPointerException that appears to come from the lack of a table name in the DatabaseManager.update, which requires a context.dbconnection call. Can you or anyone else see the errors of my way? Thanks, Andy -Original Message- From: [EMAIL PROTECTED] [mailto:dspace-tech- [EMAIL PROTECTED] On Behalf Of Elliot Metsger Sent: Sunday, May 25, 2008 1:26 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Adding Fields to Create Profile Andrew, One way to do this is to extend the PasswordAuthentication class, and override the initEPerson( Context, HttpServletRequest, EPerson ) method. Inside that method you can collect your additional information and store it where you want. We collect extra information and store it in the DSpace database - we added varchar columns to the eperson table to store the information, and then access the information later by using the EPerson.getMetadata( String ) method, where the string value corresponds to the name of the extra column: dspace= \d eperson; Table public.eperson Column|Type | Modifiers -+-+--- eperson_id | integer | not null email | character varying(64) | password| character varying(64) | ... jhu_jhedid | character varying(8)| jhu_affil | character varying(255) | jhu_primcampus | character varying(255) | jhu_deptno | character varying(255) | jhu_hopkinsid | character varying(8)| jhu_ssologin| character varying(5)| ... someEperson.getMetadata( jhu_deptno ) would return the user's department number. Hope this helps, Elliot Smith, Andrew J wrote: Hello, We need to collect additional information when a user creates a new account, other than name and phone number. I've looked through the how-to's and forums, but have come up empty on how to accomplish this. Could someone outline the steps or point me to information that I might have missed? This application is using Dspace 1.4.2/Manakin 1.1. Thanks. --- -- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- View this message in context: http://www.nabble.com/Adding-Fields-to- Create-Profile-tp17433032p17460179.html Sent from the DSpace - Tech mailing list archive at Nabble.com. - -- -- This SF.net email is sponsored by: Microsoft Defy all
Re: [Dspace-tech] dspace 1.5 ant error(building the dspace binaries)
Twaha, Please check the file permissions in the following directory by running the following command as the same user account you are running mvn from On [EMAIL PROTECTED] touch /dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0 if you get an error, then your file permissions are not correct and you cannot create new files in the directory structure. You will need to look into executing chmod ug+w across the /dspace-source directory structure. -Mark On Jun 2, 2008, at 1:57 AM, Twaha Daudi wrote: hello Mark diggory and all Iam back again,Sorry for taking you time. environment variables for the necessary software to run dspace 1.5 are( I have added these on .bashrc file) # java variable export JAVA_HOME=/usr/lib/jvm/java-6-sun export PATH=$PATH:$JAVA_HOME/bin # Maven variable M2_HOME=/usr/local/apache-maven/apache-maven-2.0.9 export M2=$M2_HOME/bin export PATH=$M2:$PATH # Ant variable export ANT_HOME=/usr/local/ant/ export PATH=$PATH:$ANT_HOME/bin:$JAVA_HOME/bin here is the out after running mvn install and mvn package as dspace unix user [EMAIL PROTECTED]:/dspace-source/dspace$ mvn install [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] DSpace Addon Modules [INFO] DSpace XML-UI (Manakin) :: Web Application [INFO] DSpace LNI :: Web Application [INFO] DSpace OAI :: Web Application [INFO] DSpace JSP-UI :: Web Application [INFO] DSpace SWORD :: Web Application [INFO] DSpace Assembly and Configuration [INFO] -- -- [INFO] Building DSpace Addon Modules [INFO]task-segment: [install] [INFO] -- -- Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/ maven-install-plugin/2.2/maven-install-plugin-2.2.pom 2K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/ maven-install-plugin/2.2/maven-install-plugin-2.2.jar 15K downloaded [INFO] [site:attach-descriptor] Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven- project/2.0.6/maven-project-2.0.6.pom 2K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven- settings/2.0.6/maven-settings-2.0.6.pom 1K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven- model/2.0.6/maven-model-2.0.6.pom 2K downloaded Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/ plexus-container-default/1.0-alpha-9-stable-1/plexus-container- default-1.0-alpha-9-stable-1.pom 3K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven- profile/2.0.6/maven-profile-2.0.6.pom 1K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven- artifact-manager/2.0.6/maven-artifact-manager-2.0.6.pom 2K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven- repository-metadata/2.0.6/maven-repository-metadata-2.0.6.pom 1K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven- plugin-registry/2.0.6/maven-plugin-registry-2.0.6.pom 1K downloaded Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/ plexus-digest/1.0/plexus-digest-1.0.pom 1K downloaded Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/ plexus-components/1.1.7/plexus-components-1.1.7.pom 4K downloaded Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/ plexus-digest/1.0/plexus-digest-1.0.jar 11K downloaded [INFO] [install:install] [INFO] Installing /dspace-source/dspace/modules/pom.xml to /home/ dspace/.m2/repository/org/dspace/modules/1.5.0/modules-1.5.0.pom [INFO] -- -- [INFO] Building DSpace XML-UI (Manakin) :: Web Application [INFO]task-segment: [install] [INFO] -- -- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [war:war] [INFO] Packaging webapp [INFO] Assembling webapp[xmlui] in [/dspace-source/dspace/modules/ xmlui/target/xmlui-1.5.0] [INFO] Processing war project [WARNING] Not copying webapp webResources[/dspace-source/dspace/ modules/xmlui/src/main/webapp]: webapp directory[/dspace-source/ dspace/modules/xmlui/target/xmlui-1.5.0] does not exist! [INFO] Copy webapp webResources[/dspace-source/dspace/modules/xmlui/ src/main/webapp] to[/dspace-source/dspace/modules/xmlui/target/ xmlui-1.5.0] [INFO] -- -- [ERROR] BUILD ERROR [INFO] -- -- [INFO] Failed to copy file for
[Dspace-tech] Can't log into Admin
Hello again. I've got a newly-installed DSpace 1.4.2, and I can't log in to the Admin section. I've installed it locally, so I'm trying to go to the following address, which I think is where Admin should live: http://localhost:8080/dspace-admin However, all I'm getting is a 404 error, with Tomcat saying The requested resource (/dspace-admin) is not available. What've I done wrong this time? And is there a Getting your DSpace up and running for dummies I could read somewhere? Many thanks, Paul Jordan Digital Archivist Occidental College - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] umlaute in dspace xmlui 1.5
Hi folks, at first i want to thank you for the great job you did with dspace. i like it more everyday i am working with and we have plans to use it at our institute. but i have a little question concerning the german special characters (such as umlaute üöä). it works fine in jspui but doesnt show up correct in xmlui. must be a problem with the encoding, but i have set tomcat to utf-8 as recommended. what was my mistake? i am using dspace 1.5.0 release and tomcat 6. it also appears wrong encoded in the database. thanks for your help michael -- Dipl.- Ing. Michael Steck FfE - Forschungsstelle für Energiewirtschaft e.V. Am Blütenanger 71 80995 München Tel.: 089/158121-22 Fax: 089/158121-10 [EMAIL PROTECTED] www.ffe.de -- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] LNI/WebDAV : GET returns 501
Larry - Thanks for the helpful response. I've still been unable to do a lookup or a get, but I'm concentrating right now on walking through the hierarchy to learn what turns up and what kind of properties I'll find. When I get comfortable with that, I'll re-read your message and try again. - Rick -Original Message- From: Larry Stone [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2008 4:54 PM To: Rick Runyan Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] LNI/WebDAV : GET returns 501 GET only works on Items and Bitstreams, so if you get the resource path to a Bitstream from PROPFIND (depth=1) on an Item, then you ought to be able to do a GET on it and receive its contents. This path looks like you've traversed some communities and collections: http://[server]:8080/lni/dav/dso_123456789%241/dso_123456789%242/dso_123 456789%243 You can also get a resource URL by doing a lookup on a Handle, e.g. GET on http://[server]:8080/lni/dav/lookup/handle/123456789/42 returns a Location: header with the URL. I don't think it works on Bitstreams, though. Anyway, if you do a PROPFIND on that resource you're trying to GET, look at the value for type (in the http://www.dspace.org/xmlns/dspace; namespace). It'll be an empty element for the DSpace object type, either collection/, community/, item/, bitstream/ Typically, the Bitstream resources have a path ending in /bitstream_{n}.{suffix}, e.g. .../bitstream_3.pdf So, I think the problem here is that you've got a resource for which GET isn't implemented. For some sketchy doc which is unfortunately the best available, see http://web.mit.edu/lcs/www/lni/ -- Larry I've finally figured out how to hook up a .NET app to LNI and am running some exploratory tests, using straight HTTP/DAV rather than SOAP. =20 Alas, GET doesn't seem to work. I've done a propfind call to get URIs for the bitstreams in a collection, but when I try to GET one of them, I get =20 System.ApplicationException: Error trying to GET http://[server]:8080/lni/dav/dso_123456789%241/dso_123456789%242/dso_123 456789%243 ---=20 System.Net.WebException: The remote server returned an error: (501) Not Implemented. at System.Net.HttpWebRequest.GetResponse() =20 I am unfamiliar with Axis web services, so I'm having to learn everything as I go, which slows me down a lot. This entry in server-config.wsdd listing allowedMethods looks suspicious to me service name=3DDSpaceLNI provider=3Djava:RPC parameter name=3DallowedMethods value=3Dpropfind proppatch = lookup copy/ parameter name=3DclassName value=3Dorg.dspace.app.dav.LNISoapServlet/ /service But the web.xml file has a different class (org.dspace.app.dav.DAVServlet) set up to respond to /dav URIs, so I suspect that's not my problem. =20 - Rick =20 =20 --_=_NextPart_001_01C8C190.AFE31B16 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: quoted-printable html xmlns:o=3Durn:schemas-microsoft-com:office:office = xmlns:w=3Durn:schemas-microsoft-com:office:word = xmlns=3Dhttp://www.w3.org/TR/REC-html40; head meta http-equiv=3DContent-Type content=3Dtext/html; = charset=3Dus-ascii meta name=3DGenerator content=3DMicrosoft Word 11 (filtered medium) style !-- /* Font Definitions */ @font-face {font-family:Californian FB; panose-1:2 7 4 3 6 8 11 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:Times New Roman;} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Californian FB; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} -- /style /head body lang=3DEN-US link=3Dblue vlink=3Dpurple div class=3DSection1 p class=3DMsoNormalfont size=3D2 face=3DCalifornian FBspan = style=3D'font-size: 11.0pt;font-family:Californian FB'I#8217;ve finally figured out how = to hook up a .NET app to LNI and am running some exploratory tests, using = straight HTTP/DAV rather than SOAP. nbsp;o:p/o:p/span/font/p p class=3DMsoNormalfont size=3D2 face=3DCalifornian FBspan = style=3D'font-size: 11.0pt;font-family:Californian FB'Alas, GET doesn#8217;t seem to work.nbsp; I#8217;ve done a propfind call to get URIs for the = bitstreams in a collection, but when I try to GET one of them, I = geto:p/o:p/span/font/p p class=3DMsoNormalfont size=3D2 face=3DCalifornian FBspan = style=3D'font-size: 11.0pt;font-family:Californian FB'o:pnbsp;/o:p/span/font/p p class=3DMsoNormalfont size=3D2
Re: [Dspace-tech] DSpace 1.5 and Shibboleth
Greetings, Does anyone know what happened to the link below? https://mams.melcoe.mq.edu.au/zope/mams/pubs/Installation/dspace15 The document appears to be missing. Is there an alternate way to get the installation instructions for DSpace + Shibb? I'm assuming that this patch works and that there isn't a problem with the instructions themselves. BTW, is anyone successfully using Shibb with the new DSpace? //Joerg Nikolas Lam wrote: On Mon, 2008-05-05 at 11:15 +0200, Jochen Lienhard wrote: Hello, we are testing DSpace 1.5 and I look now for a description how to integrate Shibboleth. I only find the doc for 1.4, but it seems that does not work with 1.5. Is there a new description or patch for DSpace 1.5 available? Greetings Jochen Hi Jochen, This might be too late for you, but in case it's not or if other people are still looking, https://mams.melcoe.mq.edu.au/zope/mams/pubs/Installation/dspace15/ Cheers, Nik - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Joerg Messer Programmer/Analyst University of British Columbia Library 2206 East Mall, Vancouver, BC, Canada, V6T 1Z3 t. 1.604.822.5091 f. 1.604.822.3201 e. [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Best Practices for Journal Articles
On Mon, Jun 2, 2008 at 3:58 PM, Thomas A McGee [EMAIL PROTECTED] wrote: What's the best methodology for archiving individual articles within an issue of a periodical? I don't think there's one answer to this. Partly it depends on the journal's production workflow and what they're willing to give you. I'm not a big fan of archiving whole issues in a single item, but sometimes that's how I get 'em. Such is life. We'd like to have the metadata be more closely tied to an individual author's work, as well as let users more easily find the section they need. But we'd also like to keep the articles tied together as part of a master entry which represents the entire issue. We're looking at this where we are too. I suspect the way we're going to go is to write a small Manakin Aspect that groups items based on dumb string-matching in a specific Dublin Core field (probably relation.ispartof). There's almost certainly a better way, but we think this should be reasonably feasible and effective. I don't have an ETA, but if you're interested, ping me in late July or early August and ask if we have code yet. Dorothea -- Dorothea Salo [EMAIL PROTECTED] Digital Repository Librarian AIM: mindsatuw University of Wisconsin Rm 218, Memorial Library (608) 262-5493 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Best Practices for Journal Articles
What's the best methodology for archiving individual articles within an issue of a periodical? We'd like to have the metadata be more closely tied to an individual author's work, as well as let users more easily find the section they need. But we'd also like to keep the articles tied together as part of a master entry which represents the entire issue. _ Tom McGee Seton Hall University TLTC 973 761 9000 x5021- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] umlaute in dspace xmlui 1.5
We have seen the same problem in the 1.5 xmlui with French text, e.g. ê é garçon after saving displays as ê é garçon Randy Stern Manager of Systems Development Harvard University Library Office for Information Systems 90 Mount Auburn Street Cambridge, MA 02138 Tel. +1 (617) 495-3724 Email [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace 1.5 and Shibboleth
Sorry, the machine was experiencing some issues (actually, it was zope). Anyway, the instruction is up and running again. Mark, we'll convert the patch to svn diff soon and upload the patch. Bruc -Original Message- From: [EMAIL PROTECTED] [mailto:dspace-tech- [EMAIL PROTECTED] On Behalf Of Joerg Messer Sent: Tuesday, 3 June 2008 06:49 AM To: Nikolas Lam Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace 1.5 and Shibboleth Greetings, Does anyone know what happened to the link below? https://mams.melcoe.mq.edu.au/zope/mams/pubs/Installation/dspace15 The document appears to be missing. Is there an alternate way to get the installation instructions for DSpace + Shibb? I'm assuming that this patch works and that there isn't a problem with the instructions themselves. BTW, is anyone successfully using Shibb with the new DSpace? //Joerg Nikolas Lam wrote: On Mon, 2008-05-05 at 11:15 +0200, Jochen Lienhard wrote: Hello, we are testing DSpace 1.5 and I look now for a description how to integrate Shibboleth. I only find the doc for 1.4, but it seems that does not work with 1.5. Is there a new description or patch for DSpace 1.5 available? Greetings Jochen Hi Jochen, This might be too late for you, but in case it's not or if other people are still looking, https://mams.melcoe.mq.edu.au/zope/mams/pubs/Installation/dspace15/ Cheers, Nik -- --- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Joerg Messer Programmer/Analyst University of British Columbia Library 2206 East Mall, Vancouver, BC, Canada, V6T 1Z3 t. 1.604.822.5091 f. 1.604.822.3201 e. [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech smime.p7s Description: S/MIME cryptographic signature - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Best Practices for Journal Articles
On Mon, 2008-06-02 at 16:04 -0500, Dorothea Salo wrote: On Mon, Jun 2, 2008 at 3:58 PM, Thomas A McGee [EMAIL PROTECTED] wrote: What's the best methodology for archiving individual articles within an issue of a periodical? I don't think there's one answer to this. Partly it depends on the journal's production workflow and what they're willing to give you. I'm not a big fan of archiving whole issues in a single item, but sometimes that's how I get 'em. Such is life. We'd like to have the metadata be more closely tied to an individual author's work, as well as let users more easily find the section they need. But we'd also like to keep the articles tied together as part of a master entry which represents the entire issue. We're looking at this where we are too. I suspect the way we're going to go is to write a small Manakin Aspect that groups items based on dumb string-matching in a specific Dublin Core field (probably relation.ispartof). There's almost certainly a better way, but we think this should be reasonably feasible and effective. I think DC.Relation.isPartOf (and the inverse relation DC.Relation.hasPart) is a good idea, but why would you use dumb string-matching? Why not use the (handle) URI of the items? e.g. the DSpace item representing the issue would have dc.relation.haspart fields each equal to the handle of an article, and each article could have an ispartof field equal to the handle of the issue record. Con -- Conal Tuohy New Zealand Electronic Text Centre www.nzetc.org - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] dspace 1.5 ant error(building the dspace binaries)
Mark, Thank you for the help.I got it working. Thank you again Twaha - Original Message From: Mark Diggory [EMAIL PROTECTED] To: Twaha Daudi [EMAIL PROTECTED] Cc: dspace-tech@lists.sourceforge.net Sent: Monday, June 2, 2008 6:49:49 PM Subject: Re: [Dspace-tech] dspace 1.5 ant error(building the dspace binaries) Twaha, Please check the file permissions in the following directory by running the following command as the same user account you are running mvn from On [EMAIL PROTECTED] touch /dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0 if you get an error, then your file permissions are not correct and you cannot create new files in the directory structure. You will need to look into executing chmod ug+w across the /dspace-source directory structure. -Mark On Jun 2, 2008, at 1:57 AM, Twaha Daudi wrote: hello Mark diggory and all Iam back again,Sorry for taking you time. environment variables for the necessary software to run dspace 1.5 are( I have added these on .bashrc file) # java variable export JAVA_HOME=/usr/lib/jvm/java-6-sun export PATH=$PATH:$JAVA_HOME/bin # Maven variable M2_HOME=/usr/local/apache-maven/apache-maven-2.0.9 export M2=$M2_HOME/bin export PATH=$M2:$PATH # Ant variable export ANT_HOME=/usr/local/ant/ export PATH=$PATH:$ANT_HOME/bin:$JAVA_HOME/bin here is the out after running mvn install and mvn package as dspace unix user [EMAIL PROTECTED]:/dspace-source/dspace$ mvn install [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] DSpace Addon Modules [INFO] DSpace XML-UI (Manakin) :: Web Application [INFO] DSpace LNI :: Web Application [INFO] DSpace OAI :: Web Application [INFO] DSpace JSP-UI :: Web Application [INFO] DSpace SWORD :: Web Application [INFO] DSpace Assembly and Configuration [INFO] [INFO] Building DSpace Addon Modules [INFO]task-segment: [install] [INFO] Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom 2K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.jar 15K downloaded [INFO] [site:attach-descriptor] Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.6/maven-project-2.0.6.pom 2K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.6/maven-settings-2.0.6.pom 1K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.6/maven-model-2.0.6.pom 2K downloaded Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.pom 3K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.6/maven-profile-2.0.6.pom 1K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.6/maven-artifact-manager-2.0.6.pom 2K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.6/maven-repository-metadata-2.0.6.pom 1K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registry/2.0.6/maven-plugin-registry-2.0.6.pom 1K downloaded Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom 1K downloaded Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.7/plexus-components-1.1.7.pom 4K downloaded Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar 11K downloaded [INFO] [install:install] [INFO] Installing /dspace-source/dspace/modules/pom.xml to /home/dspace/.m2/repository/org/dspace/modules/1.5.0/modules-1.5.0.pom [INFO] [INFO] Building DSpace XML-UI (Manakin) :: Web Application [INFO]task-segment: [install] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [war:war] [INFO] Packaging webapp [INFO] Assembling webapp[xmlui] in [/dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0] [INFO] Processing war project [WARNING] Not copying webapp webResources[/dspace-source/dspace/modules/xmlui/src/main/webapp]: webapp directory[/dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0] does not exist! [INFO] Copy webapp webResources[/dspace-source/dspace/modules/xmlui/src/main/webapp]
Re: [Dspace-tech] Best Practices for Journal Articles
On Jun 2, 2008, at 8:42 PM, Conal Tuohy wrote: On Mon, 2008-06-02 at 16:04 -0500, Dorothea Salo wrote: On Mon, Jun 2, 2008 at 3:58 PM, Thomas A McGee [EMAIL PROTECTED] wrote: What's the best methodology for archiving individual articles within an issue of a periodical? I don't think there's one answer to this. Partly it depends on the journal's production workflow and what they're willing to give you. I'm not a big fan of archiving whole issues in a single item, but sometimes that's how I get 'em. Such is life. We'd like to have the metadata be more closely tied to an individual author's work, as well as let users more easily find the section they need. But we'd also like to keep the articles tied together as part of a master entry which represents the entire issue. We're looking at this where we are too. I suspect the way we're going to go is to write a small Manakin Aspect that groups items based on dumb string-matching in a specific Dublin Core field (probably relation.ispartof). There's almost certainly a better way, but we think this should be reasonably feasible and effective. I think DC.Relation.isPartOf (and the inverse relation DC.Relation.hasPart) is a good idea, but why would you use dumb string-matching? Why not use the (handle) URI of the items? e.g. the DSpace item representing the issue would have dc.relation.haspart fields each equal to the handle of an article, and each article could have an ispartof field equal to the handle of the issue record. Con I'm currently working on a strategy to utilize the bibliontology for adding content types to dspace Items (and eventually Colleciton and Bitstreams as well). http://www.bibliontology.com/ The idea would to be able to describe the Bitstreams in an Item or the Items in a collection with bibo terms (classes) such as to capture the type of the Item in a standard way. This includes Articles and Issues. http://wiki.bibliontology.com/index.php/Examples#Article You'll notice the example reuses dc:isPartOf as a means to reference the Journal that Article is part of. (But should be dcterms:isPartOf). I'll excuse the error as this ontology is in a development stage. Introducing a schema with a bibo namespace and terms might be an initial stepping stone to reaching the goal of expressing whole RDF/ OWL Ontologies in DSpace metadata and more specifically, being able to have a clean representation of types. One of my hopes in the future is to actually reuse the RDF representations of dc, dcterms, rdf, rdfs, and bibo as the metadata registry files and see the whole registry be upgraded to be true RDF Schema. Ultimately, this discussion exemplifies some of the requirements we should be documenting and gathering for the 2.0 Data Model work later this year. -Mark ~ Mark R. Diggory - DSpace Developer and Systems Manager MIT Libraries, Systems and Technology Services Massachusetts Institute of Technology Home Page: http://purl.org/net/mdiggory/homepage - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] LNI/WebDAV : GET returns 501
You can see how the lookup feature works by using a simple HTTP client like the GNU wget application to do a GET, and reading its diagnostic output.. for example, this does a lookup of handle 123456789/1 using HTTP Basic authentication to login (assuming you have username/password login on your server): wget [EMAIL PROTECTED] --http-password=PASSWORD -S http://MYDSPACE.mit.edu:8080/lni/dav/lookup/handle/123456789/1 Now, watch the headers -- the request as a whole will fail because wget is aggressive about responding to the HTTP 302 status with another GET on the real resource, but that GET probably isn't allowed or is missing some option. Anyway, just look for the Location: header in the first response: Connecting to rotarran.mit.edu|18.42.4.43|:8080... connected. HTTP request sent, awaiting response... HTTP/1.1 302 These are not the droids you are looking for. Set-Cookie: DSpaceDavAuth=1212468843785!1!18.42.4.8!ac52bf780d4bb6eb486b810a7d 5c4f24; Path=/lni Location: http://rotarran.mit.edu:8080/lni/dav/dso_123456789%241 ^^ Content-Length: 0 Date: Tue, 03 Jun 2008 04:54:03 GMT Server: Apache-Coyote/1.1 Connection: Keep-Alive {Here's the second try, which fails.. ignore it, we've got what we need.} Location: http://rotarran.mit.edu:8080/lni/dav/dso_123456789%241 [following] --00:54:03-- http://rotarran.mit.edu:8080/lni/dav/dso_123456789%241 = `dso_123456789$1' Reusing existing connection to rotarran.mit.edu:8080. HTTP request sent, awaiting response... HTTP/1.1 501 GET method not implemented for Community. Content-Type: text/html;charset=utf-8 Content-Length: 1112 Date: Tue, 03 Jun 2008 04:54:03 GMT Server: Apache-Coyote/1.1 Connection: close 00:54:03 ERROR 501: GET method not implemented for Community.. This ought to show how to implement what you need with Apache HTTPClient or something like that. You're not using Perl, are you? The WebDAV library on CPAN was horribly broken last I looked, not really usable for this at all. Also, note that you don't *need* to go through the hierarchy to get at any Handle in the archive. If you already have the Handle of the resource you're looking for, just do a lookup to get its URL and use that. Traversing the hierarchy is just for exploring, and because it's the model of HTTP and WebDAV. -- Larry Thanks for the helpful response. I've still been unable to do a lookup or a get, but I'm concentrating right now on walking through the hierarchy to learn what turns up and what kind of properties I'll find. When I get comfortable with that, I'll re-read your message and try again. - Rick - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech