Re: [Dspace-tech] Full metadata record - hide a field
Hi Gary, the best would be to enhance the metadata registry and enable the marking of and element or a complete schema as internal/hidden similar to the bitstream format registry. Use this for the rendering of the full display and display it only to administrators. Thus you can manage internal metadata way easier. There might be more metadata for administrative/preservative/privacy reason to be hidden from general view. Sunny greetings Claudia Gary Browne schrieb: Hi Bram Yes, I did consider that option too. Bit of a pain as it's really only for one field - the email address. Thanks for your reply. Regards Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bram Luyten Sent: Wednesday, 27 August 2008 9:57 PM To: Gary Browne Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Full metadata record - hide a field Hello Gary, not a direct answer to your question, but this might be relevant in your context: in a few projects, we hid the show full metadata record button. This has the advantage that all fields, not included in the simple view, are hidden. But of course, it has the drawback that you can't offer people both simple and full view. Are there a lot of fields that you would like to offer the user in full metadataview, that are too much to include in the simple view ? best regards, Bram Luyten On Wed, Aug 27, 2008 at 5:46 AM, Gary Browne [EMAIL PROTECTED] wrote: Hi all Is there any way to hide a field in the full metadata record (I know, I know - then it won't be a FULL metadata record - but, hey, I just get given specs and have to implement them). I know it can be done by setting hidden=true in ItemTag.java for the particular field, but I was hoping to avoid doing such a daggy customisation - it's just the sort of annoying one-liner that will get missed in the next upgrade. Anywhere in dspace.cfg I can implement this? Thanks Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 - 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 -- @mire NV Romeinse Straat 18 3001 Heverlee Belgium +32 2 888 29 56 http://www.atmire.com - Institutional Repository Solutions http://www.togather.eu - Before getting together, get [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 - 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
[Dspace-tech] LDAPAuthentication patch to consider
Hello! I've put together a set of patches to the LDAPAuthentication code to get it working against Active Directory at Auburn University, support implicit-group member-ids in dspace.cfg, and add a JUnit regression test. I think the changes are backward compatable and generic, but I've only tested the code in my environment. I hope that we can check this patch into the dspace repository. An overview and svn diff follow, and a zip file with the modified files is available here: http://erwg.lib.auburn.edu/dspace-ldap_20080828.zip Please take a look, and let me know what you think. Cheers, Reuben --- Changes under dspace-api org.dspace.authentication. *. Moved the LDAPAuthentication.SpeakerToLDAP nested class out to its own non-nested interface with a DefaultSpeakerToLDAP implementation. *. Refactored SpeakerToLDAP#ldapAuthenticate(...) to return a DataFromLDAP POJO data object rather than set object member variables. *. Implemented SpeakerToLDAPCase JUnit test-case and PackageTestSuite classes to support simple regression tests against SpeakerToLDAP implementations. Modified pom.xml so that 'mvn test' runs with a verbose log4j setting. *. Modified the way SpeakToLDAP handles the ldap.object_context dspace.cfg configuration property so that if the ldap.object_context matches 'WINDOWS_DOMAIN:DOMAIN_NAME', then LDAP attempts to bind with 'DOMAIN_NAME\NETID' rather than 'cn=NETID,ldap.object_context' . This change allows us to configure LDAP to bind with Active Directory out of the box. *. Modifed the LDAP search for user-info to take a SearchControls parameter that specifies a recursive tree-search under the ldap.search_context tree for a single user-object result. Once again - this allows LDAPAuthenticate to work with an Active Directory tree that has user objects organized into different folders under a tree. *. Modified LDAPAuthentication.getSpecialGroups to access the ldap.dspace.autogroup dspace.cfg configuration property to get the group-ids that an LDAP-authenticated user should be an implicit member of. This makes it easy to configure a system where every user that can authenticate can also submit material to some collections. *. Changed some of the if/else nesting in LDAPAuthentication.authenticate so that instead of having something like if () { ... return bla; } else { we have if () { ... return bla; } ... // no else and instead of } else { if () { return goo } } we just have } else if () { just to make the control flow a little easier to look at. -- $ svn diff pom.xml src/test src/main/java/org/dspace/authenticate /tmp/bla Index: pom.xml === --- pom.xml (revision 2942) +++ pom.xml (working copy) @@ -61,6 +61,7 @@ urlhttp://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_5_x/dspace/url /scm + !-- Runtime and Compile Time dependencies for DSpace. -- @@ -188,6 +189,23 @@ groupIdcom.ibm.icu/groupId artifactIdicu4j/artifactId /dependency +dependency + groupIdjunit/groupId + artifactIdjunit/artifactId + version3.8.1/version + scopetest/scope +/dependency /dependencies -/project \ No newline at end of file +build +testResources + testResource +directorysrc/test/resources/directory +includes + includelog4j.properties/include +/includes + /testResource +/testResources + /build + +/project Index: src/test/java/org/dspace/authenticate/SpeakerToLDAPCase.java === --- src/test/java/org/dspace/authenticate/SpeakerToLDAPCase.java(revision 0) +++ src/test/java/org/dspace/authenticate/SpeakerToLDAPCase.java(revision 0) @@ -0,0 +1,56 @@ +package org.dspace.authenticate; + + +import junit.framework.TestCase; + +import org.apache.log4j.Logger; + +/** + * Generic test runner for SpeakerToLDAP implementations. + */ +public class SpeakerToLDAPCase extends TestCase { +private static final Logger olog = Logger.getLogger( SpeakerToLDAPCase.class ); + +private SpeakerToLDAP oldap; +private String os_netid; +private String os_password; + + +/** + * Inject the test dependencies - initializes test properties + * + * @param s_name of test - pass to super + * @param ldap instance to authenticate agains + * @param s_netid user-id to authenticate as + *
[Dspace-tech] DSPACE 1.5 Build ERROR cannot find symbol
I am getting a BUILD FAILURE message when I try to build DSPACE from the Source Release distribution tar file (the default release tar file works fine). I am running mvn -Ddb.name=oracle package And I am getting the following errors [INFO] Building DSpace Kernel :: API and Implementation [INFO]task-segment: [package] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 228 source files to /export/home/dspace/dspace-1.5.0-src-release/dspace-api/target/classes [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /export/home/dspace/dspace-1.5.0-src-release/dspace-api/src/main/java/org/dsp ace/content/Bitstream.java:[56,35] cannot find symbol symbol : class BitstreamStorageManager location: package org.dspace.storage.bitstore /export/home/dspace/dspace-1.5.0-src-release/dspace-api/src/main/java/org/dsp ace/content/crosswalk/QDCCrosswalk.java:[127,15] cannot find symbol symbol: class DisseminationCrosswalk implements DisseminationCrosswalk, IngestionCrosswalk . Etc It looks like MAVIN is not setting the classpath correctly. Do I need to set the CLASSPATH ? - 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] DSPACE 1.5 Build ERROR cannot find symbol
Is this the 1.5.1-beta we are testing? On Aug 28, 2008, at 9:45 AM, Bernie Englefield wrote: I am getting a BUILD FAILURE message when I try to build DSPACE from the Source Release distribution tar file (the default release tar file works fine). I am running mvn -Ddb.name=oracle package And I am getting the following errors [INFO] Building DSpace Kernel :: API and Implementation [INFO]task-segment: [package] [INFO] -- -- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 228 source files to /export/home/dspace/ dspace-1.5.0-src-release/dspace-api/target/classes [INFO] -- -- [ERROR] BUILD FAILURE [INFO] -- -- [INFO] Compilation failure /export/home/dspace/dspace-1.5.0-src-release/dspace-api/src/main/ java/org/dspace/content/Bitstream.java:[56,35] cannot find symbol symbol : class BitstreamStorageManager location: package org.dspace.storage.bitstore /export/home/dspace/dspace-1.5.0-src-release/dspace-api/src/main/ java/org/dspace/content/crosswalk/QDCCrosswalk.java:[127,15] cannot find symbol symbol: class DisseminationCrosswalk implements DisseminationCrosswalk, IngestionCrosswalk ….. Etc It looks like MAVIN is not setting the classpath correctly. Do I need to set the CLASSPATH ? -- --- 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
Re: [Dspace-tech] DSPACE 1.5 Build ERROR cannot find symbol
No it is the 1.5.0 release, I have tried it with the beta release and I get the same problem. -Original Message- From: Mark Diggory [mailto:[EMAIL PROTECTED] Sent: 28 August 2008 17:51 To: Bernie Englefield Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSPACE 1.5 Build ERROR cannot find symbol Is this the 1.5.1-beta we are testing? On Aug 28, 2008, at 9:45 AM, Bernie Englefield wrote: I am getting a BUILD FAILURE message when I try to build DSPACE from the Source Release distribution tar file (the default release tar file works fine). I am running mvn -Ddb.name=oracle package And I am getting the following errors [INFO] Building DSpace Kernel :: API and Implementation [INFO]task-segment: [package] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 228 source files to /export/home/dspace/dspace-1.5.0-src-release/dspace-api/target/classes [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /export/home/dspace/dspace-1.5.0-src-release/dspace-api/src/main/java/org/dsp ace/content/Bitstream.java:[56,35] cannot find symbol symbol : class BitstreamStorageManager location: package org.dspace.storage.bitstore /export/home/dspace/dspace-1.5.0-src-release/dspace-api/src/main/java/org/dsp ace/content/crosswalk/QDCCrosswalk.java:[127,15] cannot find symbol symbol: class DisseminationCrosswalk implements DisseminationCrosswalk, IngestionCrosswalk . Etc It looks like MAVIN is not setting the classpath correctly. Do I need to set the CLASSPATH ? - 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
[Dspace-tech] sfx/openurl in version 1.4.1
Dorothea, I found your blog post from way back: http://cavlec.yarinareth.net/2006/09/29/metadata-mismatches/ Do you still have your crosswalk/COinS code for this? Does 1.5.x and/or Manakin address this issue? Thanks, Jason In version 1.4.1, the SFXlinkTag class creates only a title key in the OpenURL, not an atitle. So, if we have an item of type Article in our repository, Title is used as the value of title in the OpenURL. The link resolver (correctly) interprets this as a Journal or Book title, not an Article title. Do I have to customize the class in order to change this? Was this the intended behavior? e.g., http://www.kumc.edu/archie/handle/2271/305 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
Re: [Dspace-tech] sfx/openurl in version 1.4.1
On Thu, Aug 28, 2008 at 2:13 PM, Jason Stirnaman [EMAIL PROTECTED] wrote: Dorothea, I found your blog post from way back: http://cavlec.yarinareth.net/2006/09/29/metadata-mismatches/ Do you still have your crosswalk/COinS code for this? Does 1.5.x and/or Manakin address this issue? I do still have my code, but it is a) incomplete, and b) not tested against 1.5.x yet (should be Real Soon Now). I'll email you what I have under separate cover. 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 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
[Dspace-tech] Trying out mankin
I deployed the xmlui and when I try to go to the deployed virtual host. I'm getting this error: == type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: DSpace has failed to initialize, during stage 3. Error while attempting to read the XML UI configuration file (Path: /l1/dspace/repository/dev-blancoj/webapps/xmlui//WEB-INF/xmlui.xconf or '/l1/dspace/repository/dev-blancoj/config/xmlui.xconf'). This has likely occurred because either the file does not exist, or it's permissions are set incorrectly, or the path to the configuration file is incorrect. The XML UI configuration file should be named xmlui.xconf and located inside the standard DSpace configuration directory. I looked in /l1/dspace/repository/dev-blancoj/webapps/xmlui//WEB-INF/xmlui.xconf and the file is not there. Do I need to do anyting special so that it will be placed there from my repository? Thanks! Jose - 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
[Dspace-tech] Registration form
How can I change the registration form, to something a little more elaborated? Is there any problem doing that? I need that the system gather this data: - name - e-mail - password - repeat password Where and how do I do it? txs a lot -- Espada con la cual he vivido, espada con la cual ahora muero, sirve al bien y la justicia una ultima vez. Busca un ultimo corazón lleno de maldad, una ultima vida llena de dolor. Corta bien solo una vez mas, vieja amiga, y entonces nos despediremos... - 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
[Dspace-tech] War Files
Hello, Someone knows how to rename WAR files that are generated in the compilation of the dspace 1.4.2. I need two dspace in my Tomcat server. -- Saludos cordiales, Víctor Izaguirre Castro - 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] War Files
You will want to build two separate dspace instances with separate configurations, you can either choose to deploy the wars by changing their names upon placing them into your webapps directory, or you may want to configure tomcat/apache to support your changes in a separate vhost and Host configuration. Heres some interesting details on hosting multiple dspace instances we have been collecting. http://wiki.dspace.org/index.php/MultipleDspaceOneServer Cheers, Mark On Aug 28, 2008, at 3:22 PM, Víctor Izaguirre wrote: Hello, Someone knows how to rename WAR files that are generated in the compilation of the dspace 1.4.2. I need two dspace in my Tomcat server. -- Saludos cordiales, Víctor Izaguirre Castro -- --- 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